Help With Blu-Ray Playback. (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Also hopefully, the issue may get resolved in the future of MediaPortal so it works correctly
    If you want that to happen, posting log files (as requested in the sticky for this section of the forum!!!) would be a really good thing to do.

    The code for the play disc menu item seems to be pretty simple:
    https://github.com/MediaPortal/Medi.../mediaportal/WindowPlugins/GUIDisc/GUIDisc.cs

    There's a strong possibility that your issues are down to configuration... but at this point nobody can tell because there are no log files available.

    Note: I don't have a Blu-Ray drive, so I can't try to reproduce the problem myself.
     

    smarty12345

    Portal Pro
    November 23, 2011
    100
    17
    United Kingdom
    Home Country
    Great Britain (UK) Great Britain (UK)
    The issue isn't blu-ray specific.. It occurs on any disc playback I have tried including DVDs. It does it on my htpc and my "test rig". In both the default MP skin, and StreamedMP which I usually use. With the standard LAV filters for video and audio playback. With no tweaks apart from dxva2 (native) selected for hardware acceleration.

    In a nutshell, With a disc already in the drive, you can select "play Disc" menu item and it will work just fine. (autorun on disc insertion also works). But, once you exit playback, even just back to the main menu screen, then the "Play Disc" feature of the menu breaks. And the only way it works after that is to navigate to Video, and select the correct drive letter, or restart MP.
    I know it doesn't sound like a big deal. And its not really.. Its just I use Moving Pictures for stored media, and have Videos disabled to save on confusion for other less techie people in the house.

    I have attached logs as requested.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @smarty12345
    Thank you for the log files. (y)

    The issue isn't blu-ray specific.
    Ahhh, that was new information to me. The rest I understood.

    The log files show you starting a DVD:
    [2015-06-25 21:19:06,428] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    [2015-06-25 21:19:06,444] [Log ] [MPMain ] [INFO ] - Autoplay: Start playing media type 'VIDEO/DVD' from drive 'G:'
    [2015-06-25 21:19:06,444] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: OnPlayDVD() playing DVD G:

    After that I think a chapter or 2 are played in full screen. These could be anti-piracy warnings, I don't know.

    After that I see you swap back and forth between full screen video and home menu a few times.

    Finally, I think I see you attempt to use the play disc menu item again several times:
    [2015-06-25 21:20:08,341] [Log ] [MPMain ] [DEBUG] - Window: MediaPortal.GUI.Home.GUIHome init
    [2015-06-25 21:20:08,342] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    ...
    [2015-06-25 21:20:10,128] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    [2015-06-25 21:20:12,252] [Log ] [MPMain ] [DEBUG] - Window: MediaPortal.GUI.Home.GUIHome deinit

    Why doesn't MP play the disc as you expect?
    Because it thinks it is still/already playing the disc. This is critical to understand. AFAIK MP's normal behaviour when you select anything - music, TV channel, video - that you're already playing is to ignore the request (or go back into full screen), rather than start the item from the beginning.

    Closing out the log file analysis...
    When you exit MP, the disc playback is actually stopped:
    [collapse]
    [2015-06-25 21:20:18,573] [Log ] [MPMain ] [INFO ] - Main: Exit requested
    [2015-06-25 21:20:18,605] [Log ] [MPMain ] [INFO ] - Main: Stopping FrameMove
    [2015-06-25 21:20:18,606] [Log ] [MPMain ] [DEBUG] - D3D: OnFormClosing()
    [2015-06-25 21:20:18,608] [Log ] [MPMain ] [DEBUG] - g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    [2015-06-25 21:20:18,608] [Log ] [MPMain ] [INFO ] - g_Player.OnStopped()
    [2015-06-25 21:20:18,623] [Log ] [MPMain ] [INFO ] - DVDPlayer::GetResumeState() begin
    [2015-06-25 21:20:18,627] [Log ] [MPMain ] [INFO ] - GUIVideoFiles: OnPlayBackStopped idFile=6 timeMovieStopped=15 resumeData=System.Byte[] bdtitle=1000
    [2015-06-25 21:20:18,630] [Log ] [MPMain ] [DEBUG] - GUIVideoFiles: OnPlayBackStopped store resume time
    [2015-06-25 21:20:18,636] [Log ] [MPMain ] [DEBUG] - g_Player.doStop() - stop
    [2015-06-25 21:20:18,636] [Log ] [MPMain ] [INFO ] - DVDPlayer:confused:top()
    [2015-06-25 21:20:18,649] [Log ] [MPMain ] [INFO ] - DVDPlayer9: cleanup DShow graph
    [2015-06-25 21:20:18,652] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Enhanced Video Renderer
    [2015-06-25 21:20:18,653] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: Enhanced Video Renderer 2
    [2015-06-25 21:20:18,653] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter LAV Audio Decoder
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Disconnecting pin Output
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: LAV Audio Decoder 0
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter LAV Video Decoder
    [2015-06-25 21:20:18,656] [Log ] [MPMain ] [INFO ] - Disconnecting pin Output
    [2015-06-25 21:20:18,656] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,658] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: LAV Video Decoder 0
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter DVD Navigator
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Disconnecting pin Video
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Disconnecting pin AC3
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Disconnecting pin SubPicture
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,664] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: DVD Navigator 0
    [2015-06-25 21:20:18,667] [Log ] [MPMain ] [DEBUG] - VMR9: Dispose
    [2015-06-25 21:20:18,670] [Log ] [MPMain ] [DEBUG] - SubtitleRenderer: starting cleanup
    [2015-06-25 21:20:18,672] [Log ] [MPMain ] [DEBUG] - SubtitleRenderer: cleanup done
    [2015-06-25 21:20:18,672] [Log ] [MPMain ] [DEBUG] - VMR9: Inactive[/collapse]

    If you hadn't been closing MP, the play disc menu item should have worked again after this.

    Can you confirm that the play disc menu item works if you stop the DVD properly before attempting to use it?
    ...or have I misinterpreted what you did in your test?
     

    smarty12345

    Portal Pro
    November 23, 2011
    100
    17
    United Kingdom
    Home Country
    Great Britain (UK) Great Britain (UK)
    @smarty12345
    Thank you for the log files. (y)

    The issue isn't blu-ray specific.
    Ahhh, that was new information to me. The rest I understood.

    The log files show you starting a DVD:
    [2015-06-25 21:19:06,428] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    [2015-06-25 21:19:06,444] [Log ] [MPMain ] [INFO ] - Autoplay: Start playing media type 'VIDEO/DVD' from drive 'G:'
    [2015-06-25 21:19:06,444] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: OnPlayDVD() playing DVD G:

    After that I think a chapter or 2 are played in full screen. These could be anti-piracy warnings, I don't know.

    After that I see you swap back and forth between full screen video and home menu a few times.

    Finally, I think I see you attempt to use the play disc menu item again several times:
    [2015-06-25 21:20:08,341] [Log ] [MPMain ] [DEBUG] - Window: MediaPortal.GUI.Home.GUIHome init
    [2015-06-25 21:20:08,342] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    ...
    [2015-06-25 21:20:10,128] [Log ] [MPMain ] [INFO ] - SelectDVDHandler: ShowSelectDVDDialog()
    [2015-06-25 21:20:12,252] [Log ] [MPMain ] [DEBUG] - Window: MediaPortal.GUI.Home.GUIHome deinit

    Why doesn't MP play the disc as you expect?
    Because it thinks it is still/already playing the disc. This is critical to understand. AFAIK MP's normal behaviour when you select anything - music, TV channel, video - that you're already playing is to ignore the request (or go back into full screen), rather than start the item from the beginning.

    Closing out the log file analysis...
    When you exit MP, the disc playback is actually stopped:
    [collapse]
    [2015-06-25 21:20:18,573] [Log ] [MPMain ] [INFO ] - Main: Exit requested
    [2015-06-25 21:20:18,605] [Log ] [MPMain ] [INFO ] - Main: Stopping FrameMove
    [2015-06-25 21:20:18,606] [Log ] [MPMain ] [DEBUG] - D3D: OnFormClosing()
    [2015-06-25 21:20:18,608] [Log ] [MPMain ] [DEBUG] - g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    [2015-06-25 21:20:18,608] [Log ] [MPMain ] [INFO ] - g_Player.OnStopped()
    [2015-06-25 21:20:18,623] [Log ] [MPMain ] [INFO ] - DVDPlayer::GetResumeState() begin
    [2015-06-25 21:20:18,627] [Log ] [MPMain ] [INFO ] - GUIVideoFiles: OnPlayBackStopped idFile=6 timeMovieStopped=15 resumeData=System.Byte[] bdtitle=1000
    [2015-06-25 21:20:18,630] [Log ] [MPMain ] [DEBUG] - GUIVideoFiles: OnPlayBackStopped store resume time
    [2015-06-25 21:20:18,636] [Log ] [MPMain ] [DEBUG] - g_Player.doStop() - stop
    [2015-06-25 21:20:18,636] [Log ] [MPMain ] [INFO ] - DVDPlayer:confused:top()
    [2015-06-25 21:20:18,649] [Log ] [MPMain ] [INFO ] - DVDPlayer9: cleanup DShow graph
    [2015-06-25 21:20:18,652] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Enhanced Video Renderer
    [2015-06-25 21:20:18,653] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: Enhanced Video Renderer 2
    [2015-06-25 21:20:18,653] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter LAV Audio Decoder
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Disconnecting pin Output
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: LAV Audio Decoder 0
    [2015-06-25 21:20:18,655] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter LAV Video Decoder
    [2015-06-25 21:20:18,656] [Log ] [MPMain ] [INFO ] - Disconnecting pin Output
    [2015-06-25 21:20:18,656] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,658] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: LAV Video Decoder 0
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter DVD Navigator
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Disconnecting pin Video
    [2015-06-25 21:20:18,659] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Disconnecting pin AC3
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Disconnecting pin SubPicture
    [2015-06-25 21:20:18,660] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-06-25 21:20:18,664] [Log ] [MPMain ] [DEBUG] - Remove filter from graph: DVD Navigator 0
    [2015-06-25 21:20:18,667] [Log ] [MPMain ] [DEBUG] - VMR9: Dispose
    [2015-06-25 21:20:18,670] [Log ] [MPMain ] [DEBUG] - SubtitleRenderer: starting cleanup
    [2015-06-25 21:20:18,672] [Log ] [MPMain ] [DEBUG] - SubtitleRenderer: cleanup done
    [2015-06-25 21:20:18,672] [Log ] [MPMain ] [DEBUG] - VMR9: Inactive[/collapse]

    If you hadn't been closing MP, the play disc menu item should have worked again after this.

    Can you confirm that the play disc menu item works if you stop the DVD properly before attempting to use it?
    ...or have I misinterpreted what you did in your test?


    You hit the nail on the head with the sequence. I played the disc, then if I hit the "X" key it goes back to the home screen, and the video is still playing in the little preview window. and "X" again restores it to full screen. That works perfectly. Then I use the esc key and after that it doesn't want to work.

    I see what you mean. I never associated the sequence of events with the cancelling of the playback by using the esc key with not exiting the video fully.
    as soon as I use the default shortcut key of "B" for stop playback, it offeres the resume/restart disc menu just as you would expect.
    I just always assumed "esc" was the same as stop. Rather than previous window. I see I just didn't understand the difference.

    Would there be a way for me to map the escape key in dvd playback only to function as the stop command, while keeping it for previous window for the rest of MP, like Moving Pictures and MyTVseries ?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I see I just didn't understand the difference.
    It's easy to misunderstand, so don't sweat it. :)

    Would there be a way for me to map the escape key in dvd playback only to function as the stop command, while keeping it for previous window for the rest of MP, like Moving Pictures and MyTVseries ?
    This may be possible through configuration here:
    http://wiki.team-mediaportal.com/1_...l_Configuration/11_General/12_Keys_and_Sounds
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Do you use PowerDVD launched as a 3rd party player from withing Media Portal? or do you just close media portal and lauch PowerDVD when you want to watch a disc?

    I do close MP and switch to PowerDVD, you need to get off your coach anyway to put the disk in the slot so you can also grab a keyboard and launch an app in the process if need be. I thought my PowerDVD did default to full screen mode nicely though. Been a while since I used it. I usually rip and watch through MP TBH. Though occasionally the full BD menu and extras experience is nice to have.
     

    Users who are viewing this thread

    Top Bottom