ffmpeg-quality-metrics
ffmpeg-quality-metrics copied to clipboard
ffmpeg_quality_metrics.ffmpeg_quality_metrics.FfmpegQualityMetricsError: Your ffmpeg version does not have the filter 'libvmaf'
:warning: Please read this carefully and edit the example responses! If you do not fill out this information, your bug report may be closed without comment. Thank you for all the support. Please can you help with this I am getting the following error when I run with .y4m ffmpeg_quality_metrics.ffmpeg_quality_metrics.FfmpegQualityMetricsError: Your ffmpeg version does not have the filter 'libvmaf'
I verified while building ffmpeg that enable libvmaf
Please refer the output ffmpeg -h ffmpeg version N-110062-g9413bdc381 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04) configuration: --enable-gpl --enable-libx264 --enable-libx265 --enable-nonfree --enable-libvmaf --enable-version3 WARNING: library configuration mismatch avutil configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc avcodec configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc avformat configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc avdevice configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc avfilter configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc swscale configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc swresample configuration: --enable-pthreads --enable-pic --enable-shared --enable-rpath --arch=amd64 --enable-demuxer=dash --enable-libxml2 --enable-libvvdec --enable-libvvenc libavutil 58. 5.100 / 58. 5.100 libavcodec 60. 7.101 / 60. 7.101 libavformat 60. 4.100 / 60. 4.100 libavdevice 60. 2.100 / 60. 2.100 libavfilter 9. 4.100 / 9. 4.100 libswscale 7. 2.100 / 7. 2.100 libswresample 4. 11.100 / 4. 11.100 libpostproc 57. 2.100 / 57. 2.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Getting help: -h -- print basic options -h long -- print more options -h full -- print all options (including all format and codec specific options, very long) -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol Checklist (please tick all boxes)
- [ ] I am using the latest version of
ffmpeg-quality-metrics
(runpip3 install --upgrade ffmpeg-quality-metrics
) - [ ] I am using the latest stable version of
ffmpeg
or a recent build from Git master
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior What happened?
Command The exact command you were trying to run:
ffmpeg-quality-metrics distorted.y4m reference.y4m -m vmaf --vmaf-model-path vmaf_v0.6.1neg.json
Any output you get when running the command with the -v
flag:
ffmpeg-quality-metrics -v /home/fe/de/Screen/DetailedAnalysis/3.vvencFFapp_screencap_develop_34544e7a_faster_ip1s_tA/y4m/xxx.y4m /home/fe/de/Screen/Fluendo-HHI/Reference/Y4M/blender_1_420p.y4m -m vmaf --vmaf-model-path vmaf_v0.6.1neg.json
DEBUG - Writing temporary LIBVMAF information to: /tmp/ffmpeg_quality_metrics_libvmaf_xxx.json
DEBUG - Writing temporary PSNR information to: /tmp/ffmpeg_quality_metrics_psnr_xx.txt
DEBUG - Writing temporary SSIM information to: /tmp/ffmpeg_quality_metrics_ssim_xxxx.txt
DEBUG - Writing temporary VIF information to: /tmp/ffmpeg_quality_metrics_vif_xxx.txt
DEBUG - ffmpeg -filters
DEBUG - Available filters: ['psnr', 'ssim', 'vif']
Traceback (most recent call last):
File "/usr/local/bin/ffmpeg-quality-metrics", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/ffmpeg_quality_metrics/__main__.py", line 199, in main
ffqm.calculate(metrics, vmaf_options=vmaf_options)
File "/usr/local/lib/python3.10/dist-packages/ffmpeg_quality_metrics/ffmpeg_quality_metrics.py", line 333, in calculate
raise FfmpegQualityMetricsError(
ffmpeg_quality_metrics.ffmpeg_quality_metrics.FfmpegQualityMetricsError: Your ffmpeg version does not have the filter 'libvmaf'
Environment (please complete the following information):
- [ ] Your operating system
- [ ] Ubuntu 22.04
- [ ] Your Python version / distribution (
python3 --version
orpython --version
) - [ ] Your ffmpeg version (
ffmpeg -version
) - [ ] ffmpeg version N-110062-g9413bdc381