Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
14th October 2017, 17:48 | #1 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
FFMpeg VMAF filter
https://ffmpeg.org/ffmpeg-filters.html#libvmaf
https://github.com/Netflix/vmaf Quote:
Is it "complete" yet ? Experiences /observations / comments ? |
|
29th January 2019, 18:16 | #3 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
I'd like to check out this FFMPEG filter, ideally on Windows 10; I'm running Zeranoe Static Windows 64-bit nightly builds currently.
If this is possible, how do you install the pre-requisite libvmaf library ? I see there is also now a VapourSynth VMAF plugin: https://forum.doom9.org/showthread.p...AF+vapoursynth But I would prefer to use commandline FFMPEG.
__________________
Nostalgia's not what it used to be |
31st January 2019, 15:35 | #5 | Link |
Helenium(Easter)
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
|
Place the model file in the same folder and try
Code:
ffmpeg -i main -i ref -lavfi libvmaf="model_path=vmaf_v0.6.1.pkl" -f null -
__________________
Monochrome Anomaly |
31st January 2019, 16:46 | #6 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Ah, OK, so no need to compile/install anything - I just copy the vmaf_v0.6.1.pkl file from here ?:
https://github.com/Netflix/vmaf/tree/master/model Tried that, but still:
__________________
Nostalgia's not what it used to be Last edited by WorBry; 31st January 2019 at 16:48. |
1st February 2019, 03:11 | #7 | Link |
Helenium(Easter)
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
|
I believe you need *.pkl and *.pkl.model in the same path as ffmpeg, not just the pkl file.
__________________
Monochrome Anomaly |
1st February 2019, 06:47 | #8 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Nope, it's still not reading vmaf_v0.6.1.pkl.
I've got the VapourSynth vmaf filter working though so I'll use that for now. I really just wanted to see how the VMAF and SSIM measures compare for x264 encoded over a range of CRF values, using a high quality uncompressed source as reference. And also how the LibVMAF derived SSIM 'aggregate' score tallies with the standard FFMPEG SSIM metric 'average' score. This series shows quite a difference: https://github.com/Netflix/vmaf/issues/22 Cheers.
__________________
Nostalgia's not what it used to be Last edited by WorBry; 1st February 2019 at 07:29. |
1st February 2019, 07:16 | #9 | Link |
Helenium(Easter)
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
|
It works for me using a relative path.
I also tried libvmaf=model_path=vmaf_b_v0.6.3.pkl:enable_conf_interval=1 and that also works. Something must be wrong on your side, but still good to know that the vapoursynth filter works.
__________________
Monochrome Anomaly |
8th February 2019, 18:08 | #11 | Link | |
Registered User
Join Date: Jun 2018
Posts: 1
|
Quote:
Hey Wolfberry, I'm actually have the exact same issue. I have to punch in the path *nix style to get it work. But I'm also getting a VMAF Score = nan for some reason... :'( |
|
27th February 2019, 11:49 | #12 | Link | ||
Registered User
Join Date: Jul 2010
Posts: 132
|
Quote:
I cannot get the .pkl path to work on your ffmpeg Win build... I tried relative path (file in same folder as ffmpeg.exe), full Windows path or Unix style path... it throws the Quote:
|
||
27th February 2019, 12:20 | #13 | Link |
Helenium(Easter)
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
|
Code:
ffmpeg -i 1.mkv -i 1.mkv -lavfi libvmaf=model_path=vmaf_v0.6.1.pkl:log_path=vmaf.log:log_fmt=json:psnr=1:ssim=1:ms_ssim=1 -f null -
__________________
Monochrome Anomaly |
27th February 2019, 12:42 | #14 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 325
|
Quote:
Code:
Caught VmafException: Error loading model (.pkl): Trouble reading the file:vmaf_v0.6.3.pkl Code:
Input model at vmaf_v0.6.1.pkl cannot be read successfully. Caught VmafException: Error loading model (.pkl): Unknown token Last edited by excellentswordfight; 27th February 2019 at 12:45. |
|
28th March 2020, 11:48 | #15 | Link |
Registered User
Join Date: Mar 2020
Posts: 2
|
FFMpeg VMAF filter
A second note on the filter usage:
- as in all my last filters, I make use of random selections tha plasma applied is randomly selected, the pattern also - hence, if you do not like one outcome just relaunch the filter and you will get a different one, even with the same parameters |
3rd February 2019, 02:57 | #16 | Link | |
Registered User
Join Date: Apr 2018
Posts: 63
|
I think the "phone model" is not working for me. Am I using this incorrectly?
Quote:
|
|
26th February 2019, 13:41 | #19 | Link | |||
Registered User
Join Date: Jul 2010
Posts: 132
|
cannot get this to work under Windows w/ latest Zeranoe ffmpeg build 4.1.1... copied both "vmaf_v0.6.1.pkl" and "vmaf_v0.6.1.pkl.model" into same folder as ffmpeg.exe... running this command:
Quote:
Quote:
Quote:
any advice ? from the posts above I assumed that simply copying the .pkl files into the correct folder would work... Thanks. |
|||
26th February 2019, 15:28 | #20 | Link |
Helenium(Easter)
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
|
You can get my custom build of ffmpeg with libvmaf here
__________________
Monochrome Anomaly Last edited by Wolfberry; 27th February 2019 at 09:47. |
Thread Tools | Search this Thread |
Display Modes | |
|
|