Log in

View Full Version : Media Player Classic - BE Win32/x64


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 [143] 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235

v0lt
31st January 2020, 17:52
I mean when DXVA2 is used for resize, then the upscaling/downscaling shader isn't used, right?
Right. Not used.

@Klaus1189
Thanks. Updated in r5052.

wushantao
2nd February 2020, 09:31
hi~

i can't find "event" and "push" from the wasapi method option in mplayerc.XX.rc.txt

can you put the strings "event" and "push" into mplayerc.XX.rc.txt?

:)

Aleksoid1978
2nd February 2020, 11:54
hi~

i can't find "event" and "push" from the wasapi method option in mplayerc.XX.rc.txt

can you put the strings "event" and "push" into mplayerc.XX.rc.txt?

:)

It's technical "name" - there is no need to translate.

huhn
4th February 2020, 11:17
mpc-be build 4969 with mpc-vr 1060 closes on start when lavfilter is forced to output p010 mpc-vr settings doesn't seem to matter.
software decoding is used source is 8 bit.

found more clues video has to be "VP9" with a selected hardware decoder but it falls back to software.

so the player closes when a hardware decoder is supposed to be used but lavfilter fallback to software decoding.

Aleksoid1978
4th February 2020, 12:43
mpc-be build 4969 with mpc-vr 1060 closes on start when lavfilter is forced to output p010 mpc-vr settings doesn't seem to matter.
software decoding is used source is 8 bit.

found more clues video has to be "VP9" with a selected hardware decoder but it falls back to software.

so the player closes when a hardware decoder is supposed to be used but lavfilter fallback to software decoding.

Can't confirm. Tested on latest git version - https://yadi.sk/d/462c_ERVDmAy6A

huhn
4th February 2020, 18:57
no difference on that version.

Aleksoid1978
4th February 2020, 22:57
Try latest svn MPC-BE - https://yadi.sk/d/hlf1lfC8mKU58/!_last

huhn
5th February 2020, 13:47
same but i just found this in the event viewer.

Faulting application name: mpc-be64.exe, version: 1.5.5.5060, time stamp: 0x5e3a3bc1
Faulting module name: MpcVideoRenderer64.ax, version: 0.4.0.1123, time stamp: 0x5e3958a9
Exception code: 0xc0000005
Fault offset: 0x0000000000041320
Faulting process ID: 0x1670
Faulting application start time: 0x01d5dc220df2200d
Faulting application path: C:\Program Files\MPC-BE x64\mpc-be64.exe
Faulting module path: C:\MPCVideoRenderer-v0.3.2.860\MpcVideoRenderer64.ax
Report ID: dafe5f23-ca8a-4f6a-9057-40d4e539048c
Faulting package full name:
Faulting package-relative application ID:

just to make that clear i test something every odd here with normal lavfilter settings it works.

Aleksoid1978
6th February 2020, 00:07
same but i just found this in the event viewer.

Faulting application name: mpc-be64.exe, version: 1.5.5.5060, time stamp: 0x5e3a3bc1
Faulting module name: MpcVideoRenderer64.ax, version: 0.4.0.1123, time stamp: 0x5e3958a9
Exception code: 0xc0000005
Fault offset: 0x0000000000041320
Faulting process ID: 0x1670
Faulting application start time: 0x01d5dc220df2200d
Faulting application path: C:\Program Files\MPC-BE x64\mpc-be64.exe
Faulting module path: C:\MPCVideoRenderer-v0.3.2.860\MpcVideoRenderer64.ax
Report ID: dafe5f23-ca8a-4f6a-9057-40d4e539048c
Faulting package full name:
Faulting package-relative application ID:

just to make that clear i test something every odd here with normal lavfilter settings it works.

Test on this "set" - https://yadi.sk/d/Z6S8gGdwuUMsXA. Enable MiniDump - Options -> Miscellaneous.
If after crash MPC-BE create dump file - upload it for me.

huhn
6th February 2020, 14:53
here you go:
http://s000.tinyupload.com/index.php?file_id=08382259697457352508

