madVR + XySubFilter causes color(space) issues in windowed mode

2 posters

Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Fri Sep 13, 2019 5:35 pm

madVR + XySubFilter causes color(space) issues in windowed mode and it's bugging me out. Either I haven't noticed this recently or it's a regression, but while watching video I noticed that while madVR is set and XySubFilter is used as the subtitle renderer, the video seemingly has a sharpness filter applied and/or the colors are weird.
MPC-HC Output:
madVR + XySubFilter causes color(space) issues in windowed mode HOCHSlX

This does not occur with madVR+XySubFilter while in full-screen, only while windowed.

K-Lite Codec Pack version 15.1.9 Full

madVR + XySubFilter (colors are wrong):
madVR + XySubFilter causes color(space) issues in windowed mode LWmWsoa
madVR + Internal Subtitle Renderer (colors are accurate):
madVR + XySubFilter causes color(space) issues in windowed mode OAaiu46

Might not look different, but compare the images in two separate browser tabs and you'll notice.

This issue only occurs with madVR+XySubFilter. I prefer XySubFilter since it's fast and has subtitle resolution scaling or whatever it's called.

MediaInfo:

Code:
Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L3.2
Format settings                : CABAC / 16 Ref Frames
Format settings, CABAC         : Yes
Format settings, Reference fra : 16 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 24 min 15 s
Bit rate                       : 1 179 kb/s
Width                          : 640 pixels
Height                         : 480 pixels
Display aspect ratio           : 4:3
Frame rate mode                : Constant
Frame rate                     : 23.976 (24000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.160
Stream size                    : 205 MiB (82%)
Writing library                : x264 core 157 r2970 5493be8
Encoding settings              : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                       : English
Default                        : Yes
Forced                         : No
MPC-HC info:

Code:
MPC-HC (64-bit)
---------------

Build information:
    Version:            1.8.7 (1cec1bbe9)
    Compiler:           MSVC v19.16.27032.01
    Build date:         Jul 17 2019

LAV Filters:
    LAV Splitter:       0.74.1.24
    LAV Video:          0.74.1.24
    LAV Audio:          0.74.1.24
    FFmpeg compiler:    MinGW-w64 GCC 8.3.0

Operating system:
    Name:               Windows NT 10.0 (build 18362)
    Version:            10.0 (64-bit)

Hardware:
    CPU:                Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    GPU:                Intel(R) HD Graphics 530 (driver version: 21.20.16.4550)

Codec Tweak Tool log:

Code:
Codec Tweak Tool | Log file | Generated at 2019-09-13 20:13:07

#####  System Information  #####

OS:           Windows 10 Home (10.00.18362) (x64)
CPU name:     Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
CPU details:  2592 MHz | 8 core(s) | Family 6 Model 94 Stepping 3
Memory:       8096 MB
Screen size:  1920x1080 (32bits) (60Hz) (125%)
GPU 1:        Intel(R) HD Graphics 530
              VendorID: 8086, DeviceID: 191b, SubSys: 14201043
GPU memory:   1024 MB
GPU driver:   igdumdim64.dll (Version 21.20.16.4550) (11-11-2016)
GPU 2:        NVIDIA GeForce GTX 960M
              VendorID: 10de, DeviceID: 139b, SubSys: 14201043
GPU memory:   2048 MB
GPU driver:   nvldumdx.dll (Version 24.21.13.9924) (9-5-2018)
Audio device: Realtek High Definition Audio
              VendorID: 10ec, DeviceID: 0235, SubSys: 10431420
Audio driver: RTKVHD64.sys (Version 6.0.1.8564) (10-30-2018)

#####  K-Lite Codec Pack  #####

KLCP version: 15.1.9 (base 15.1.6)
KLCP type:    full

Speaker conf: 2.0

MPC renderer: madVR
MPC subs:     xySubFilter
MPC audio:    System Default
MPC decoder:  h264=1 hevc=1 vp9=0 vc1=0 mpeg2=0

#####  Decoder Settings #####

LAV Video:
H264=DXVA2CB HEVC=DXVA2CB VP9=1 VC1=0 MPEG2=1 MPEG4=1 WMV3=0

LAV Audio:
MP3=1 AC3=1 DTS=1 DTSHD=1 EAC3=1 TRUEHD=1 AAC=1 Vorbis=1 LPCM=1 WMA=0

#####  DirectShow Filters (32-bit)  #####

Description:  RTKISDBTSourceFilter
File name:    c:\windows\syswow64\rtkisdbtsource.dll
CLSID:        {1D4AA989-E295-481D-BF5F-C14F7508BB4B}
Merit:        00400000 = MERIT_UNLIKELY

Description:  Xvid MPEG-4 Video Decoder
File name:    c:\windows\syswow64\xvid.ax
CLSID:        {64697678-0000-0010-8000-00AA00389B71}
Merit:        00800002 = MERIT_PREFERRED + 2

Description:  RTKFMSourceFilter
File name:    c:\windows\syswow64\rtkfmsource.dll
CLSID:        {6B368F8C-F383-44D3-B8C2-3A150B70B1C9}
Merit:        00400000 = MERIT_UNLIKELY

Description:  RTKDABSourceFilter
File name:    c:\windows\syswow64\rtkdabsource.dll
CLSID:        {D000F6B2-667C-442E-BBBE-AE284E4043B1}
Merit:        00400000 = MERIT_UNLIKELY

(A total of 83 filters, 4 shown, 79 hidden)

#####  DirectShow Filters (64-bit)  #####

Description:  Xvid MPEG-4 Video Decoder
File name:    c:\windows\system32\xvid.ax
CLSID:        {64697678-0000-0010-8000-00AA00389B71}
Merit:        00800002 = MERIT_PREFERRED + 2

(A total of 73 filters, 1 shown, 72 hidden)

#####  ICM Class Manager (32-bit)  #####

(A total of 2 filters, 0 shown, 2 hidden)

#####  ICM Class Manager (64-bit)  #####

(A total of 2 filters, 0 shown, 2 hidden)

#####  Default source filters (32-bit)  #####

.avs    {D3588AB0-0781-11CE-B03A-0020AF0BA770}  AVI/WAV File Source

(A total of 65 default source filters, 1 shown, 64 hidden)

#####  Default source filters (64-bit)  #####

(A total of 56 default source filters, 0 shown, 56 hidden)

#####  ACM and VFW Codecs (32-bit)  #####

Description:  Xvid MPEG-4 Video Codec
ID:           vidc.XVID
File name:    C:\WINDOWS\SysWOW64\xvidvfw.dll

(A total of 15 codecs, 1 shown, 14 hidden)

#####  ACM and VFW Codecs (64-bit)  #####

Description:  Xvid MPEG-4 Video Codec
ID:           vidc.XVID
File name:    C:\WINDOWS\system32\xvidvfw.dll

(A total of 14 codecs, 1 shown, 13 hidden)
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Admin Sun Sep 15, 2019 1:03 pm

Press Ctrl+J to show madvr details. It must be doing something differently.

The internal render can also render at resolution of the screen:
MPC-HC options > subtitles > default style > uncheck "render subtitles relative to the video frame"

Admin
Admin

Posts : 6051
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Mon Sep 16, 2019 1:19 pm

Here's a screenshot of the debug info. Except for lanczos3 upscaling I don't see any differences.
madVR:

madVR + XySubFilter causes color(space) issues in windowed mode Ktrp7Cf
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Admin Mon Sep 16, 2019 2:18 pm

Try with "DXVA2 copy-back" in settings of LAV Video decoder. I suspect it is a bug with how madvr handles things when DXVA2 native is used.


Admin
Admin

Posts : 6051
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Mon Sep 16, 2019 6:55 pm

Admin wrote:Try with "DXVA2 copy-back" in settings of LAV Video decoder. I suspect it is a bug with how madvr handles things when DXVA2 native is used.
That does seem to be the case, switching to DXVA2 (copy-back) did fix the issue. Is this something within your capabilities or should I report this bug somewhere? At least there's a workaround now Wink
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Admin Tue Sep 17, 2019 11:00 pm

It is most likely already fixed for next release of madvr. You can try this development build if you want:
http://madshi.net/madVRhdrMeasure87.zip
You only need to overwrite the existing files to update.

Development of madvr has been a bit slow this year because its developer has been busy working on a new hardware product. But I predict a new version sometime in the coming months.

Admin
Admin

Posts : 6051
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Sun Sep 29, 2019 8:07 pm

This newer version fixed the problem completely. Looking forward to its inclusion in a future version Smile
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Sat May 29, 2021 12:22 pm

Seems to be broken again.
Using:
- madVR v0.92.17
- LAV Video Decoder 0.75.0.2-git
- XySubFilter 3.2.0.805


Last edited by rctgamer3 on Sat May 29, 2021 4:54 pm; edited 1 time in total
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Admin Sat May 29, 2021 4:46 pm

Use DXVA2 copyback.

I recommend using the internal subtitle renderer. I can't help with problems with XySubFilter.

Admin
Admin

Posts : 6051
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by rctgamer3 Sat Jun 12, 2021 4:44 pm

Not a problem with XySubfilter, though, same issues with internal subrenderer. Problem likely with madVR, though apparently DXVA Native is bug-prone as hell or so i've read.
rctgamer3
rctgamer3

Posts : 7
Join date : 2019-09-13

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Admin Sat Jun 12, 2021 8:54 pm

In the Intel graphics driver settings, disable "Contrast Enhancement", "Fleshtone Enhancement", and Denoise, and whatever other stuff they might have enabled by default. These enhancements make quality worse and cause bugs.

Admin
Admin

Posts : 6051
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

madVR + XySubFilter causes color(space) issues in windowed mode Empty Re: madVR + XySubFilter causes color(space) issues in windowed mode

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum