Sometimes no image rendered when playing video (1 Viewer)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    I have a dll with some extra logging, perhaps you can see if you can reproduce?
    This is now running on my production system (y). Let us see what happens over the next few days.

    I'll set it up tomorrow (or rather today)
    Don't forget that you need to "Run as administrator" in order to replace the DLL, otherwise Windows prevents the existing DLL being changed (I just made that mistake :D ).

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    Looks like some part of your setup decided to kill/restart/whatever your video-output...
    From the call that causes the error, it looks as though MP is trying to map one video rectangle onto another video recangle, which presumably has a different size. What annoys me about these error messages is that they never display the values of the parameters that are causing the error :mad:.

    I don't understand the display process, so it is not possible for me to guess where the error might be. One possible error would be if one of the rectangles is the zero-size rectangle, which might occur if there is a path through the code that results in one of the rectangles not being set to a valid value. Is there any way that this can be traced?

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    From the call that causes the error, it looks as though MP is trying to map one video rectangle onto another video recangle, which presumably has a different size.
    Looking at the log file again, perhaps the rectangle error is the consequence of an earlier error. I notice that there is a "device lost" error a few lines earlier in the log file. Is that normal?

    Code:
    [2021-04-07 23:59:56,131] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1997
    [2021-04-07 23:59:56,134] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1994
    [2021-04-07 23:59:56,282] [Log    ] [MPMain   ] [WARN ] - Main: OnDeviceLost()
    [2021-04-07 23:59:56,282] [Log    ] [MPMain   ] [DEBUG] - Main: OnDeviceLost CurrentState : LOST
    [2021-04-07 23:59:56,282] [Log    ] [MPMain   ] [DEBUG] - D3D: RecoverDevice()
    [2021-04-07 23:59:56,282] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1981
    [2021-04-07 23:59:56,283] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1980
    [2021-04-07 23:59:56,283] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1979
    [2021-04-07 23:59:56,320] [Log    ] [MPMain   ] [ERROR] - Exception: Error in the application.

    -- from CyberSimian in the UK
     

    bta489

    Portal Pro
    March 17, 2013
    168
    92
    Home Country
    Germany Germany
    Just caught one.
    I tried to watch a YouTube Video, screen stayed black, audio played fine. This time, though, I could not navigate back to the last menu (or any other screen like the TV guide for instance). Only pressing Stop worked.

    In the logs, around timestamp 11:23. CPU temps were in the low 60s [°C] with one or to spikes.
    If you need more logs or info, let me know.

    Edit:
    I cleaned the MediaPortal.log of a long section where it was scraping my music collection, some not found recordings thumbs and the repetitions of the StandbyWakeupThread.
     

    Attachments

    • evr.log
      20 KB
    • MediaPortal-Error.log
      5.2 KB
    • OnlineVideos.log
      20.7 KB
    • MediaPortal (cleaned).log
      348.7 KB
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,938
    Nuenen
    Home Country
    Netherlands Netherlands
    well, you wouldn't believe it, but this is actually a completely different issue...
    Assuming you got it playing correctly when tried again? Here it plays fine...
    And I couldn't find any errors relating to this in the logs
     

    bta489

    Portal Pro
    March 17, 2013
    168
    92
    Home Country
    Germany Germany
    Yes, the video itself is generally not at fault. I've witnessed this with local files as well as through the OnlineVideos plugin. On different machines, with different programs or even at different times they always play fine. It's just that sometimes the picture is not rendered in MediaPortal.

    This time felt a little different, because I could not navigate back to other MediaPortal screens. So you might be correct and this was an entirely unrelated hiccup with similar symptoms. I'll keep the .dll in place and save the logs if a more 'conventional' incident occurs.
     

    bta489

    Portal Pro
    March 17, 2013
    168
    92
    Home Country
    Germany Germany
    And another one. I had a couple incidents like the one before, but this time, after several exit presses, I landed back in the home screen, with the audio playing and the little preview window showing only black. Near the end in the logs around the 17:25 timestamp.

    Again, with a video in the OnlineVideos plugin. I watched several others before without problem. I deleted some duplicate lines in the logs to cut down the file size and for better readability (I noted where and kept the first and last occurence, though).
     

    Attachments

    • 2021-04-21_evr.log
      207.9 KB
    • 2021-04-21_MediaPortal.log
      957.2 KB
    • 2021-04-21_MediaPortal-Error.log
      915.5 KB
    • 2021-04-21_MPUrlSourceSplitter.log
      1.6 MB
    • 2021-04-21_OnlineVideos.log
      38.8 KB

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,938
    Nuenen
    Home Country
    Netherlands Netherlands
    Hm, there doesn't seem to be extra logging info in there...
    I'll see if I can deduce more info and if not, I will put a new dll here for you to test...
    Edit: can you doublecheck your core.dll in C:\Program Files (x86)\Team MediaPortal\MediaPortal is from april 15?
     
    Last edited:

    bta489

    Portal Pro
    March 17, 2013
    168
    92
    Home Country
    Germany Germany
    The core.dll is from 15th April 2021 21:47.

    core_dll.JPG

    There is some extra logging. I noticed new to me entries like the first ones in MediaPortal.log like:
    Code:
    [2021-04-21 17:24:26,708] [Log    ] [98       ] [DEBUG] - Drawtexturesegment 0 0 1280 720 0 0 1920 1080 1280 720 4294967295

    Also the log files are much bigger and quickly split in several sub-files. So it did something.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,938
    Nuenen
    Home Country
    Netherlands Netherlands
    Now I see it indeed, would've expected to see them near the overflow error.
    I'll investigate further because this should give me a hint on where it gets wrong
     

    Users who are viewing this thread

    Top Bottom