[FFmpeg-devel] [PATCHv2][RFC] mov: Write colr atom by default

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Feb 24 19:23:55 CET 2015


On 2/24/2015 5:46 PM, Robert Krüger wrote:
>> is this correct for all mov, mp4, 3gp, psp, ... ?
>> or should it be writteb by default only for some of them ?

Good point, but this raises the whole ugly question of the least crappy
way of setting a default for only one format in the monster that is
movenc.c, and if that's even a good idea. It's non-obvious behavior to
have different movflag defaults for different "formats", IMO.

Actually, I'm wondering why we allow it to be written for other formats
at all in the first place?

> of it in the two spec documents I found, so I guess limiting this to mov
> seems at least the safer choice until someone comes up with proof that it
> is used there.

https://github.com/l-smash/l-smash/blob/6682f497d5aa48efb3961d7d05c9d0d0c229b77d/core/box.h#L503-515

It looks like those are quoted from the JPEG XR sequence spec? Confusing.

I have CC'd Yusuke on this email, as he may be able to provide insight.

- Derek


More information about the ffmpeg-devel mailing list