[FFmpeg-user] How can I set in a D10 MXF (IMX50) file the flags for output color_range, -space, -transfer and primaries?

Marton Balint cus at passwd.hu
Thu Apr 30 23:03:43 CEST 2015


On Wed, 29 Apr 2015, Christoph Gerstbauer wrote:

> I found out that a IMX50 mxf file encoded with FFmbc and the IMX50 mxf file 
> encoded with actual ffmpeg builds are different in these mxf metadata flags 
> (by reading out via ffprobe - show_streams)
>
> FFMBC IMX FILE stream 0:0:
> color_range=tv
> color_space=smpte170m
> color_transfer=bt709
> color_primaries=bt470bg
>
>
> FFMPEG IMX FILE stream 0:0:
> color_range=tv
> color_space=unknown
> color_transfer=unknown
> color_primaries=unknown
>
> I want to set these metadata flags to the same values, but with FFmpeg.
> How can I produce the same output like ffmbc with these 4 metadata flags?
> I didnt found a answer to that in the ffmpeg documentation :/

You can manually specify these settings to force them being set with these 
parameters:

-color_primaries 5
-color_trc 1
-colorspace 6

What does not work as far as I know in ffmpeg is to actually get these 
settings from the source video, even if ffprobe detects them.

Regards,
Marton


More information about the ffmpeg-user mailing list