This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] changing colour space with VUI (wrong syntax passed to FFMPEG)
#2
Looking at:
https://ffmpeg.org/ffmpeg-bitstream-filt...5fmetadata
They say to use:
ffmpeg -i INPUT -c copy -bsf:v prores_metadata=color_primaries=bt709:color_trc=bt709:colorspace=bt709 output.mov
Okay, the problem is: bt470bg is only allowed for the primes.
color_primaries

    Set the color primaries. Available values are:

    ‘auto’

        Keep the same color primaries property (default).
    ‘unknown’
    ‘bt709’
    ‘bt470bg’

        BT601 625
    ‘smpte170m’

        BT601 525
    ‘bt2020’
    ‘smpte431’

        DCI P3
    ‘smpte432’

        P3 D65

transfer_characteristics

    Set the color transfer. Available values are:

    ‘auto’

        Keep the same transfer characteristics property (default).
    ‘unknown’
    ‘bt709’

        BT 601, BT 709, BT 2020
    ‘smpte2084’

        SMPTE ST 2084
    ‘arib-std-b67’

        ARIB STD-B67

matrix_coefficients

    Set the matrix coefficient. Available values are:

    ‘auto’

        Keep the same colorspace property (default).
    ‘unknown’
    ‘bt709’
    ‘smpte170m’

        BT 601
    ‘bt2020nc’
=> I'll restrict Hybrid to the values listed in the FFmpeg documentation.

Thanks for the report.
Instead of:
Quote:Primes to bt470bg, Transfer to bt709 and Matrix to bt470bg.
use:
Primes to bt470bg, Transfer to bt709 and Matrix to smpte170m.
prores_metadata=color_primaries=bt470bg:color_trc=bt709:colorspace=smpte170m
works fine here.


Cu Selur
Reply


Messages In This Thread
RE: [BUG] changing colour space with VUI (wrong syntax passed to FFMPEG) - by Selur - 04.11.2023, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)