[FFmpeg-devel] Why is writing the colr atom not the default in the mov muxer?

Robert Krüger krueger at lesspain.de
Fri Feb 20 15:56:57 CET 2015


Am Freitag, 20. Februar 2015 schrieb Kevin Wheatley :

> On Fri, Feb 20, 2015 at 1:30 PM, Robert Krüger <krueger at lesspain.de
> <javascript:;>> wrote:
> > if I read the code correctly, the colr atom is only written in the mov
> > muxer if the flag write_colr is specified. Was that behaviour chosen to
> > have better backward compatibility or is there another reason not to
> write
> > this standard atom by default?
>
> I chose that way to preserve the older behaviour, as it can change how
> files will be interpreted.
>
> I assumed that but isn't the change then a change for the better (then
maybe requiring a version bump and an entry in the release notes)? After
all Apple muxers write it by default as well and not trusting the input
metadata seems to me like something that should be opt-out rather than
opt-in but that's just my 2c.

Just as another data point, I think ffmbc writes it by default. If it helps,
I can go through a few samples created by well-known tools (e.g. Adobe
Media Encoder) and post, if they write it by default.

Best regards,

Robert


Kevin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org <javascript:;>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


-- 
Robert Krüger
Managing Partner
Lesspain GmbH & Co. KG

www.lesspain-software.com


More information about the ffmpeg-devel mailing list