0

I would like to compute a ms_ssim score using ffmpeg. I would like to use libvmaf, but libvmaf always computes the vmaf score in parallel

With the base ffmpeg tool, we can compute the ssim score with a command like

ffmpeg -i distorded.mp4 -i source.mp4 -filter_complex "[0:v]scale2ref=flags=bicubic[distorded];[1:v][distorded]ssim" -f null -

And if we want to compute a ms_ssim score, we can use the libvmaf like so

ffmpeg -i distorded.mp4 -i source.mp4 -filter_complex "[0:v]scale2ref=flags=bicubic[distorded];[1:v][distorded]libvmaf=feature='name=float_ms_ssim'" -f null -`

This gives the ms_ssim score, but computes in parallel the vmaf score (which is very slow, in opposition to the ms_ssim which is very fast).

Is there a way to compute the ms_ssim score without calculating the vmaf score?

lover14
  • 11
  • 3

0 Answers0