Re: [FFmpeg-user] Issue with pix_fmt yuvj444p and libx265

2020-07-04 Thread pdr0
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 conversio

Re: [FFmpeg-user] Issue with pix_fmt yuvj444p and libx265

2020-07-03 Thread Samik Some
Thank you. This works. Somewhat related question. Does sws_flags have any effect when converting to yuvj444p color space using scale? (since no actual resizing is needed) On 04/07/20 6:31 am, pdr0 wrote: You can use -x265-params to pass x265 settings. In this case to specify input-csp i444.

Re: [FFmpeg-user] Issue with pix_fmt yuvj444p and libx265

2020-07-03 Thread pdr0
You can use -x265-params to pass x265 settings. In this case to specify input-csp i444. Personally, I prefer to explicitly control the RGB=>YUV conversion with -vf scale or zscale eg. ffmpeg -r 24 -loop 1 -i iybW.png -vf scale=out_color_matrix=bt709:out_range=full,format=yuvj444p -c:v libx265 -c

[FFmpeg-user] Issue with pix_fmt yuvj444p and libx265

2020-07-03 Thread Samik Some
I am facing a weird issue when encoding images to video in the yuvj444p format. The colors are off and there are artifacts which look like the image is enlarged and overlayed on itself. The issue persists if I extract the frames back from the video. I have providing links to samples below: 1)