View Issue Details

IDProjectCategoryView StatusLast Update
0000092madVRbugpublic2013-06-23 11:03
Reporterkasper93 Assigned Tomadshi  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000092: XySubFilter: Sharders are only applied to subtitles if video is not resized.
DescriptionTake a look at this two screenshots
Not resized:
https://dl.dropboxusercontent.com/u/16282309/mad/xy_mad_sub.png
Resized:
https://dl.dropboxusercontent.com/u/16282309/mad/xy_mad_sub_resized.png

Note that whole video frame is affected and color is little different. You should be able to see that on screenshot. When I disable 3dlut it seems I can't see this difference, but subtitles are still not processed by sharder.

I think it's enough data to reproduce. Let me know if you need more info.
TagsNo tags attached.
madVR Version0.86.6
Media Player (with version info)MPC-HC 1.6.9.7482 (051e77d)
Splitter (with version info)LAV (5b6ed90)
Decoder (with version info)LAV (5b6ed90)
DecodingSoftware
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOn
Problem occurs with modewindowed mode
GPU ManufacturerAMD
GPU ModelHD5870
GPU Driver Version13.6

Activities

madshi

2013-06-23 07:09

administrator   ~0000241

There are 2 stages where shaders can be run: Before and after video resizing. Subtitles are also drawn either before or after video resizing, depending on circumstances. Basically the madVR processing chain is this:

(1) Convert video to RGB.
(2) Blend subtitles if XySubFilter rendered them in the original video resolution.
(3) Perform pre-scaling shaders.
(4) Scale video.
(5) Blend subtitles if XySubFilter rendered them in the final after-scaling video resolution.
(6) Perform post-scaling shaders.
(7) ...

If we're talking about bitmap subtitles (PGS, SUP, ...), those are usually in the resolution of the original video, so madVR can blend these onto the video already in step (2), which means that all shaders (pre- and post-scaling) do affect the subtitles, too.

However, text based subtitles (ASS, SRT, ...) are usually rendered by XySubFilter in the final (after scaling) video resolution, to achieve the best possible subtitle image quality. Since the subtitle resolution in this case matches the after-scaling video resolution and not the original unscaled video resolution, madVR has no other choice than to blend these subtitles onto the video image at step (5). As a result pre-scaling shaders do not affect text based subtitles, if you scale the video. This is by design and can not be changed.

There are 2 ways to work around this problem for you:

(1) Run those shaders (which you need to affect your text based subtitles) *after* scaling, not before.
(2) Or alternatively tell XySubFilter/madVR to render the text based subtitles in the resolution of the original video, instead of in the final (after-scaling) video resolution. Of course doing this will result in lowered subtitle image quality.

Currently XySubFilter/madVR do not offer that option I mentioned in (2), but it's likely to be added at some time in the future, either in madVR or in XySubFilter.

I believe this is not a bug, but a simple consequence of you using text based subtitles with a pre-scaling shader. As a result I'll close this one. If my assumptions are incorrect, please re-open this bug entry.

madshi

2013-06-23 11:03

administrator   ~0000243

Report coming via email: Post-scaling shaders don't affect text based subtitles, either.

madshi

2013-06-23 11:03

administrator   ~0000244

Will be fixed in the next build.

Issue History

Date Modified Username Field Change
2013-06-22 23:34 kasper93 New Issue
2013-06-23 07:09 madshi Note Added: 0000241
2013-06-23 07:10 madshi Status new => closed
2013-06-23 07:10 madshi Assigned To => madshi
2013-06-23 07:10 madshi Resolution open => no change required
2013-06-23 11:02 madshi Status closed => feedback
2013-06-23 11:02 madshi Resolution no change required => reopened
2013-06-23 11:03 madshi Note Added: 0000243
2013-06-23 11:03 madshi Note Added: 0000244
2013-06-23 11:03 madshi Status feedback => closed
2013-06-23 11:03 madshi Resolution reopened => fixed