[FFmpeg-trac] #9047(avfilter:new): `compute_vmaf()` is deprecated and will be removed in a future libvmaf version
FFmpeg
trac at avcodec.org
Sun Dec 27 14:10:55 EET 2020
#9047: `compute_vmaf()` is deprecated and will be removed in a future libvmaf
version
----------------------------------+--------------------------------------
Reporter: nicol | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug: Error occurs [https://github.com/BtbN/FFmpeg-
Builds/releases/tag/autobuild-2020-12-23-12-35 Auto-Build 2020-12-23]
after.
Using model is [https://github.com/Netflix/vmaf/tree/master/model]
How to reproduce:
{{{
% ffmpeg.exe -v 9 -loglevel 99 -f lavfi -i color=d=1:s=1920x1080
-filter_complex
"split,libvmaf=vmaf_float_v0.6.1.pkl:psnr=1:log_path=log.csv:log_fmt=csv"
-f null -
ffmpeg version Auto-Build 2020-12-23 12:35
built on ... BtbN/FFmpeg-Builds
ffmpeg version N-100459-ga7f9b3b954 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 9.3-win32 (GCC) 20200320
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-zlib
--enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp
--enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf
--disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-
avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-
cuda-llvm --disable-libglslang --enable-libass --enable-libbluray
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx
--enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-
librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-
libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-
libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-
libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-
cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 94.100 / 7. 94.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'lavfi'.
Reading option '-i' ... matched as input url with argument
'color=d=1:s=1920x1080'.
Reading option '-filter_complex' ... matched as option 'filter_complex'
(create a complex filtergraph) with argument
'split,libvmaf=vmaf_float_v0.6.1.pkl:psnr=1:log_path=log.csv:log_fmt=csv'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'null'.
Reading option '-' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option filter_complex (create a complex filtergraph) with
argument
split,libvmaf=vmaf_float_v0.6.1.pkl:psnr=1:log_path=log.csv:log_fmt=csv.
Successfully parsed a group of options.
Parsing a group of options: input url color=d=1:s=1920x1080.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: color=d=1:s=1920x1080.
detected 8 logical cores
[Parsed_color_0 @ 000002209622b400] Setting 'd' to value '1'
[Parsed_color_0 @ 000002209622b400] Setting 's' to value '1920x1080'
[Parsed_color_0 @ 000002209622b400] size:1920x1080 rate:25/1
duration:1.000000 sar:1/1
[AVFilterGraph @ 0000022097e56380] query_formats: 2 queried, 1 merged, 0
already done, 0 delayed
[lavfi @ 0000022097e54e80] All info found
[lavfi @ 0000022097e54e80] stream 0: start_time: 0 duration: NOPTS
[lavfi @ 0000022097e54e80] format: start_time: 0 duration: NOPTS (estimate
from bit rate) bitrate=0 kb/s
Input #0, lavfi, from 'color=d=1:s=1920x1080':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0, 1, 1/25: Video: rawvideo, 1 reference frame (I420 /
0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 0/1, 25 tbr, 25 tbn,
25 tbc
Successfully opened the file.
[Parsed_libvmaf_1 @ 0000022097edc540] Setting 'model_path' to value
'vmaf_float_v0.6.1.pkl'
[Parsed_libvmaf_1 @ 0000022097edc540] Setting 'psnr' to value '1'
[Parsed_libvmaf_1 @ 0000022097edc540] Setting 'log_path' to value
'log.csv'
[Parsed_libvmaf_1 @ 0000022097edc540] Setting 'log_fmt' to value 'csv'
Parsing a group of options: output url -.
Applying option f (force format) with argument null.
Successfully parsed a group of options.
Opening an output file: -.
Successfully opened the file.
Stream mapping:
Stream #0:0 (rawvideo) -> split
libvmaf -> Stream #0:0 (wrapped_avframe)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[rawvideo @ 00000220981c0940] PACKET SIZE: 3110400, STRIDE: 2880
[Parsed_libvmaf_1 @ 0000022097edbb40] Setting 'model_path' to value
'vmaf_float_v0.6.1.pkl'
[Parsed_libvmaf_1 @ 0000022097edbb40] Setting 'psnr' to value '1'
[Parsed_libvmaf_1 @ 0000022097edbb40] Setting 'log_path' to value
'log.csv'
[Parsed_libvmaf_1 @ 0000022097edbb40] Setting 'log_fmt' to value 'csv'
[graph 0 input from stream 0:0 @ 0000022097edca40] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:0 @ 0000022097edca40] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 0000022097edca40] Setting 'time_base' to
value '1/25'
[graph 0 input from stream 0:0 @ 0000022097edca40] Setting 'pixel_aspect'
to value '1/1'
[graph 0 input from stream 0:0 @ 0000022097edca40] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 0:0 @ 0000022097edca40] w:1920 h:1080
pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1
[AVFilterGraph @ 00000220981c07c0] query_formats: 4 queried, 3 merged, 1
already done, 0 delayed
[Parsed_libvmaf_1 @ 0000022097edbb40] [framesync @ 0000022097ee7448]
Selected 1/25 time base
[Parsed_libvmaf_1 @ 0000022097edbb40] [framesync @ 0000022097ee7448] Sync
level 2
libvmaf INFO `compute_vmaf()` is deprecated and will be removed in a
future libvmaf version
libvmaf WARNING could not read model from path: "vmaf_float_v0.6.1.pkl"
libvmaf WARNING pkl model files have been deprecated, use json
libvmaf ERROR problem loading model file: vmaf_float_v0.6.1.pkl
[Parsed_libvmaf_1 @ 0000022097edbb40] libvmaf encountered an error, check
log for details
Error while filtering: Invalid argument
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9047>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list