-
Notifications
You must be signed in to change notification settings - Fork 155
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 vmaf-subsample #825
base: master
Are you sure you want to change the base?
Conversation
I just tested with a heavy motion action scene and while it seems like they all chose the min crf of 8 the logs show a completely different picture. Looks like subsample is actually smart enough to limit itself so it doesnt try to go to high during high movement scenarios where as probe doesnt and probe 3 shows a min vmaf of 0. Testing on a 30 second 1080p clip with lots of motion defaultreal 3m1.954s Min VMAF: 91.71 probe 2real 2m39.683s Min VMAF: 91.97 probe 3real 2m19.869s Min VMAF: 0 subsample 3real 3m0.207s Min VMAF: 91.54 subsample 9real 3m0.877s Min VMAF: 91.54 |
Add vmaf-subsample as an alternative to probing-rate as it is more accurate while still providing a speed benefit compared to without it
renamed to probing-subsample as it only applies to probes and not the final vmaf similar to probing-rate |
this also only provides a benefit if vmaf is the slowest part of the target quality process so you will not see many changes using --probe-slow if you are using a slow preset. |
I think the code looks fine, but I don't normally use the VMAF features to know more about how useful this is. Thoughts @redzic @master-of-zen ? |
This is very much expected, because the difference between probing-rate and the vmaf subsample feature is simply that with the latter, the motion component still runs on all frames, avoiding distorted offsets for the motion component. |
Add vmaf-subsample as an alternative to probing-rate as it is more accurate while still providing a speed benefit compared to without it
Closes #806
Looks like probe-rate 3 in this example is useless as it messes up the quality so bad it just uses 8 crf which was my min while subsample doesnt seem to run into any issues with setting it a bit to high.
Testing on a 30 second 1080p clip with little motion
Target quality of 96 using x265 fast with extra-split 240 comes out to 7 scenes
default
real 3m34.966s
user 24m37.871s
sys 2m58.700s
probe 2
real 1m45.946s
user 11m48.243s
sys 1m41.285s
probe 3
real 1m44.766s
user 10m12.201s
sys 1m30.548s
subsample 3
real 2m35.967s
user 17m47.618s
sys 2m25.497s
subsample 9
real 2m8.224s
user 14m7.415s
sys 1m50.762s