I have an AVI file input.avi
encoded in HQ
which has yuv422
format according to ffprobe
.
Now, if I run the following command
ffmpeg -i input.avi -c:v libx264 -crf 0 -pix_fmt yuv420p out.mp4
Will the out.mp4
be lossless compared with input.avi
? or it will be 'lossless' except half of the U
and V
information is lost?
input.avi
and an encoded mp4 file. But the yuv format is different, so I am encoding theinput.avi
to 'lossless' yuv420p mp4, then calculate the PSNR and SSIM.[1]format=yuv420p[a];[0][a]psnr..
ffmpeg
, I am not sure how to add[1]format=yuv420p[a];[0][a]psnr..
to my command