[confirm] Playback of a movie -> MP2 crashes to desktop (2 Viewers)

Helios61

Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    Hi!

    If i try to playback a movie (.mkv), MP2 crashes to desktop. ->

    Video.JPG


    Logs and info are attached!

    Best regards
    Helios
     

    Attachments

    • application_event_error.xml
      1.8 KB
    • windows_error_rep.xml
      2.2 KB

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,584
    3,973
    Lehmden
    Home Country
    Germany Germany
    Hi.
    This was a file system error. Maybe a hickup in your network. The exception was thrown in a standard windows dll (ntdll.dl) so I don't believe MP2 can do anything against. Maybe we can catch this exception but I'm not sure about this...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    @Helios61 are you able to reproduce this issue? There are errors logged that should not happen. So I'd like to create a test build with more logging for this special case.
    @offbyone the last logs before exception come from part where the DotNetStreamSource is added. And the later crash could point to some issue with unmanaged calls.
    [2014-10-12 16:10:47,453] [16217 ] [Thread9 ] [DEBUG] - VideoPlayer: Initializing for file system media item '//SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv'
    [2014-10-12 16:10:48,875] [17639 ] [Thread9 ] [DEBUG] - VideoPlayer: Stop playing
    [2014-10-12 16:10:48,879] [17643 ] [Thread9 ] [WARN ] - MediaPortal.UI.Players.Video.VideoPlayer: Unable to play 'Resource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv' at system 'ec74146a-1579-4e34-801f-7da6f5b74690'
    System.Runtime.InteropServices.COMException (0x8004025F): Die angeforderte Funktion kann nicht für ein Objekt ausgeführt werden, das sich nicht im Filterdiagramm befindet.
    bei DirectShow.Helper.HRESULT.Throw()
    bei MediaPortal.UI.Players.Video.Tools.FilterGraphTools.RemoveAllFilters(IGraphBuilder graphBuilder, Boolean removeAllReferences)
    bei MediaPortal.UI.Players.Video.VideoPlayer.FreeCodecs()
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.Shutdown(Boolean keepResourceAccessor)
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle)
    bei MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)
    [2014-10-12 16:10:48,882] [17646 ] [Thread9 ] [ERROR] - Unable to create media player for media item 'Mud - Kein Ausweg'
    System.Runtime.InteropServices.COMException (0x8004025F): Die angeforderte Funktion kann nicht für ein Objekt ausgeführt werden, das sich nicht im Filterdiagramm befindet.
    bei DirectShow.Helper.HRESULT.Throw()
    bei MediaPortal.UI.Players.Video.Tools.FilterGraphTools.RemoveAllFilters(IGraphBuilder graphBuilder, Boolean removeAllReferences)
    bei MediaPortal.UI.Players.Video.VideoPlayer.FreeCodecs()
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.Shutdown(Boolean keepResourceAccessor)
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle)
    bei MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)
    bei MediaPortal.UI.Services.Players.PlayerManager.BuildPlayer_NoLock(MediaItem mediaItem, ICollection`1& exceptions)
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    @Helios61 are you able to reproduce this issue? There are errors logged that should not happen. So I'd like to create a test build with more logging for this special case.

    Yes, just made a test with another movie and MP crashed again.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Can you please try this VideoPlayer? (copy it to MP2-Client\Plugins).
    Only change are more log lines, I'd like to see if it steps out of the source filter adding...
    Please post client logs with this binary
     

    Attachments

    • VideoPlayers.7z
      346.2 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    No idea what's happinging. Let's hope your new dll with more logging helps ;).
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Thanks for log! The graphbuilding throws exception in OutputPin.Render() of source filter.
    Code:
    [2014-10-13 15:32:32,087] [9629   ] [Thread9  ] [DEBUG] - VideoPlayer: Initializing for file system media item '//SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv'
    [2014-10-13 15:32:32,087] [9629   ] [Thread9  ] [DEBUG] - TEST: CTOR DotNetStreamSourceFilter
    [2014-10-13 15:32:32,089] [9631   ] [Thread9  ] [DEBUG] - TEST: OpenRead
    [2014-10-13 15:32:32,185] [9727   ] [Thread9  ] [DEBUG] - TEST: SetSourceStream
    [2014-10-13 15:32:32,187] [9729   ] [Thread9  ] [DEBUG] - TEST: AddFilter
    [2014-10-13 15:32:32,191] [9732   ] [Thread9  ] [DEBUG] - TEST: new DSFilter(sourceFilter)
    [2014-10-13 15:32:33,873] [11415  ] [DX Render] [DEBUG] - ContentManager: 0 resources deallocated, next cleanup in 10 seconds. 326.807075500488/100 MB
    [2014-10-13 15:32:33,962] [11504  ] [Thread9  ] [DEBUG] - VideoPlayer: Stop playing
    https://github.com/MediaPortal/Medi...Players/VideoPlayer/BaseDXPlayer.cs#L433-L435
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Can you please try again? Only change is one more log line which should log the original exception thrown by HR
     

    Attachments

    • VideoPlayers.7z
      346.3 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Looks like a problem building the graph. Either a filter is missing or some filter is inserting itself into the graph that causes troubles? LAV installed? Any other installed that shouldn't be there?
     

    Users who are viewing this thread

    Similar threads

    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database". Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in...
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its...
    I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup...
    Replies
    2
    Views
    435
    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    671
    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    Hi, Help Please. I've got several FLAC audio files that play OK on my PC, and my HTPC, via: Media Player / Windows Media Player /...
    Replies
    8
    Views
    757
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    3K
    MP1 MP2 MP2 - V2.5 MP2 wont read DVDs! DE
    Your PC will need to run decryption software, Xreveal is free. I just tested on mine and the dvd auto played in media portal when I inserted the disc.
    Your PC will need to run decryption software, Xreveal is free. I just tested on mine and the dvd auto played in media portal when...
    I bought Fight Club from an op shop (Goodwill to you yanks) but my PC reads the DVD as a folder. Both media players wouldn't run...
    Replies
    1
    Views
    2K
    Top Bottom