How to Compare? #46
Replies: 7 comments 6 replies
-
I don't think this is possible. Because a transcode with simply a preset chosen will also be using the default CRF value (23 is the default when using libx264, 28 is the default when using libx265), and a transcode with simply a CRF value chosen will be using the default preset (medium). So, if using the x265 encoder, you'd be calculating the average of You need to perform one transcode that uses both preset So you'd run something like:
Then:
Then you can simply compare the results. This does mean having to run two commands, but it's a simpler thing for me to implement. At some point, I can try to implement the ability to compare a combination of two parameters with a combination of another two parameters, but this would be a little more involved to implement as you can imagine. The command you'd need to run if I implement such a feature could be something like:
Somewhat ironically, I don't know much about VMAF, SSIM and PSNR. I have not been involved in the development of any of these metrics, VQM just uses them through FFmpeg. VMAF specific questions are best asked in the VMAF repository. I don't see an option to start a discussion, but I suppose you can open an issue to ask a question related to VMAF. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for your response.
How would I compare them? Can I use VQM? If so, is there a way to do it using Overview Mode so I don't have to compare the entire videos?
If you do implement this, combining this with Overview Mode would be so helpful. Please lmk if you do! |
Beta Was this translation helpful? Give feedback.
-
Both commands would produce a table with a single row with the VMAF score (and optionally) SSIM and PSNR. Simply compare the values. I know that comparison would be easier if the data was on the same table, but unless I implement the more complex feature that allows you to compare combinations of different parameters and values, the data will be in different tables as each run of VQM will produce its own table.
As implied with "I can implement the ability...", not yet. I'll let you know when VQM supports the ability to specify a particular CRF value when comparing presets, or a particular preset when comparing CRF values.
It will probably work with Overview Mode. I will test to confirm this, when implementing the aforementioned feature. |
Beta Was this translation helpful? Give feedback.
-
By the way, I have updated my first comment to explain why calculating the average score after performing a transcode with preset |
Beta Was this translation helpful? Give feedback.
-
Thanks again for your responses.
Looking forward to it!
Got it. This is helpful, thank you. |
Beta Was this translation helpful? Give feedback.
-
@nothing2obvi After commit e9cef91, VQM allows you to set global encoder options (using FFmpeg syntax) that apply to all transcodes. So you can not only set a particular CRF value or preset, but also things like Here's an example of how to set the preset to
Another example, where the preset is set to
If you have any questions, or run into any issues, let me know. |
Beta Was this translation helpful? Give feedback.
-
Combination Mode has also been added. To activate Combination Mode, specify the For example, if you want to compare the quality achieved with:
You would run something like:
The table produced will look something like this:
|
Beta Was this translation helpful? Give feedback.
-
Hey, thanks again for helping me with the Mac issue with FFmpeg. I just have a quick question, in your experience.
Since VQM only compares by one parameter (preset, CRF, etc.), using the results, how would you suggest comparing these two settings?:
Let's say just for example these were the results, using VMAF:
Would you just take the average?
I'm sure it's probably much more complicated than that, but how would you approach this, given the data and your experience? Would you include PSNR and SSIM in your calculations? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions