VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Jun 2022
    Location
    Dublin
    Search Comp PM
    I have been using an ffmpeg VMAF syntax to extract VMAF that has worked up till now. Version 7th-Sept-2023 is ok but not later versions.

    I am now using static build version 28th-November-2023. --enable-libvmaf is part of the build. Using windows. The PATH to model files is D:\RQM\VMAF-models\

    The error message is ...

    Error applying option 'model_path' to filter 'libvmaf': Option not found
    Failed to set value '[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\VMAF_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7' for option 'lavfi': Option not found
    Error parsing global options: Option not found

    Note that in this post there is a funny character inserted in place of two characters, namely a colon and a p i.e. colonpool. The funny char is not part of syntax.

    I thought there was a dedicated ffmpeg forum to post this but it's ffmpegx. Any help with this is greatly appreciated, thanks.

    The syntax I am using still works fine for ffmeg builds prior to and including 7th-Sept-2023.

    The full syntax I am using is ... for FHD
    ffmpeg -i %1 -i %_REFERENCE_FILE% -lavfi "[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\VMAF_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7" 2>"ffmpeg VMAF.txt" -f null -

    for 4K ...
    ffmpeg -i %1 -i %_REFERENCE_FILE% -lavfi "[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\vmaf_4k_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7" 2>"ffmpeg VMAF.txt" -f null -
    Last edited by JN-; 28th Nov 2023 at 09:17.
    Quote Quote  
  2. Member
    Join Date
    Apr 2018
    Location
    Croatia
    Search Comp PM
    For ffmpeg help ask on ffmpeg-user mailing list, this forum is mostly about closed and corporate solutions, exception being vapoursynth and avisynth.
    Quote Quote  
  3. Member
    Join Date
    Jun 2022
    Location
    Dublin
    Search Comp PM
    Thanks Richardpl, How/where to access an ffmpeg-user mailing list ?

    Thanks ProWo, I came across the above vmaf info elswhere and AFAIK my syntax is as per instructions in that.

    https://github.com/fifonik/FFMetrics FFMetrics -- Windows-centric GUI for PSNR, SSIM and VMAF visualization. This reference from fifonik, he helped me with the syntax I posted above, way back while I was a member of Vegas Pro forum. Barred now. I believe the syntax is correct as it still works with previous static builds of ffmpeg, just not the few recents ones. So it's something else.
    Last edited by JN-; 28th Nov 2023 at 15:27.
    Quote Quote  
  4. Member
    Join Date
    Jun 2022
    Location
    Dublin
    Search Comp PM
    Got it. https://www.reddit.com/r/ffmpeg/comments/11fnnou/new_syntax_libvmaf_model_the_model_path_option_is/

    new syntax libvmaf model ..The "model_path" option is deprecated: use model='path=...'.
    Quote Quote  
  5. Banned
    Join Date
    Nov 2023
    Location
    Europe
    Search Comp PM
    Originally Posted by JN- View Post
    I have been using an ffmpeg VMAF syntax to extract VMAF that has worked up till now. Version 7th-Sept-2023 is ok but not later versions.

    I am now using static build version 28th-November-2023. --enable-libvmaf is part of the build. Using windows. The PATH to model files is D:\RQM\VMAF-models\

    The error message is ...

    Error applying option 'model_path' to filter 'libvmaf': Option not found
    Failed to set value '[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\VMAF_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7' for option 'lavfi': Option not found
    Error parsing global options: Option not found

    Note that in this post there is a funny character inserted in place of two characters, namely a colon and a p i.e. colonpool. The funny char is not part of syntax.

    I thought there was a dedicated ffmpeg forum to post this but it's ffmpegx. Any help with this is greatly appreciated, thanks.

    The syntax I am using still works fine for ffmeg builds prior to and including 7th-Sept-2023.

    The full syntax I am using is ... for FHD
    ffmpeg -i %1 -i %_REFERENCE_FILE% -lavfi "[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\VMAF_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7" 2>"ffmpeg VMAF.txt" -f null -

    for 4K ...
    ffmpeg -i %1 -i %_REFERENCE_FILE% -lavfi "[0:v]setpts=PTS-STARTPTS[main];[1:v]setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=model_path='D\:\\RQM\\VMAF-models\\vmaf_4k_v0.6.1.json'ool=harmonic_mean:eof_action=endall:n_threads=7" 2>"ffmpeg VMAF.txt" -f null -

    Hi, if no one can help from here, there is an Kiwi Web IRC Chat avalible for FFMpeg! (https://kiwiirc.com/nextclient/irc.libera.chat/?channels=#ffmpeg,#ffmpeg-devel), From that link you can just add any nickname to join quickly. If you wish to not join the developer channel simply remove ",#ffmpeg-devel" from the link!
    Last edited by Swedaniel; 28th Nov 2023 at 20:45.
    Quote Quote  
  6. Member
    Join Date
    Jun 2022
    Location
    Dublin
    Search Comp PM
    Thanks.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!