-
Notifications
You must be signed in to change notification settings - Fork 275
Integrate AV-Metrics #2184
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
Integrate AV-Metrics #2184
Conversation
lu-zero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be a good idea to remove from the encoder the psnr feature and keep it only in the command line.
We should discuss it today.
lu-zero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an API breaking change, albeit small.
c8d04f6 to
a199b59
Compare
0a20094 to
8aee1fe
Compare
|
Currently, it works without touching/calculating inside API. It is done in rav1e binary's encode_loop. Mering depends on a few factors and PRs
Needs a clean up after the above things to be merged |
lu-zero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It requires some changes and some discussion.
c4c4df2 to
a621683
Compare
lu-zero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some issue to address. Beside that I'm fine with it.
a23b6e0 to
fa100d1
Compare
8c33be2 to
f449299
Compare
|
@sdroege can you confirm this is not going to break the gst plugin? |
Changes addressed, waiting for gst review before approving
0e935d1 to
3232c16
Compare
This commit introduces: - Frame Metrics function to calculate PSNR, PSNR-HVS, SSIM, MS-SSIM, CIEDE2000. - Quality Metrics Structure to store all the calculated values - Adding METRICS as an argument - Updates --psnr calculation based on av-metrics - Show calculated metrics in a neat way - Introduce metrics_cli as an additional parameter for process_frame as parse_cli is an expensive function to be made in encode_loop, to make it more efficient we have moved metrics_cli enum as an argument to process_frame and making the calculation in do_encode function.
3232c16 to
a8705fb
Compare
Compiles and tests are still passing too. Is there anything specific you want me to test otherwise? Also don't worry about breaking API for the GStreamer plugin at least, I'm fine with updating regularly as long as you follow semver :) |
lu-zero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems good to me as well.
This patchset introduces av-metrics to rav1e, so after encoding we can get PNSR, PSNR-HVS, CIDE2000, SSIM etc.
Things to do:
APSNRThis PR Closes #1762