[WiP] madVR support in MP1 (97 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @joecrow

    About OV issue :)

    In all your logs where OV freeze : (and on freeze reports, it like madVR find a new splitter), it's maybe related to how madVR is attached to MP window.

    Code:
    [2016-08-30 00:34:51,349] [Log    ] [MPMain   ] [DEBUG] - Main: WM_SYSCOMMAND (SC_CLOSE)
    [2016-08-30 00:34:51,353] [Log    ] [MPMain   ] [DEBUG] - D3D: OnFormClosing()
    [2016-08-30 00:34:51,356] [Log    ] [MPMain   ] [DEBUG] - g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    [2016-08-30 00:34:51,358] [Log    ] [MPMain   ] [DEBUG] - g_Player.doStop() - stop
    [2016-08-30 00:34:51,366] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup DShow graph
    [2016-08-30 00:34:51,369] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup VMR9
    [2016-08-30 00:34:51,370] [Log    ] [77       ] [DEBUG] - Planescene: Set subtitle device - 0
    [2016-08-30 00:34:51,374] [Log    ] [MPMain   ] [DEBUG] - Centarea: Command "3605326" not mapped
    [2016-08-30 00:34:51,379] [Log    ] [MPMain   ] [DEBUG] - Main: WM_ACTIVATE (WA_INACTIVE)
    [2016-08-30 00:34:51,383] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2016-08-30 00:34:51,387] [Log    ] [MPMain   ] [DEBUG] - D3D: OnLostFocus()
    [2016-08-30 00:34:51,393] [Log    ] [MPMain   ] [DEBUG] - D3D: OnPaint()
    [2016-08-30 00:34:51,399] [Log    ] [MPMain   ] [DEBUG] - D3D: Force mouse cursor to false
    [2016-08-30 00:34:51,404] [Log    ] [MPMain   ] [DEBUG] - D3D: Cursor ShowMouseCursor state -1
    [2016-08-30 00:34:51,373] [Log    ] [MPMain   ] [DEBUG] - Main: WM_GETMINMAXINFO Start (MaxSize: 1920x1080 - MaxPostion: 0,0 - MinTrackSize: 2x2 - MaxTrackSize: 1932x1092)
    [2016-08-30 00:34:51,410] [Log    ] [MPMain   ] [DEBUG] - Main: WM_GETMINMAXINFO End (MaxSize: 1920x1080 - MaxPostion: 0,0 - MinTrackSize: 1920x1080 - MaxTrackSize: 1920x1080)
    [2016-08-30 00:34:51,372] [Log    ] [MPMain   ] [DEBUG] - VMR9: mediaCtrl.Stop() 1
    [2016-08-30 00:34:51,433] [Log    ] [77       ] [DEBUG] - Planescene: Set subtitle device - 0

    Those 2 lines, create the issue, it's like MP is closing itself :
    [2016-08-30 00:34:51,349] [Log ] [MPMain ] [DEBUG] - Main: WM_SYSCOMMAND (SC_CLOSE)
    [2016-08-30 00:34:51,353] [Log ] [MPMain ] [DEBUG] - D3D: OnFormClosing()

    I can't reproduce it on my side but if i let play something and i manually close MP : (i can get some kind of log but MP didn't deadlock)

    Code:
    [2016-09-01 21:59:17,611] [Log    ] [MPMain   ] [INFO ] - Main: Exit requested
    [2016-09-01 21:59:17,667] [Log    ] [MPMain   ] [INFO ] - Main: Stopping FrameMove
    [2016-09-01 21:59:17,668] [Log    ] [MPMain   ] [DEBUG] - D3D: OnFormClosing()
    [2016-09-01 21:59:17,669] [Log    ] [MPMain   ] [DEBUG] - g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    [2016-09-01 21:59:17,670] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStopped()
    [2016-09-01 21:59:17,670] [Log    ] [MPMain   ] [INFO ] - RadioRecorded:OnPlayRecordingBackStopped Video http://localhost/OnlineVideo.mp4
    [2016-09-01 21:59:17,670] [Log    ] [MPMain   ] [INFO ] - TvRecorded:OnPlayRecordingBackStopped Video http://localhost/OnlineVideo.mp4
    [2016-09-01 21:59:17,671] [Log    ] [MPMain   ] [DEBUG] - g_Player.doStop() - stop
    [2016-09-01 21:59:17,672] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup DShow graph
    [2016-09-01 21:59:17,672] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup VMR9
    [2016-09-01 21:59:17,673] [Log    ] [MPMain   ] [DEBUG] - VMR9: mediaCtrl.Stop() 1
    [2016-09-01 21:59:17,694] [Log    ] [58       ] [DEBUG] - Planescene: Set subtitle device - 0
    [2016-09-01 21:59:17,699] [Log    ] [58       ] [DEBUG] - Planescene: Set subtitle device - 0
    [2016-09-01 21:59:22,660] [Log    ] [MPMain   ] [DEBUG] - VMR9: Vmr9MediaCtrl MadDeinit()
    [2016-09-01 21:59:22,806] [Log    ] [MPMain   ] [DEBUG] - VMR9: mediaCtrl.Stop() 2

    Can you try by disable your remote (Centarea) just for testing and use keyboard ?

    Does it happen too in MP windowed ?

    And can you with those settings : (maybe you already have this)

    upload_2016-9-2_7-24-25.png
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I have trying something weird in V174 link will follow :)
    I'm trying to avoid the famous form closing like is act in your log, it doesn't avoid to close MP manually but just override it and see what is happening on your side :)
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    @Sebastiii
    v173 with KB only (Centerea deselected) OV hangs MP
    v173 in Windowed mode OV hangs MP
    MP/Madvr settings as you suggested (my default anyway).

    Tried v174 and it seems to be exactly the same,:( Logs and freeze reports attached. The earlier freeze report covers a test with the Das Erste vid. (played first time failed second attempt) and, following an MP restart, the later one is for ZDF live (1280x720). Both hangs are included in the log.

    Observation:- It seems the OV problem is much worse for me recently, 1280x720 content is pretty much a 100% failure now, with 640x* content much the same or, with BBC Live somewhat improved. The same content that fails in 1280 usually plays OK in 640 when that selection option is available. I am not seeing this problem with OV on my desktop PC, (also now Madvr branch), same OS and settings I think but very different hardware.:confused:
     

    Attachments

    • madVR - freeze report (1).txt
      63.3 KB
    • madVR - freeze report (2).txt
      62.8 KB
    Last edited:

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    @Sebastiii Sorry but no apparent change for me in OV, vid. failed on first attempt, see attached freeze and logs. Same vid played after restart, not shown in logs.
     

    Attachments

    • madVR - freeze report (1).txt
      63.7 KB

    Sebastiii

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

    Can you try to unzip the attached bin and register the .ax ? (in elevated command prompt, just go to the extracted folder like c:\MPURL and run the following)

    Code:
    regsvr32 MPUrlSourceSplitter.ax

    And try OV ?

    There is something wrong for sure but like EVR works, it could be nice to fix this.

    If it failed again and we can't get callstack on freeze report, i will build my own installation that contain callstack for MP too :)
     

    Attachments

    • MPUrlSourceSplitter_Sebastiii.zip
      21.9 MB

    Users who are viewing this thread

    Top Bottom