Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for more native ffmpeg quality metrics #31

Open
richardpl opened this issue Mar 4, 2021 · 11 comments
Open

add support for more native ffmpeg quality metrics #31

richardpl opened this issue Mar 4, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@richardpl
Copy link

There is now also vif (Visual Information Fidelity), and soon identity and msad (Mean Sum of Squared Differences).

They also supports slice threading and timeline (calculating quality metrics only for some frame ranges),

@slhck
Copy link
Owner

slhck commented Mar 4, 2021

Thanks for the info! I'll probably add an option to calculate them in addition ot the default ones, like for VMAF.

@slhck slhck added the enhancement New feature or request label Mar 4, 2021
@slhck
Copy link
Owner

slhck commented Mar 10, 2021

VIF is now implemented since version 2.0.

@richardpl
Copy link
Author

Cool.

@ls-milkyway
Copy link

Now ffmpeg ...i guess also supports dssim & ms_ssim

@slhck
Copy link
Owner

slhck commented Apr 20, 2022

@ls-milkyway Why do you think FFmpeg supports DSSIM? Note that VMAF already includes an MS-SSIM computation.

@ls-milkyway
Copy link

ls-milkyway commented May 3, 2022

@ls-milkyway Why do you think FFmpeg supports DSSIM? Note that VMAF already includes an MS-SSIM computation.

I mean you can now build ffmpeg with DSSIM...yep MS-SSIM is included; example: ffmpeg -i distorted.mpg -i reference.mpg -lavfi libvmaf='feature=name=ms_ssim' -f null -

@ls-milkyway
Copy link

Please Note: You can add/remove support for more native ffmpeg quality metrics...but please do not change the JSON output structure as I am using it extensively as an input to another program....thanks

@slhck
Copy link
Owner

slhck commented May 3, 2022

@ls-milkyway Why do you think FFmpeg supports DSSIM? Note that VMAF already includes an MS-SSIM computation.

I mean you can now build ffmpeg with DSSIM...yep MS-SSIM is included; example: ffmpeg -i distorted.mpg -i reference.mpg -lavfi libvmaf='feature=name=ms_ssim' -f null -

That seems to be a third party addon not provided by FFmpeg itself.

Please Note: You can add/remove support for more native ffmpeg quality metrics...but please do not change the JSON output structure as I am using it extensively as an input to another program....thanks

Sure, I have experienced such problems myself and I'll promise not to change it! I will get back to this issue (and a few other VMAF-related problems) later in May.

@ls-milkyway
Copy link

ls-milkyway commented May 3, 2022

That seems to be a third party addon not provided by FFmpeg itself.

Yep, but I guess MS-SSIM is better evaluation than SSIM OR DSSIM...hence you can include MS-SSIM instead of SSIM OR DSSIM. As I am not an expert regarding video quality evaluation algorithms ....just saw some articles....so it's up to you to decide. Thanks.

@slhck
Copy link
Owner

slhck commented May 4, 2022

You can get MS-SSIM through VMAF (https://github.com/Netflix/vmaf/blob/master/libvmaf/src/feature/ms_ssim.c), so it should be possible to enable it. I will have to add support to map the respective CLI options though.

@slhck
Copy link
Owner

slhck commented Jan 5, 2023

Note that MS-SSIM evaluation is now possible starting with version 3.x of this program. See the --vmaf-features option as explained in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants