ffmpeg
ffmpeg copied to clipboard
libvmaf model in nvidia and ubuntu image is missing
when starting nvidia image vmaf model is missing
libvmaf WARNING no such built-in model: "vmaf_v0.6.1"
[Parsed_libvmaf_0 @ 0x55a3f271a640] could not load libvmaf model with version: vmaf_v0.6.1
According to https://developer.nvidia.com/blog/calculating-video-quality-using-nvidia-gpus-and-vmaf-cuda/ I make script
docker run --runtime=nvidia -v $(pwd):$(pwd) -w $(pwd) ghcr.io/jrottenberg/ffmpeg:7.1-nvidia \
-hwaccel cuda -hwaccel_output_format cuda \
-i $1 -hwaccel cuda -hwaccel_output_format cuda \
-i $2 -hwaccel cuda -hwaccel_output_format cuda \
-filter_complex "[0:v]scale_npp=format=yuv420p[dis],[1:v]scale_npp=format=yuv420p[ref],[dis][ref]libvmaf_cuda" -f null
exception
[AVFilterGraph @ 0x557aefc0f040] No such filter: 'libvmaf_cuda'
Failed to set value '[0:v]scale_npp=format=yuv420p[dis],[1:v]scale_npp=format=yuv420p[ref],[dis][ref]libvmaf_cuda' for option 'filter_complex': Filter not found
When I change libvmaf_cuda to libvmaf
docker run --runtime=nvidia -v $(pwd):$(pwd) -w $(pwd) ghcr.io/jrottenberg/ffmpeg:7.1-nvidia \
-hwaccel cuda -hwaccel_output_format cuda \
-i $1 -hwaccel cuda -hwaccel_output_format cuda \
-i $2 -hwaccel cuda -hwaccel_output_format cuda \
-filter_complex "[0:v]scale_npp=format=yuv420p[dis],[1:v]scale_npp=format=yuv420p[ref],[dis][ref]libvmaf_cuda" -f null
exception is
libvmaf WARNING no such built-in model: "vmaf_v0.6.1"
[Parsed_libvmaf_2 @ 0x55e72611b300] could not load libvmaf model with version: vmaf_v0.6.1
[AVFilterGraph @ 0x55e72611a000] Error initializing filters
Normal comparsion can performed by script
docker run -v $(pwd):$(pwd) -w $(pwd) ghcr.io/jrottenberg/ffmpeg:7.1-alpine -i $1 -i $2 -lavfi libvmaf='feature=name=psnr|name=ciede' -f null -
But if i even change image
docker run --runtime=nvidia -v $(pwd):$(pwd) -w $(pwd) ghcr.io/jrottenberg/ffmpeg:7.1-nvidia -i $1 -i $2 -lavfi libvmaf='feature=name=psnr|name=ciede' -f null -
exception will be same
libvmaf WARNING no such built-in model: "vmaf_v0.6.1"
[Parsed_libvmaf_0 @ 0x56469d481280] could not load libvmaf model with version: vmaf_v0.6.1
[AVFilterGraph @ 0x56469d480ec0] Error initializing filters
Also ubuntu image is not working too. Alpine is working