[WiP] madVR support in MP1 (57 Viewers)

joecrow

Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Hi Seb
    Tried v172, TV SD, HD and 3D look good but still problems in OV. The attached log and freeze report cover 2 attempts to play the vid you suggested from Das Erste, it played first time but hung MP on the second try.
    Please note actually that is fairly unusua,l 640 content typically plays with very few hangs. It is the 1280x720 vids that seeem to show the problem most frequently, BUT, very strangly, not those, for example in ZDF mediatek, listed with an .MP4 extension, I can play those without seeing the problem(at least so far).:cautious:. Wheras ZDF live which is also 1280x720 fails regularly.o_O

    Hope this helps.
     

    Attachments

    • 1_madVR - freeze report (1).txt
      63.4 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    It seems when it freeze, we get always this in freeze report :

    Code:
    thread $1e04: <priority:-1>
    775bf7c0 +040 ntdll.dll                           RtlEnterCriticalSection
    4a4403d0 +160 madVR.ax     madvr.cpp     1507 +34 FindSplitter
    4a4403b9 +149 madVR.ax     madvr.cpp     1505 +32 FindSplitter
    4a44e8af +26f madVR.ax     madvr.cpp     2074 +51 CVideoRenderer.CheckMediaType
    4a4cd4df +05f madVR.ax     _freebuf.c      58  +0 CopyMediaType
    4a4cd152 +022 madVR.ax     _freebuf.c      58  +0 CMediaType.Set
    4a4cd11e +00e madVR.ax     _freebuf.c      58  +0 CMediaType.Set
    4a44bf3b +05b madVR.ax     madvr.cpp     7708  +8 CVideoInputPin.CheckMediaType
    4a4cb2b0 +1e0 madVR.ax     _freebuf.c      58  +0 CBaseInputPin.Receive
    4a404b05 +055 madVR.ax     customren.cpp  964 +11 CCustomBaseRenderer.PrepareReceive
    4a4530c2 +052 madVR.ax     madvr.cpp     4713 +15 CVideoRenderer.Receive
    4a403f5a +04a madVR.ax     customren.cpp 1632  +6 CCustomRendererInputPin.Receive
    760762c2 +022 KERNEL32.dll                        BaseThreadInitThunk

    Are we agree that with EVR mode all is ok ? :)
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Further to the above I have been trying various settings etc to try and clear the problem. The only effective thing was to set the "Hardware Decoder to Use in LAV from DXVA(copy back) to none or deselect the H264 codec OV then worked OK but without HW acceleration of course. I don't know if that helps but hopefully it might tell you something.

    Very sorry :cry:but while playing I noticed a problem with TV using EVR. If I zap from a full HD channel to a regular one the picture zooms down from full screen as shown in the screenshot and remains that way on zapping to further regular channels but goes back to fullscreen for an HD channel. If the TV starts on a regular channel it plays in full screen, it is only when zapping from an HD channel. It is not a problem when using Madvr and is also not a problem with the original HEVC branch (I was able to go back to an old restore point).
    evr.jpg
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hey :)
    I'm trying to understand the issue from @joecrow on OV stop, it seems like MP is killing is own window (fullscreen or not) and i'm not sure why it does this.
    I didn't seen this kind of log on my side.

    About EVR and TV i didn't test it but i will, can you tell me the channel to channel to test ? (i have astra 19.2 sat) like this i should be able to reproduce :)
    Thanks.

    Hi All,

    v172 solved my blackscreen on stop issue:D
    Just windows scaling is still not working well with MP... well at least not when playing files ;)

    Nice :)

    Could you make a video to explain it ? (just to be sure to fully understand thanks. )
     

    rohnfe

    Portal Pro
    September 9, 2015
    208
    180
    Home Country
    Germany Germany
    Well as soon as Windows scaling is used set to whatever %, which really makes sense on a 4K screen, MP starts up as normal but as soon you start playing a video the following happens:

    2D
    • video somehow does not react to madvr scaling settings correctly for example one of the files madvr was showing was scaled to insane 8000x4000 pixels while scaling in madvr was set to 4K
    • just came to my mind that windows scaling might have been set to 200% so maybe the scaling of madvr was just doubled ?
    3D
    • video is played in weird 2D looking kind of unsharp, almost like 3D but 3D is not working (madvr shows 3D, TV switches to 3D)
    In the end this might be a madvr issue as well but for example using MPC-HC the exact same configuration is working fine, maybe because MPC is ignoring windows scaling idk :)
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Hey :)
    I'm trying to understand the issue from @joecrow on OV stop, it seems like MP is killing is own window (fullscreen or not) and i'm not sure why it does this.
    I didn't seen this kind of log on my side.

    About EVR and TV i didn't test it but i will, can you tell me the channel to channel to test ? (i have astra 19.2 sat) like this i should be able to reproduce :)
    Thanks.
    Hi
    The problem shows itself with EVR selected as the renderer(NOT using the check box under the Madvr selection, not tried) If I start TV playing with channel ZDF-HD (1920x1280) then zap to BR Sud or Sat1 (both still 720 or less OTA for me) then the picture zooms down. If I start TV with Channel BR Sud selected it plays in fullscreen OK until I zap to an HD channel, also OK and then back again to BR Sud when it zooms down again.

    Update:-

    @Sebastiii After some thought, if you and others are also not able to reproduce the EVR problem I would suggest we put both issues on hold pending the installation of a replacement for my DOA AMD RX 460 in conjunction with a planned clean install of Win 10. Let me know what you think.
    Joe
     
    Last edited:

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    hey joe, i can reassure you. :)
    tried it from zdf hd to sat.1 -same wrong scale problem with sd after hd tv only with evr enabled
    v172 with madvr, tv seems ok. tvs and movpic too.

    17-13-31.png 17-19-20.png

    and tried ov a bit, seems that it works good here -even with many different sources and streams youtube,imdb,itunes,ard,zdf,arte live....all good(y)

    Screenshot (76).png Screenshot (77).png
    havent updated iptvsplitter, still on the old v2.2.15.6002
     
    Last edited:

    Users who are viewing this thread

    Top Bottom