[FFmpeg-user] Issue with pix_fmt yuvj444p and libx265

pdr0 pdr0 at shaw.ca
Sat Jul 4 19:18:43 EEST 2020

Samik Some wrote
> Somewhat related question. Does sws_flags have any effect when 
> converting to yuvj444p color space using scale? (since no actual 
> resizing is needed)

Yes. The sws flags are used to control the RGB to YUV conversion. In this
case , full range, and 709 for the matrix conversion

When you specify pix_fmt yuvj444, full range is performed (because of the
"j"), but a 601 conversion by default (wrong colors for "HD"). You can try
it yourself by omitting -vf scale and just using -pix_fmt yuvj444p

The -x265-params colormatrix=bt709 is just a VUI flag; no conversion is done
there . It's just a "label" that other programs, players  might read as
"709" .

Sent from: http://www.ffmpeg-archive.org/

More information about the ffmpeg-user mailing list