I have a HEVC video. I converted it to VP8 and VP9 by using the FFmpeg commands below:
ffmpeg -i ./hevc.mp4 -vcodec libvpx -crf 18 -b:v 0 -speed 1 ./vp8.webm
ffmpeg -i ./hevc.mp4 -vcodec libvpx-vp9 -crf 18 -b:v 0 -speed 1 ./vp9.webm
The conversion was very successful. But the ssim value I calculated via FFmpeg commands below:
ffmpeg -y -i hevc.mp4 -i vp8.webm -filter_complex "ssim" -f hevc /dev/null
ffmpeg -y -i hevc.mp4 -i vp9.webm -filter_complex "ssim" -f hevc /dev/null
Both of the VP8 and VP9 videos got the ssim values that were smaller than 0.99
. These were bad results that I didn't expect.
If I convert the HEVC video to x264, the ssim values will be normal.
Are there any problems among my commands?