[FFmpeg-trac] #9047(avfilter:new): `compute_vmaf()` is deprecated, so that cant load feature extractors to calcurate vmaf scores. (was: `compute_vmaf()` is deprecated and will be removed in a future libvmaf version)
FFmpeg
trac at avcodec.org
Sun Jan 3 04:15:44 EET 2021
#9047: `compute_vmaf()` is deprecated, so that cant load feature extractors to
calcurate vmaf scores.
------------------------------------+------------------------------------
Reporter: nicol | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: libvmaf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by nicol):
Changed .pkl to .json and title.
{{{
% ffmpeg.exe -v 9 -loglevel 99 -f lavfi -i color=d=1:s=1920x1080
-filter_complex
"split,libvmaf=vmaf_float_v0.6.1.json:log_path=log.csv:log_fmt=csv" -f
null -
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.json: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.json: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 @ 0000025ade1d6e40] Setting 'd' to value '1'
[Parsed_color_0 @ 0000025ade1d6e40] Setting 's' to value '1920x1080'
[Parsed_color_0 @ 0000025ade1d6e40] size:1920x1080 rate:25/1
duration:1.000000 sar:1/1
[AVFilterGraph @ 0000025ade1d6340] query_formats: 2 queried, 1 merged, 0
already done, 0 delayed
[lavfi @ 0000025ade1d4e40] All info found
[lavfi @ 0000025ade1d4e40] stream 0: start_time: 0 duration: NOPTS
[lavfi @ 0000025ade1d4e40] 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 @ 0000025ade25c340] Setting 'model_path' to value
'vmaf_float_v0.6.1.json'
[Parsed_libvmaf_1 @ 0000025ade25c340] Setting 'log_path' to value
'log.csv'
[Parsed_libvmaf_1 @ 0000025ade25c340] 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 @ 0000025ade940b40] PACKET SIZE: 3110400, STRIDE: 2880
[Parsed_libvmaf_1 @ 0000025ade25b440] Setting 'model_path' to value
'vmaf_float_v0.6.1.json'
[Parsed_libvmaf_1 @ 0000025ade25b440] Setting 'log_path' to value
'log.csv'
[Parsed_libvmaf_1 @ 0000025ade25b440] Setting 'log_fmt' to value 'csv'
[graph 0 input from stream 0:0 @ 0000025ade25c740] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:0 @ 0000025ade25c740] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 0000025ade25c740] Setting 'time_base' to
value '1/25'
[graph 0 input from stream 0:0 @ 0000025ade25c740] Setting 'pixel_aspect'
to value '1/1'
[graph 0 input from stream 0:0 @ 0000025ade25c740] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 0:0 @ 0000025ade25c740] w:1920 h:1080
pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1
[AVFilterGraph @ 0000025ade93ff00] query_formats: 4 queried, 3 merged, 1
already done, 0 delayed
[Parsed_libvmaf_1 @ 0000025ade25b440] [framesync @ 0000025ade267008]
Selected 1/25 time base
[Parsed_libvmaf_1 @ 0000025ade25b440] [framesync @ 0000025ade267008] Sync
level 2
libvmaf INFO `compute_vmaf()` is deprecated and will be removed in a
future libvmaf version
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf58.65.100
Stream #0:0, 0, 1/25: Video: wrapped_avframe, 1 reference frame,
yuv420p(progressive), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 200
kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc58.115.102 wrapped_avframe
frame= 1 fps=0.0 q=-0.0 size=N/A time=00:00:00.04 bitrate=N/A speed=N/A
[rawvideo @ 0000025ade940b40] PACKET SIZE: 3110400, STRIDE: 2880
libvmaf ERROR problem loading feature extractors from model file:
vmaf_float_v0.6.1.json
[Parsed_libvmaf_1 @ 0000025ade25b440] 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!
}}}
> libvmaf INFO `compute_vmaf()` is deprecated and will be removed in a
future libvmaf version
> libvmaf ERROR problem loading feature extractors from model file:
vmaf_float_v0.6.1.json
I changed it to json and it still load feature.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9047#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list