[FFmpeg-devel] [PATCH] avfilter/vf_colorspace: use colorspace negotiation API

Nicolas Gaullier nicolas.gaullier at cji.paris
Thu Mar 28 12:01:54 EET 2024


>>Example:
>>ffmpeg -f lavfi -i testsrc -vf setparams=color_primaries=bt470bg:
>>color_trc=smpte170m:colorspace=bt470bg,colorspace=bt709:range=tv,scale
>>,showinfo -f null -frames 1 -
>>
>>Before:
>>  color_range:unknown color_space:unknown color_primaries:bt709 ...
>>After:
>>  color_range:tv color_space:bt709 color_primaries:bt709 ...
>>
>>There is still an issue with the color_range when it is not specified:
>>the documentation states the output defaults to the same value as the input, but it does not seem possible to implement currently.
>
>Ping ? I think it should be fixed one way or another, and backported to 7.0...

Forget about it,
It has been fixed late yesterday with b89ee26539

Nicolas


More information about the ffmpeg-devel mailing list