Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
15th January 2019, 03:07 | #1 | Link |
Registered User
Join Date: Dec 2017
Posts: 90
|
Plugin for displaying H264 quantization multiplier on a per-block basis?
I was wondering if there was a way to load an h264 file in such a way that not the image is displayed, but rather the quantization multiplier of each block is displayed visually, so that you could do the following:
A.) Optimize bit allocation if you are an encoder B.) Combine two different encodes of the same source for maximum quality My main desire is B. Imagine you have the same source, but two different encodes. Of course you can just average them out or Median if you have more than 2. But that isn't really taking the potential quality to the limit I think. If you could display the bit allocation/quantization multiplier visually for each encode, you could create masks out of that information with a bit of extra processing and then simply use the better looking blocks with more allocated bits from each encode, combining both encodes for maximum quality. Of course I'm not sure how well that would work in encodes made using strong psy-rd or other psychovisual algorithms, but I think it's worth a try nonetheless. Last edited by TomArrow; 15th January 2019 at 08:47. Reason: Spelling mistake |
15th January 2019, 16:51 | #2 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
|
|
15th January 2019, 16:55 | #3 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
One way to display the mb quantizers as numbers in an overlay is to use ffdshow as the directshow decoder (e.g. construct a graphstudio/graphedit graph), enable ffdshow's quantizer visualization , and use directshowsource in avisynth referencing the graph . But it's just an overlay , you cannot pull the actual numbers or use them in calculations
Any general approach or plugin would need access at the decoder level. By the time it passes the source filter, it's uncompressed data. |
|
|