3

I am attempting to create Quicktime movs with the "DNXHD" codec with the following ffmpeg command (input part excluded):

-c:v dnxhd -b:v 175M -pix_fmt yuv422p10le test.mov

This works, and is displayed fine in After Effects and Premiere. However, it does not play back correctly in Quicktime Player - it looks slightly "washed out". My understanding of this is that Quicktime Player uses the "COLR" atom to determine the color space of the video file for playback. So, after some research I came upon this ffmpeg option:

-movflags +write_colr

But, it doesn't seem to do anything. Analyzing the video with "exiftool" shows that the atom was not written.

I am using FFMPEG version 2.8.6, installed with homebrew on Mac OS 10.11.3.

Anyone know how to make ffmpeg's movs comply with Quicktime Player's expectations?

2

That is an experimental flag, so you will have to use

-movflags +write_colr -strict experimental
  • Thank you! That seems to work with all the codecs I try EXCEPT dnxhd. Any ideas? My command: -c:v dnxhd -b:v 175M -strict experimental -movflags +write_colr – Bryan Fordney Feb 18 '16 at 21:10
  • Which is strange since the only codec it is meant for is DNxHD 1080I 120M. But the strict flag should force it elsewhere. Are you seeing the COLR atom created with other codecs? Use atomicparsely to check atoms. – Gyan Feb 19 '16 at 4:59
  • AtomicParsely seems not to like Quicktime files. exiftool works though. The output to look out for from exiftool is Color Representation : nclc 1 1 1 – Bryan Fordney Feb 29 '16 at 22:42
  • I can't seem to get ffmpeg to write this atom at all when using "dnxhd". It does work with "prores_ks". How did you get it to work with dnxhd? – Bryan Fordney Feb 29 '16 at 23:09
  • Check the playback in Quicktime, or ffprobe readout for the DNxHD output. Mediainfo reports color space characteristics ( prims, matrix..etc) that it doesn't when encoded without the color flag. – Gyan Mar 1 '16 at 4:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.