I am getting generated mp4 video stream from input stream (mxf or mov), and when doing this I am using -psnr
as H264 parameter. The result is approx. 40 or 41.
Then I am comparing input and output with psnr (or ssim) filter. Results approx. 20 or 21. It is a big difference. Is there anyone know the reason of this difference?
Note: ssim result is similar. First is ~0.97, the second is ~0.83
PSNR
ffmpeg -i input.mov -codec:v libx264 -psnr -f mp4 output.mp4
PSNR (~40)
ffmpeg -i output.mp4 -i input.mov -filter_complex psnr -f mp4 /dev/null
PSNR (~20)
SSIM
ffmpeg -i input.mov -codec:v libx264 -ssim -f mp4 output.mp4
SSIM (~0.98...)
ffmpeg -i output.mp4 -i input.mov -filter_complex ssim -f mp4 /dev/null
PSNR (~0.83...)