View Issue Details

IDProjectCategoryView StatusLast Update
0000046madVRbugpublic2013-06-01 18:06
Reportercyberbeing Assigned Tomadshi  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindows 7 SP1OS Version7601
Summary0000046: New Subtitle Interface: 3DLUT not applied to frames with subtitles when yuvMatrix = None
DescriptionmadVR fails to apply 3DLUT gamut correction to video frames with subtitles when the subtitle provider sets yuvMatrix = None
Steps To Reproduce*Create a bogus 3DLUT with swapped channels to make this issue more noticeable.

*Use a Subtitle Provider which sets yuvMatrix = None

*Frames without subtitles will use the 3DLUT. Frames with subtitles will NOT use the 3DLUT. madVR will swap back and forth between the two states during playback.



Additional InformationWhen the Subtitle Provider sets yuvMatrix to a valid value other than None, this issue does not occur, with the 3DLUT always remaining active.
TagsNo tags attached.
madVR Version0.86.2 (Test Build 2013-06-01)
Media Player (with version info)Any
Splitter (with version info)Any
Decoder (with version info)Any
DecodingSoftware
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOn
Problem occurs with modeall modes
GPU ManufacturerNVidia
GPU ModelGT440
GPU Driver Version320.18

Activities

madshi

2013-06-01 15:14

administrator   ~0000108

Doesn't occur here, but I suppose it has been fixed by the changes I did for the other bugs. If you can still reproduce this with v0.86.2, please reopen this bug entry.

cyberbeing

2013-06-01 16:13

reporter   ~0000113

Last edited: 2013-06-01 16:21

Issue still exists in 0.86.2 (Test Build 2013-06-01)

As a reminder, set RGB_CORRECTION=always so XySubFilter performs internal color correction and sets reports the matrix to madVR as None. madVR doesn't use the 3DLUT whenever a subtitle line is not being shown onscreen.

madshi

2013-06-01 16:23

administrator   ~0000114

I wasn't able to reproduce it here. Tested with that Anime music video (Suzumiya Haruhi). With a weird color 3dlut, all frames, with and without subtitles were displayed weird. Both with RGB_CORRECTION = always and = never.

cyberbeing

2013-06-01 16:55

reporter  

3dlut_bug.zip (102,134 bytes)

cyberbeing

2013-06-01 16:56

reporter  

3dlut_active_no_subs.png (539,207 bytes)

cyberbeing

2013-06-01 16:56

reporter  

cyberbeing

2013-06-01 17:03

reporter   ~0000116

Last edited: 2013-06-01 17:05

I've attached a small sample, and some screenshots showing the issue, with RGB_CORRECTION=always

Below is a quick list of my settings.

Test was done with a swapped channel yCMS 3DLUT:
red, XYZ, 18.09300, 9.4652, 95.0910
green, XYZ, 31.86900, 65.7330, 10.4970
blue, XYZ, 44.56500, 24.2460, 2.0531
white, XYZ, 95.09225, 100.1050, 109.2250

Windowed Mode (all don't flush)
Smooth Motion disabled
Catmull-Rom (without AR) chroma
Spline36 (with AR) luma
Color & Gamma controls disabled
Use separate device for Presentation
Use separate device for DXVA
Delay Playback until... disabled
Overlay disabled
CPU queue = 24
GPU queue = 16
Backbuffers = 4

madshi

2013-06-01 18:05

administrator   ~0000118

Ok, found the problem. The 3dlut was actually always applied. However, madVR internally converts the gamut to the 3dlut primaries via shader math. And that wasn't always done, depending on the circumstances. So basically your trick 3dlut was pretty much a standard 3dlut. The main chunk of work is done with madVR shader math, if you just swap some primaries.

Here's a new test build:

http://madshi.net/madVRxy862b.rar

Issue History

Date Modified Username Field Change
2013-04-25 21:34 cyberbeing New Issue
2013-06-01 15:14 madshi Note Added: 0000108
2013-06-01 15:15 madshi Status new => closed
2013-06-01 15:15 madshi Assigned To => madshi
2013-06-01 15:15 madshi Resolution open => fixed
2013-06-01 16:13 cyberbeing madVR Version 0.86.2 (Test Build 2013-04-03) => 0.86.2 (Test Build 2013-06-01)
2013-06-01 16:13 cyberbeing GPU Driver Version 320.00 => 320.18
2013-06-01 16:13 cyberbeing Note Added: 0000113
2013-06-01 16:13 cyberbeing Status closed => feedback
2013-06-01 16:13 cyberbeing Resolution fixed => reopened
2013-06-01 16:21 cyberbeing Note Edited: 0000113
2013-06-01 16:23 madshi Note Added: 0000114
2013-06-01 16:55 cyberbeing File Added: 3dlut_bug.zip
2013-06-01 16:56 cyberbeing File Added: 3dlut_active_no_subs.png
2013-06-01 16:56 cyberbeing File Added: 3dlut_not_active_with_subs.png
2013-06-01 17:03 cyberbeing Note Added: 0000116
2013-06-01 17:03 cyberbeing Status feedback => assigned
2013-06-01 17:05 cyberbeing Note Edited: 0000116
2013-06-01 18:05 madshi Note Added: 0000118
2013-06-01 18:06 madshi Status assigned => closed
2013-06-01 18:06 madshi Resolution reopened => fixed