Aleksoid1978
7th February 2020, 00:04
here you go:
http://s000.tinyupload.com/index.php?file_id=08382259697457352508

Show LAV Video settings & MPC VR settings.
Also give MediaInfo for your file or upload short sample.

huhn
7th February 2020, 09:58
https://abload.de/img/forcep010qmjrr.png
https://abload.de/img/forcep010mpcvroij36.png
file: http://s000.tinyupload.com/index.php?file_id=09677977137616059722

the file here should be hardware decoded but lavfilter is falling back to software GPU 5700 XT.

Aleksoid1978
7th February 2020, 10:29
https://abload.de/img/forcep010qmjrr.png
https://abload.de/img/forcep010mpcvroij36.png
file: http://s000.tinyupload.com/index.php?file_id=09677977137616059722

the file here should be hardware decoded but lavfilter is falling back to software GPU 5700 XT.

It's working with madVR ? DXVA or software decoding ?

huhn
7th February 2020, 10:40
yes works with madVR d3d11 and DXVA2 falling back to software sending p010.

mpcVR crashes when a VP9 profile 0 stream fallback to software decoding with a different output type in this case p010.

Shark007
7th February 2020, 12:02
Faulting module path: C:\MPCVideoRenderer-v0.3.2.860\MpcVideoRenderer64.ax

Maybe you should test with current release of the renderer v0.4.0.1124 (https://yadi.sk/d/AjAXDDHtHRIELg/MPC%20Video%20Renderer)

huhn
7th February 2020, 13:00
i didn't care about the folder name the version is the test version he wanted me to test: Faulting module name: MpcVideoRenderer64.ax, version: 0.4.0.1123, time stamp: 0x5e3958a9

v0lt
7th February 2020, 14:37
huhn
Record the log using the debug version of MPC VR (https://yadi.sk/d/X0EVMKP4TcmnHQ) and DebugView (https://docs.microsoft.com/en-us/sysinternals/downloads/debugview).

added:
I can’t get a crash. Win8.1, MPC-BE 5046/5063 x64 + MPC VR 1126 + LAV Video Decoder 0.74.1.13.
Nvidia GTX 950 decodes hardware - DXGI_NV12
Intel HD 4000 decodes software - P010

huhn
7th February 2020, 16:06
[\\DESKTOP-Q0AA7MI]
00000003 4.85314131 [1640] OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
00000004 4.85361290 [1640] Loaded Config for Local Override Path for App ID 413080, Controller 0: D:\Steam/controller_base/empty.vdf
00000005 5.48875284 [1640] OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
00000006 5.48929119 [1640] Loaded Config for Local Override Path for App ID 413080, Controller 0: D:\Steam/controller_base/empty.vdf
00000007 5.52361107 [10720] Loading modified build of detours library designed for MPC-HC player (http://sourceforge.net/projects/mpc-hc/)
00000008 5.79585218 [1640] OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
00000009 5.79633141 [1640] Loaded Config for Local Override Path for App ID 413080, Controller 0: D:\Steam/controller_base/empty.vdf
00000010 6.88179541 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : Windows 10
00000011 6.88183498 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : MPC Video Renderer v0.4.0.1126 (git-2020.02.07-341bea6) x64 DEBUG
00000012 6.88190699 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : CDX11VideoProcessor::Init()
00000013 6.88197374 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : CDX11VideoProcessor::ReleaseDevice()
00000014 6.88198948 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : CDX11VideoProcessor::ReleaseVP()
00000015 6.88201666 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : CDX11VideoProcessor::ClearPostScaleShaders().
00000016 6.88236618 [10720] MpcVideoRenderer64.ax(tid 30d0) 22 : D3D11_1SDKLayers.dll could not be loaded. D3D11 debugging messages will not be displayed
00000017 6.90024233 [10720] MpcVideoRenderer64.ax(tid 30d0) 40 : CDX11VideoProcessor::Init() : D3D11CreateDevice() successfully with feature level 11.1
00000018 6.90025616 [10720] MpcVideoRenderer64.ax(tid 30d0) 40 : CDX11VideoProcessor::SetDevice()
00000019 6.90027380 [10720] MpcVideoRenderer64.ax(tid 30d0) 40 : CDX11VideoProcessor::ReleaseDevice()
00000020 6.90028811 [10720] MpcVideoRenderer64.ax(tid 30d0) 40 : CDX11VideoProcessor::ReleaseVP()
00000021 6.90031195 [10720] MpcVideoRenderer64.ax(tid 30d0) 40 : CDX11VideoProcessor::ClearPostScaleShaders().
00000022 6.90360975 [10720] MpcVideoRenderer64.ax(tid 30d0) 44 : Supported input DXGI formats (for 1080p):
00000023 6.90360975 [10720] B8G8R8A8_UNORM
00000024 6.90360975 [10720] B8G8R8X8_UNORM
00000025 6.90360975 [10720] B8G8R8A8_UNORM_SRGB
00000026 6.90360975 [10720] NV12
00000027 6.90360975 [10720] P010
00000028 6.90360975 [10720] 420_OPAQUE
00000029 6.90360975 [10720] YUY2
00000030 6.90363836 [10720] MpcVideoRenderer64.ax(tid 30d0) 44 : Supported output DXGI formats (for 1080p):
00000031 6.90363836 [10720] R16G16B16A16_FLOAT
00000032 6.90363836 [10720] R10G10B10A2_UNORM
00000033 6.90363836 [10720] R8G8B8A8_UNORM
00000034 6.90363836 [10720] R8G8B8A8_UNORM_SRGB
00000035 6.90363836 [10720] B8G8R8A8_UNORM
00000036 6.90363836 [10720] B8G8R8X8_UNORM
00000037 6.90363836 [10720] R10G10B10_XR_BIAS_A2_UNORM
00000038 6.90363836 [10720] B8G8R8A8_UNORM_SRGB
00000039 6.90363836 [10720] NV12
00000040 6.90363836 [10720] P010
00000041 6.90651941 [10720] MpcVideoRenderer64.ax(tid 30d0) 46 : CDX9Device::InitDX9Device()
00000042 6.90692711 [10720] MpcVideoRenderer64.ax(tid 30d0) 47 : Display Mode: 1920x1080, 240p
00000043 6.94155455 [10720] MpcVideoRenderer64.ax(tid 30d0) 81 : => CreateDeviceEx() : S_OK
00000044 6.94159603 [10720] MpcVideoRenderer64.ax(tid 30d0) 82 : Graphics adapter: AMD Radeon RX 5700 XT (1002:731F)
00000045 6.94830656 [10720] MpcVideoRenderer64.ax(tid 30d0) 88 : Direct3D11 initialization successfully!
00000046 6.94965219 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CDX11VideoProcessor::Init()
00000047 6.94973183 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CDX11VideoProcessor::InitSwapChain()
00000048 6.95024729 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CVideoRendererInputPin::ReceiveConnection()
00000049 6.95027208 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CMpcVideoRenderer::SetMediaType()
00000050 6.95030499 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CDX11VideoProcessor::InitMediaType()
00000051 6.95036221 [10720] MpcVideoRenderer64.ax(tid 30d0) 90 : CDX11VideoProcessor::ReleaseVP()
00000052 6.95239782 [10720] MpcVideoRenderer64.ax(tid 30d0) 92 : CDX11VideoProcessor::InitializeTexVP() started with input surface: NV12, 1920 x 1080
00000053 6.95294380 [10720] MpcVideoRenderer64.ax(tid 30d0) 93 : GetShaderConvertColor() started for NV12 1920x1080 extfmt:0x288d2500 chroma:0
00000054 6.95296574 [10720] MpcVideoRenderer64.ax(tid 30d0) 93 : GetShaderConvertColor() frame consists of 2 planes
00000055 6.95303440 [10720] MpcVideoRenderer64.ax(tid 30d0) 93 : GetShaderConvertColor() set chroma location MPEG-2
00000056 6.95664978 [10720] MpcVideoRenderer64.ax(tid 30d0) 97 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000057 6.95825052 [10720] MpcVideoRenderer64.ax(tid 30d0) 98 : CMpcVideoRenderer::CalcImageSize() buffer size changed from 1920x1080 to 2048x1080
00000058 6.95828390 [10720] MpcVideoRenderer64.ax(tid 30d0) 98 : CMpcVideoRenderer::SetMediaType() : upstream filter accepted new media type. QueryAccept return S_OK
00000059 6.95830059 [10720] MpcVideoRenderer64.ax(tid 30d0) 98 : CDX11VideoProcessor::InitMediaType()
00000060 6.95831680 [10720] MpcVideoRenderer64.ax(tid 30d0) 98 : CDX11VideoProcessor::ReleaseVP()
00000061 6.95860815 [10720] MpcVideoRenderer64.ax(tid 30d0) 99 : CDX11VideoProcessor::InitializeTexVP() started with input surface: NV12, 1920 x 1080
00000062 6.95900297 [10720] MpcVideoRenderer64.ax(tid 30d0) 99 : GetShaderConvertColor() started for NV12 1920x1080 extfmt:0x288ca500 chroma:0
00000063 6.95902252 [10720] MpcVideoRenderer64.ax(tid 30d0) 99 : GetShaderConvertColor() frame consists of 2 planes
00000064 6.95906544 [10720] MpcVideoRenderer64.ax(tid 30d0) 99 : GetShaderConvertColor() set chroma location MPEG-2
00000065 6.96099997 [10720] MpcVideoRenderer64.ax(tid 30d0) 101 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000066 6.99651766 [10720] MpcVideoRenderer64.ax(tid 30d0) 129 : CVideoRendererInputPin::GetAllocator()
00000067 6.99937344 [10720] MpcVideoRenderer64.ax(tid 30d0) 133 : CDX11VideoProcessor::ClearPostScaleShaders().
00000068 7.02087688 [10720] MpcVideoRenderer64.ax(tid 3810) 161 : CMpcVideoRenderer::Pause()
00000069 7.02117586 [10720] MpcVideoRenderer64.ax(tid 3874) 161 : CMpcVideoRenderer::NewSegment()
00000070 7.03836012 [10720] MpcVideoRenderer64.ax(tid 38b4) 178 : CVideoRendererInputPin::ReceiveConnection()
00000071 7.03844070 [10720] MpcVideoRenderer64.ax(tid 38b4) 178 : CVideoRendererInputPin::GetAllocator()
00000072 7.03849745 [10720] MpcVideoRenderer64.ax(tid 38b4) 178 : CDX11VideoProcessor::InitMediaType()
00000073 7.03854799 [10720] MpcVideoRenderer64.ax(tid 38b4) 178 : CDX11VideoProcessor::ReleaseVP()
00000074 7.03894234 [10720] MpcVideoRenderer64.ax(tid 38b4) 179 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000075 7.03981352 [10720] MpcVideoRenderer64.ax(tid 38b4) 180 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca500 chroma:0
00000076 7.03987265 [10720] MpcVideoRenderer64.ax(tid 38b4) 180 : GetShaderConvertColor() frame consists of 2 planes
00000077 7.03992796 [10720] MpcVideoRenderer64.ax(tid 38b4) 180 : GetShaderConvertColor() set chroma location MPEG-2
00000078 7.04203367 [10720] MpcVideoRenderer64.ax(tid 38b4) 182 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000079 7.04289341 [10720] MpcVideoRenderer64.ax(tid 38b4) 183 : CMpcVideoRenderer::SetMediaType()
00000080 7.04296017 [10720] MpcVideoRenderer64.ax(tid 38b4) 183 : CDX11VideoProcessor::InitMediaType()
00000081 7.04300642 [10720] MpcVideoRenderer64.ax(tid 38b4) 183 : CDX11VideoProcessor::ReleaseVP()
00000082 7.04323769 [10720] MpcVideoRenderer64.ax(tid 38b4) 183 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000083 7.04373932 [10720] MpcVideoRenderer64.ax(tid 38b4) 184 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca500 chroma:0
00000084 7.04377747 [10720] MpcVideoRenderer64.ax(tid 38b4) 184 : GetShaderConvertColor() frame consists of 2 planes
00000085 7.04382181 [10720] MpcVideoRenderer64.ax(tid 38b4) 184 : GetShaderConvertColor() set chroma location MPEG-2
00000086 7.04585218 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000087 7.04604340 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : CDX11VideoProcessor::InitMediaType()
00000088 7.04606390 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : CDX11VideoProcessor::ReleaseVP()
00000089 7.04631376 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000090 7.04642248 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca500 chroma:0
00000091 7.04646254 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : GetShaderConvertColor() frame consists of 2 planes
00000092 7.04651213 [10720] MpcVideoRenderer64.ax(tid 38b4) 186 : GetShaderConvertColor() set chroma location MPEG-2
00000093 7.04839182 [10720] MpcVideoRenderer64.ax(tid 38b4) 188 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000094 7.04961538 [10720] MpcVideoRenderer64.ax(tid 38b4) 189 : CVideoRendererInputPin::ReceiveConnection()
00000095 7.04965782 [10720] MpcVideoRenderer64.ax(tid 38b4) 189 : CVideoRendererInputPin::GetAllocator()
00000096 7.04969454 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : CDX11VideoProcessor::InitMediaType()
00000097 7.04974413 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : CDX11VideoProcessor::ReleaseVP()
00000098 7.04996777 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000099 7.05046415 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca581 chroma:0
00000100 7.05048227 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : GetShaderConvertColor() frame consists of 2 planes
00000101 7.05053616 [10720] MpcVideoRenderer64.ax(tid 38b4) 190 : GetShaderConvertColor() set chroma location MPEG-2
00000102 7.05246544 [10720] MpcVideoRenderer64.ax(tid 38b4) 192 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000103 7.05297422 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : CMpcVideoRenderer::SetMediaType()
00000104 7.05299282 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : CDX11VideoProcessor::InitMediaType()
00000105 7.05300951 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : CDX11VideoProcessor::ReleaseVP()
00000106 7.05323601 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000107 7.05328226 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca581 chroma:0
00000108 7.05330181 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : GetShaderConvertColor() frame consists of 2 planes
00000109 7.05334949 [10720] MpcVideoRenderer64.ax(tid 38b4) 193 : GetShaderConvertColor() set chroma location MPEG-2
00000110 7.05523443 [10720] MpcVideoRenderer64.ax(tid 38b4) 195 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000111 7.05586243 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : CDX11VideoProcessor::InitMediaType()
00000112 7.05588102 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : CDX11VideoProcessor::ReleaseVP()
00000113 7.05610895 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : CDX11VideoProcessor::InitializeTexVP() started with input surface: P010, 1920 x 1080
00000114 7.05615187 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : GetShaderConvertColor() started for P010 1920x1080 extfmt:0x288ca581 chroma:0
00000115 7.05616951 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : GetShaderConvertColor() frame consists of 2 planes
00000116 7.05621576 [10720] MpcVideoRenderer64.ax(tid 38b4) 196 : GetShaderConvertColor() set chroma location MPEG-2
00000117 7.05802584 [10720] MpcVideoRenderer64.ax(tid 38b4) 198 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000118 7.05894804 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : CMpcVideoRenderer::SetMediaType()
00000119 7.05898952 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : CDX11VideoProcessor::InitMediaType()
00000120 7.05902863 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : CDX11VideoProcessor::ReleaseVP()
00000121 7.05923605 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : CDX11VideoProcessor::InitializeTexVP() started with input surface: NV12, 1920 x 1080
00000122 7.05927992 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : GetShaderConvertColor() started for NV12 1920x1080 extfmt:0x288ca500 chroma:0
00000123 7.05929756 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : GetShaderConvertColor() frame consists of 2 planes
00000124 7.05934334 [10720] MpcVideoRenderer64.ax(tid 38b4) 199 : GetShaderConvertColor() set chroma location MPEG-2
00000125 7.06122732 [10720] MpcVideoRenderer64.ax(tid 38b4) 201 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000126 7.06241131 [10720] MpcVideoRenderer64.ax(tid 38b4) 202 : CDX11VideoProcessor::InitMediaType()
00000127 7.06245422 [10720] MpcVideoRenderer64.ax(tid 38b4) 202 : CDX11VideoProcessor::ReleaseVP()
00000128 7.06273699 [10720] MpcVideoRenderer64.ax(tid 38b4) 203 : CDX11VideoProcessor::InitializeTexVP() started with input surface: NV12, 1920 x 1080
00000129 7.06279612 [10720] MpcVideoRenderer64.ax(tid 38b4) 203 : GetShaderConvertColor() started for NV12 1920x1080 extfmt:0x288ca500 chroma:0
00000130 7.06285286 [10720] MpcVideoRenderer64.ax(tid 38b4) 203 : GetShaderConvertColor() frame consists of 2 planes
00000131 7.06288385 [10720] MpcVideoRenderer64.ax(tid 38b4) 203 : GetShaderConvertColor() set chroma location MPEG-2
00000132 7.06490803 [10720] MpcVideoRenderer64.ax(tid 38b4) 205 : CDX11VideoProcessor::InitializeTexVP() completed successfully
00000133 7.08284378 [10720] MpcVideoRenderer64.ax(tid 50c) 223 : CMpcVideoRenderer::Run()

the debug version of mpc-be or mpcVR is crashing so it doesn't close without the help of the taskmgmt this is different with the none debug versions.

v0lt
7th February 2020, 18:35
I see such function calls. CMpcVideoRenderer::SetMediaType(): NV12, NV12, P010, P010, NV12.
And I don’t understand why the last SetMediaType() sets the NV12 format. This does not happen to me.

huhn
7th February 2020, 19:06
the situation is special here.

the file in question should be hardware decoded and as far as i can see lavfilter even tries to do that with mpc-hc i can see for a very short time the H/W information in the bottom left:
https://abload.de/img/mpc-hc27k63.png

it pretty much impossible to find a file that looks like it is hardware compatible but isn't in the end when using nvidia or intel GPUs.

this is nothing serious anyway i just forced p010 to see issues with D3D11 processing and the new AMD driver i really really don't need this.

Aleksoid1978
8th February 2020, 01:14
the situation is special here.

the file in question should be hardware decoded and as far as i can see lavfilter even tries to do that with mpc-hc i can see for a very short time the H/W information in the bottom left:
https://abload.de/img/mpc-hc27k63.png

it pretty much impossible to find a file that looks like it is hardware compatible but isn't in the end when using nvidia or intel GPUs.

this is nothing serious anyway i just forced p010 to see issues with D3D11 processing and the new AMD driver i really really don't need this.

Try with this debug LAV Filters + DebugView.
https://yadi.sk/d/YEYTL-UjXed24g

v0lt
8th February 2020, 06:54
@huhn
I added more debugging information to MPCVideoRenderer v0.4.0.1129 (https://yadi.sk/d/X0EVMKP4TcmnHQ).

PS: You can use https://pastebin.com/ for large logs.

yonta
8th February 2020, 07:53
mpc-vr uses too much gpu 3d and drops frames on 4k60fps videos in direct3d11 mode.
Is this expected behavior?
I tried mpc-hc and potplayer using mpc-vr and they seem to work fine.

v0lt
8th February 2020, 08:14
mpc-vr uses too much gpu 3d and drops frames on 4k60fps videos in direct3d11 mode.
Is this expected behavior?
If you use a DXVA2 decoder and D3D11 mode, then MPC VR will give a high load. If you do not like it, then use the D3D9 mode.

huhn
8th February 2020, 10:01
here you go:
https://pastebin.com/Dupfh0ih

littleD
8th February 2020, 10:22
mpc-vr uses too much gpu 3d and drops frames on 4k60fps videos in direct3d11 mode.
Is this expected behavior?
I tried mpc-hc and potplayer using mpc-vr and they seem to work fine.I noticed, that mpc vr is slower around the time when dx11 OSD code was changing. The rendere has hiccups especially with 60FPS videos. You may try really old version, pre-osd changes. Go back even with some december 2019 build.
Maybe devs might look on it?

yonta
8th February 2020, 10:52
If you use a DXVA2 decoder and D3D11 mode, then MPC VR will give a high load. If you do not like it, then use the D3D9 mode.

so, it's either use an external d3d11 decoder or stick with d3d9 mode. okay.

huhn
8th February 2020, 12:09
that's why it doesn't work in windows media player but in this "video app" thingy.

so this is clearly not a bug just a feature here is a proof look at it still properly encoding a VP9 video for playback:
https://abload.de/img/amdefknb.png

i'm calling them again monday and tell them this if i didn't loose my mind before... it's so sad.

edit: well i guess i just lay back for while instead.

littleD
8th February 2020, 15:11
so, it's either use an external d3d11 decoder or stick with d3d9 mode. okay.He ment that You have to use same dx version for decoder and renderer.
So dxva2 decoder and dxvd9 renderer
or
dxva11 decoder and dxva11 renderer option.

littleD
8th February 2020, 15:15
that's why it doesn't work in windows media player but in this "video app" thingy.

so this is clearly not a bug just a feature here is a proof look at it still properly encoding a VP9 video for playback:
https://abload.de/img/amdefknb.png

i'm calling them again monday and tell them this if i didn't loose my mind before... it's so sad.

edit: well i guess i just lay back for while instead.Win video App may simply use MFT decoder. It may be win internal, or provided with drivers (custom AMD decoder). Thats why nothing work in other players since they not support MFT. Check this out.

huhn
8th February 2020, 18:04
a post is missing making this out of context.

clsid
8th February 2020, 18:43
An automatic option for D3D9/D3D11 mode would be useful: use D3D9 if input is DXVA2 native, use D3D11 otherwise if supported by the system.

v0lt
8th February 2020, 20:08
I will try to explain what the D3D9 and D3D11 modes mean in MPC-VR.

Direct3D 9 mode
All stages of image processing using only D3D9. DXVA VideoDecoder, DXVA VideoProcesso and shader processing also use D3D9.

Direct3D 11 mode
Most stages of image processing using D3D11. DXVA VideoProcessor is completely replaced with D3D11 VideoProcessor. Shader processing now uses D3D11.
But...
1. DXVA VideoDecoder can be replaced with D3D11 VideoDecoder (LAV). But we had to leave support for DXVA decoders. To do this, we have to copy from the D3D9 video surface to the D3D11 texture, which loads the memory bus (system memory is used).
2. We also have to use the shared D3D9-D3D11 texture so that we can draw subtitles and OSD on it. It turned out a little suboptimal. If anyone can implement the analogs of ISubRenderCallback and CDX9SubPic, then subtitles and OSD can be output as quickly as in D3D9 mode.

In the current state, the effect of the dependencies on D3D9 on the D3D11 mode is as minimal as possible (as far as we succeeded).

Aleksoid1978
9th February 2020, 04:38
huhn
Show screenshot from DXVAChecker to check support or not standart "VP9 Profile 0" mode.

Check playback "VP9 Profile 0" in MPC-BE using internal filters/decoders with EVR-CP - show screenshot with Statistics(Ctrl+J).

About crash using LAV Video + MPC VR - it's can try to understand this only locally using the debugger. If you can provide remote access to your computer, I can try to do it. If so - write in PM.

huhn
9th February 2020, 11:05
DXVA: https://abload.de/img/dxvacheckere7ja4.png
MPC-BE working hardware decoding: https://abload.de/img/mpc-be4sjys.png

BTW. EVR CP triggers freesync and that in a very inconsistent way.

it is really worth the time to look deeper into it?

Aleksoid1978
9th February 2020, 11:46
DXVA: https://abload.de/img/dxvacheckere7ja4.png
MPC-BE working hardware decoding: https://abload.de/img/mpc-be4sjys.png

BTW. EVR CP triggers freesync and that in a very inconsistent way.

it is really worth the time to look deeper into it?

Write to LAV's author about "bug" in LAV Video - that's it's can using DXVA for VP9.

huhn
9th February 2020, 12:36
well he knows and it should be the same reason with windows media player.

but if it is the need for makro block mode instead of raw stream or if the driver is just lying or whatever who knows...

nevcairiel
9th February 2020, 21:35
The DXVA documentation says that the flag should be 1 on decoders which accept a raw bitstream. If the AMD driver doesn't set it, its just broken. Not that this is a big surprise about AMD.
Technically there is no other mode for VP9, so I suppose I could add a special exemption to allow it anyway, but regardless their shit is broke.

I can very specifically quote the DXVA VP9 specification which states that "ConfigBitstreamRaw" should always be 1 for VP8/9, AMD violates that apparently.

v0lt
10th February 2020, 07:41
First release MPC Image Source Filter v0.1.0.29 (https://github.com/v0lt/ImageSourceFilter/releases/tag/0.1.0).
Description (https://github.com/v0lt/ImageSourceFilter/blob/0.1.0/Readme.md).

Added:
The filter allows you to open graphics image files using the Windows Imaging Component (WIC). The level of support depends on the version of Windows and installed updates.
By default, the filter will open PNG, JPEG, BMP, TIFF, HD Photo (JPEG XR) and, if you have fresh Windows10, then also WebP, HEIF.
By default, ImageSourceFilter will not be able to open JPEG and BMP formats in older versions of MPC-BE and MPC-HC. This is because the system "Generate Still Video" filter will receive a higher priority. This issue has been fixed in MPC-BE 1.5.5.5064 (https://sourceforge.net/p/mpcbe/code/5064/).
To open any formats supported by WIC, you need to add ImageSourceFilter to external filters and set the priority to "Prefer".

v0lt
10th February 2020, 07:45
MPC Video Renderer v0.4.1.1130 (https://github.com/Aleksoid1978/VideoRenderer/releases/tag/0.4.1).
Description (https://github.com/Aleksoid1978/VideoRenderer/blob/0.4.1/Readme.md).

Changes:
Fixed freezing during frequent timeline navigation.
Added support for "post scale" shaders.
Some changes in statistics.
Fixed some memory leaks.
Added support for D3D11 mode for Windows 7 SP1.
Added support for the ARGB64 format (BRA[64]).
Fixed playback of Y8 and Y800 formats with an odd width.
Recommended version of MPC-BE v1.5.5.5044 or later.

ryrynz
10th February 2020, 08:27
In case anyone doesn't know, MPC Image Source allows the user to open graphics images within video players.

Klaus1189
10th February 2020, 17:11
Thank you very much for MPC Image Source, I take a look at it ;)

Klaus1189
12th February 2020, 20:58
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on 5076
Do not reset speed for session

r5072:
Filter
is already fine, same word in german :)

wushantao
13th February 2020, 04:32
https://send.firefox.com/download/0557cb353b58311f/#jLw6KDSa37ZTM0ZLKrLjMw

base on r5078

Klaus1189
13th February 2020, 06:10
Updated german translation (https://drive.google.com/file/d/1NwBzp70DqbsN-NeKUsrorOgUedPyb_nu/view?usp=sharing) based on r5078 :)

v0lt
13th February 2020, 15:56
@wushantao, @Klaus1189
Thanks. Updated in r5079.

Klaus1189
14th February 2020, 17:54
I just updated to latest builds and recognized changes in toolbar with Buttons like Play, Plause, ... and also Volume.

But I think I found a bug:
Volume is at 100% then click with mouse for example at 70 Percent and hold mouse and move it left or right and the Tooltip with percent number changes and also the actual volume, but the white indicator doesn't change - it stays where you clicked at.

Using the keyboard to turn up and down the volume works like a charm.

Edit: I tried older version, and it works perfect.

Aleksoid1978
15th February 2020, 03:23
Thx - fixed.

maor26
15th February 2020, 13:13
Is there any chance to see a linux version for this player?
I really enjoy it on windows and can't find anything that even comes close to this on linux(tried a lot of players).

huhn
15th February 2020, 13:24
you "can't" port a directshow player to linux.

linux has neither directshow and dirtectx.