Thursday , 8 December 2022
Breaking News

# Installing and Using FFMetrics to Compute and Visualize VMAF, SSIM, and MS SSIM Metrics

This tutorial teaches you how to install and use FFMetrics, a free tool that lets you compute and visualize VMAF, SSIM, and PSNR on up to 12 files.

Let me start this article by stating that the one program I couldn’t live without in my role as video tester and evaluator is the Moscow State University Video Quality Measurement Too (VQMT). It’s awesome for nuts and bolts testing and evaluation of different codecs, encoders, and encoding settings, measuring over two dozen quality metrics, with outstanding features for visualizing low-quality frames, great alignment features for files that have an extra frame or two, and a host of other advanced tools not found on open-source tools. If you’re serious about streaming production, codec and encoder evaluation, or similar topics, you absolutely need VQMT.

### FFMetrics Command Line Options

-duration=<seconds>                    Duration of video stream to be processed
Default: 0 (whole stream used)
-log-commands                          Log ffmpeg commands
-log-frames                            Log frames' metrics in csv files
-log-frames-dir=C:\path\               Folder where frame's metrics will be stored
-log-level=DEBUG|ERROR|INFO            Default: INFO
-metric=PSNR|SSIM|VMAF                 Default: all (-metric=PSNR -metric=SSIM -metric=VMAF)

-project=C:\path\to\project.ffmproj    Read project options from specified file
-run                                   Run calculation when program started
-save-results                          After calculation save results to log -save-results-file=C:\path\file.csv
-scaling-method=NEIGHBOR|GAUSS|BILINEAR|BICUBIC|LANCZOS|SINC|SPLINE Default: BICUBIC
-skip=<seconds>                        Duration of video stream to be skipped Default: 0 (stream processed from the beginning)
-vmaf-model=filename                   Default: detected automatically based on reference media info
-vmaf-phone-model
-vmaf-pool=MEAN|HARMONIC_MEAN          Default: MEAN