Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#7121 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,465
|
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.
__________________
MPC-BE 1.5.6 (build 6000) stable and Nightly builds | Video Renderer | Image Source | Script Source |
![]() |
![]() |
![]() |
#7122 | Link |
Registered User
Join Date: Oct 2012
Posts: 6,867
|
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. |
![]() |
![]() |
![]() |
#7123 | Link | |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,504
|
Quote:
https://yadi.sk/d/YEYTL-UjXed24g
__________________
I7 2600K@4.2 /Asrock P67 Extreme4 Gen 3 /Kingston HyperX 8Gb 1866 (4x2) Kit /OCZ Vertex 3 256Gb /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
|
![]() |
![]() |
![]() |
#7124 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,465
|
@huhn
I added more debugging information to MPCVideoRenderer v0.4.0.1129. PS: You can use https://pastebin.com/ for large logs.
__________________
MPC-BE 1.5.6 (build 6000) stable and Nightly builds | Video Renderer | Image Source | Script Source |
![]() |
![]() |
![]() |
#7126 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,465
|
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.
__________________
MPC-BE 1.5.6 (build 6000) stable and Nightly builds | Video Renderer | Image Source | Script Source |
![]() |
![]() |
![]() |
#7127 | Link |
Registered User
Join Date: Oct 2012
Posts: 6,867
|
here you go:
https://pastebin.com/Dupfh0ih |
![]() |
![]() |
![]() |
#7128 | Link | |
Registered User
Join Date: Aug 2008
Posts: 338
|
Quote:
Maybe devs might look on it? |
|
![]() |
![]() |
![]() |
#7130 | Link |
Registered User
Join Date: Oct 2012
Posts: 6,867
|
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. Last edited by huhn; 8th February 2020 at 12:13. |
![]() |
![]() |
![]() |
#7132 | Link | |
Registered User
Join Date: Aug 2008
Posts: 338
|
Quote:
|
|
![]() |
![]() |
![]() |
#7135 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,465
|
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).
__________________
MPC-BE 1.5.6 (build 6000) stable and Nightly builds | Video Renderer | Image Source | Script Source |
![]() |
![]() |
![]() |
#7136 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,504
|
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.
__________________
I7 2600K@4.2 /Asrock P67 Extreme4 Gen 3 /Kingston HyperX 8Gb 1866 (4x2) Kit /OCZ Vertex 3 256Gb /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 Last edited by Aleksoid1978; 9th February 2020 at 04:55. |
![]() |
![]() |
![]() |
#7137 | Link |
Registered User
Join Date: Oct 2012
Posts: 6,867
|
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? |
![]() |
![]() |
![]() |
#7138 | Link | |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,504
|
Quote:
__________________
I7 2600K@4.2 /Asrock P67 Extreme4 Gen 3 /Kingston HyperX 8Gb 1866 (4x2) Kit /OCZ Vertex 3 256Gb /GTX 1650 /Samsung U28R550UQI /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
|
![]() |
![]() |
![]() |
#7140 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,045
|
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.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 10th February 2020 at 00:36. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|