Skip to content
holzkohlengrill edited this page Dec 15, 2023 · 4 revisions

VMAF calculation with a static ffmpeg build for linux

assumes that your static build (see https://johnvansickle.com/ffmpeg/) is extracted in the current folder

./ffmpeg-4.1.3-amd64-static/ffmpeg -i "$1" -i "$2" -lavfi libvmaf="psnr=1:log_fmt=json:model_path=$(pwd)/ffmpeg-4.1.3-amd64-static/model/vmaf_v0.6.1.pkl:log_path=vmaf/$3.json:ssim=1" -f null -

# $1 = input distorted video, same resolution and framerate as $2
# $2 = input reference video, 
# $3 = basename of output report for your json vmaf results

adapt version of your build

Clone this wiki locally