[FFmpeg-devel] [PATCH] avformat/movenc: respect color_range when encoding dnxhd.

markboo99 at gmail.com markboo99 at gmail.com
Tue Jul 8 23:09:56 CEST 2014


When writing mov's encoded with Avid's DNxHD codec, the ACLR atoms are 
presently hard coded to full range (Which the original comment incorrectly 
referred to as normal, and the official encoder incorrectly calls "RGB")

This patch allows users to specify the color_range correctly, and will result
in DNxHD files that are compatible with those of the official encoder where 
the "601/709" option (which would more correctly be called "legal" range) 
is ticked.

The default behaviour is left unchanged.

The comment above the mov_write_avid_tag function mentions that the dv, imx and
meridien codec variants all utilise the same function, but I don't have any 
software to test the interoperability of these codecs. The unit tests seem to
have passed successfully.



More information about the ffmpeg-devel mailing list