When trying to encode this anime (16-bit PNG) my filtering greatly benefited from applying the descale plugin in some uncommon ways. Since the ideas are theoretically reasonable, I wish they could be implemented from the plugin side in a better form.
Descaling by field
For this anime, a possible choice of parameters for getting rid of cross-conversion is
The result needs a src_top=1/3 shift for correct centering. Another "common" pair of offsets are src_top=1/12 for top field and src_top=-1/12 for bottom (example).
Descaling with border padding
By descaling as mentioned above, you may immediately see the border brightness artifact is much amplified in the output.
I guessed the artifact in the source was caused by upscaling with poor border handling, so I simulated the situation as if the fields were upscaled from 362p content with black top and bottom lines, and did the following instead:
The result was not perfect, but the amplification was successfully suppressed, so that post-processing was made possible with less radius and minimal strength. Similar approaches work for a number of 2010s anime with 720p native resolution with border brightness issues.
It might be possible to implement in the descale plugin by directly adjusting scaling weights, and hopefully the result could be more accurate than the current zero-value padding approach (which naturally incurs underflow).
When trying to encode this anime (16-bit PNG) my filtering greatly benefited from applying the descale plugin in some uncommon ways. Since the ideas are theoretically reasonable, I wish they could be implemented from the plugin side in a better form.
Descaling by field
For this anime, a possible choice of parameters for getting rid of cross-conversion is
The result needs a
src_top=1/3
shift for correct centering. Another "common" pair of offsets aresrc_top=1/12
for top field andsrc_top=-1/12
for bottom (example).Descaling with border padding
By descaling as mentioned above, you may immediately see the border brightness artifact is much amplified in the output.
I guessed the artifact in the source was caused by upscaling with poor border handling, so I simulated the situation as if the fields were upscaled from 362p content with black top and bottom lines, and did the following instead:
The result was not perfect, but the amplification was successfully suppressed, so that post-processing was made possible with less radius and minimal strength. Similar approaches work for a number of 2010s anime with 720p native resolution with border brightness issues.
It might be possible to implement in the descale plugin by directly adjusting scaling weights, and hopefully the result could be more accurate than the current zero-value padding approach (which naturally incurs underflow).
Your comments are very much appreciated.