[FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

Peter Rabbitson rabbit+list at rabbit.us
Mon May 9 15:18:19 CEST 2016


On 05/09/2016 03:01 PM, Peter Rabbitson wrote:
>
> scale=in_color_matrix=bt601:out_color_matrix=bt709:in_range=full:out_range=tv
>

Correction. Testing indicates the specification of in_* confuses ffmpeg 
even more. What seems to be "the way forward" is:

ffmpeg -y -r 30 \
  -filter_complex '
   color=c=00aa00:s=320x200, scale=out_color_matrix=bt709:out_range=tv;
   color=c=00aa00:s=1280x720, scale=out_color_matrix=bt709:out_range=tv' \
  -c:v libx264 -colorspace bt709 -pix_fmt yuv444p -profile:v high444 \
  -qp 0 -preset:v ultrafast -t 5 greenz.mkv



More information about the ffmpeg-user mailing list