-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature Request: Add a way to keep quality between multiple files similar #280
Comments
To get consistent results across files if just use the same crf when encoding all files. Perhaps run crf-search on some of the files first to get an idea for that single crf. So I don't think I'd be motivated to write anything special for this purpose, however this should be scriptable using ab-av1 particularly if we add json stdout-format for crf-search (#241). E.g. you could write a script to crf-search on some/all files then use a single crf value to encode all. |
It's difficult the with the way FileFlows works as it processes each file individually and I'd have to come up with my own scheme for state-management. Thus I was hoping ab-av1 could take that of me as it already has all the necessary state I would need. But I understand of course that you don't feel like this is something that should be ab-av1's responsibility. So feel free to close this. Thank you anyway for responding. |
You say you use ab-av1 and crf-search to find suitable crf for each file, and then use the parameter for fileflows and it still get inconsistent results? Or do you check one file, and do the rest of the show with that crf? I've done the same, batch crf-search my folders, and then process them in fileflows with the "correct" crf. |
First version. I used to run ab-av1 for each file individually and thus get different results sometimes but I already improvement my flows by now and only run ab-av1 on the first file and apply that crf to all other files in that folder. |
Another idea, but i needs some manual work. Of course this only works without mess if the episodes don't have chapters already and remember: mkvtools split @ keyframes, not at timeframes and these will differ 99% vs the source after encoding. |
Problem: I use FileFlows to process all my media and as part of that process i use ab-av1 to calculate vmaf and encoding settings. This works wonderfully and keeps my media consistent. One problem this approach has is that different episodes of the same show produce very different results due to minimal variations between episodes ( I aim for a very high VMAF ~ 96 so even small adjustments can lead to filesize differences in the +50-100% range).
Ideal scenario: I would like there to be some easy-to-use mechanism that ensures consistency between episodes (or in general similar files).
Proposed solution: The solution I came up with is adding a "context-directory" parameter to ab-av1. This parameter would specify a directory of files that would serve as context to the current operation. ab-av1 would then look up all the files in the context directory and check the cache-db if one or more of the files in it have already been run through ab-av1. If it finds a match it would start the sampling process with the "saved" settings that already worked for its "sibling", and if the VMAF outcome is within some +-percentage of the "sibling" just reuse those settings.
I hope this proposal is feasable and something you see as useful for ab-av1. Feel free to contact me for any questions you might have.
Thank you for this awesome project.
The text was updated successfully, but these errors were encountered: