Sometimes no image rendered when playing video (1 Viewer)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,349
    1,428
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    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,349
    1,428
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    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,349
    1,428
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    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
    163
    85
    Home Country
    Germany Germany
    Country flag
    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 · Views: 0
    • MediaPortal-Error.log
      5.2 KB · Views: 0
    • OnlineVideos.log
      20.7 KB · Views: 0
    • MediaPortal (cleaned).log
      348.7 KB · Views: 0
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,030
    2,265
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    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
    163
    85
    Home Country
    Germany Germany
    Country flag
    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
    163
    85
    Home Country
    Germany Germany
    Country flag
    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 · Views: 0
    • 2021-04-21_MediaPortal.log
      957.2 KB · Views: 0
    • 2021-04-21_MediaPortal-Error.log
      915.5 KB · Views: 0
    • 2021-04-21_MPUrlSourceSplitter.log
      1.6 MB · Views: 0
    • 2021-04-21_OnlineVideos.log
      38.8 KB · Views: 0

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,030
    2,265
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    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
    163
    85
    Home Country
    Germany Germany
    Country flag
    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,030
    2,265
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    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

    Similar threads

    You were right, I have re-installed the My Anime 3 plugin and the search in MP now works again! :)
    You were right, I have re-installed the My Anime 3 plugin and the search in MP now works again! :)
    Hi, I just discovered that MediaPortal crashes when I search a movie in Moving Pictures. I enter the phrase and when I want to...
    Replies
    2
    Views
    831
    wiki updated, thanks for the hint @high
    wiki updated, thanks for the hint @high
    When playing a video it the display gets black, sound is playing and I see these Exceptions: [2017-10-10 21:48:22,993] [Error ]...
    Replies
    8
    Views
    2K
    Great :) I will push some other update about GUI issue but you can use this version and will see :P
    Great :) I will push some other update about GUI issue but you can use this version and will see :P
    MediaPortal Version: 1.18.0 Description I will try to explain... in LOG I found "endless" entries of: .... [2018-01-29...
    Replies
    3
    Views
    1K
    and you may try to repair your sql database Repair SQLite Database - MediaPortal 1 - MediaPortal Wiki it looks corrupt to me
    and you may try to repair your sql database Repair SQLite Database - MediaPortal 1 - MediaPortal Wiki it looks corrupt to me
    Media Portal version: 1.16.0 MP-TVSeries version: 4.3.0.0 LAV Filters: 0.69.0 madVR: 0.91.8 Operating System: Windows 10...
    Replies
    7
    Views
    1K
    I had quite a lot of issues with my last HTPC, I experienced random freeze/lockups for 30-60secs. I feel your pain, it use to drive me insane. I ended up tracking it down to the SSD drive, after a firmware upgrade (which proved to be very diffulcult) I no longer experienced the issue. So my advice, see if there is a firmware update...
    I had quite a lot of issues with my last HTPC, I experienced random freeze/lockups for 30-60secs. I feel your pain, it use to drive...
    All my TV series are stored on a SATA disc on my main MP server, which has an SSD as boot disc. In Power Options I have configured...
    Replies
    14
    Views
    3K
    Top Bottom