We are converting a sequence of DPX files into an MP4. When the artist uses Adobe Media Encoder CC to generate the video, the colors match the original DPX. When we use ffmpeg, the video has a reddish hint. The command used is:
ffmpeg -y -start_number 0101 -i \\path\to\filename.%04d.dpx -pix_fmt yuv420p sample.mp4
How can we generate a video that matches the color of the original DPX files?
Inspecting the files with ffprobe
revealed the following differences (correct file/bad file):
- major_brand: mp42 / isom
- minor_version: 0 / 512
- compatible_brands: mp42mp41 / isomiso2avc1mp41
- encoder: not listed / Lavf57.34.102
- Video: h264 (Main) / h264 (High)
- Video: yuv420p(tv, bt709) / yuv420p
- Video: 1920x1080 / 1920x1080 [SAR 1:1 DAR 16:9]
- handler_name: Alias Data Handler / VideoHandler