[FFmpeg-user] Libvmaf is returning null values?
Chris Davis
chrisdavis03 at gmail.com
Tue Jan 16 17:44:07 EET 2018
Hello,
I am trying to test out libvmaf and I am running into issues.
I have encoded several renditions of a source clip to H264 for downstream
HLS packaging and I am getting a “nan” value out of libvaf. If I load the
source video as the reference as well, I get a valid VMAF score of 99.98,
but I if use a different reference video in the same codec, I again get a
null score. So far I have a valid score from ProResHQ main and Mpeg2 MXF
reference.
Has anyone else experienced this?
Chris Davis
ffmpeg -i {path_to_source}\VMAF_Clip1.mov -i
{path_to_source}\VMAF_Clip1_poorQuality.mov -lavfi
libvmaf="model_path=vmaf_model//vmaf_v0.6.1.pkl" -f null -
ffmpeg version N-89775-gef21033 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 7.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --disable-w32threads --enable-version3
--enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static
--disable-shared --enable-zlib --enable-libfreetype --enable-libfontconfig
--enable-libvmaf
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 11.101 / 7. 11.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\isilonwip.viacom.com
\transcodesupport\TEST_FILES\VMAF\1_Source\VMAF_Clip1.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.56.101
Duration: 00:01:31.09, start: 0.000000, bitrate: 148057 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709,
progressive), 1920x1080, 134195 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98
tbr, 24k tbn, 24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 HQ
timecode : 00:00:00:00
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32 (24 bit), 1152 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:13(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '\\isilonwip.viacom.com
\transcodesupport\TEST_FILES\VMAF\1_Source\VMAF_Clip1_poorQuality.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.83.100
Duration: 00:01:31.09, start: 0.000000, bitrate: 84753 kb/s
Stream #1:0(eng): Video: prores (apch / 0x68637061),
yuv422p10le(progressive), 1920x1080, 84621 kb/s, SAR 1:1 DAR 16:9, 23.98
fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc57.107.100 prores
timecode : 00:00:00:00
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #1:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Stream mapping:
Stream #0:0 (prores) -> libvmaf:main (graph 0)
Stream #1:0 (prores) -> libvmaf:reference (graph 0)
libvmaf (graph 0) -> Stream #0:0 (wrapped_avframe)
Stream #1:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Start calculating VMAF score...
Output #0, null, to 'pipe:':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.3.100
Stream #0:0: Video: wrapped_avframe, yuv422p10le(progressive),
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98
tbc (default)
Metadata:
encoder : Lavc58.9.100 wrapped_avframe
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
(default)
Metadata:
handler_name : DataHandler
encoder : Lavc58.9.100 pcm_s16le
frame= 2184 fps=3.0 q=-0.0 Lsize=N/A time=00:01:31.09 bitrate=N/A
speed=0.127x
video:1143kB audio:17064kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
Exec FPS: 3.038002
VMAF score = nan
[libvmaf @ 00000000025c4e80] VMAF score: nan
More information about the ffmpeg-user
mailing list