Cant play any media file when MP is enabled. MePo freezes (1 Viewer)

svortevik

Portal Pro
February 15, 2008
94
1
When MP is enabled Mediaportal freezes when trying to start a media file. This goes for music, series and movies.

If I disable MP everything works again.

Can someone take a look at the provided log and tell me how to fix this?
 

svortevik

Portal Pro
February 15, 2008
94
1
If I delete the db file it works again, but as soon as I add movies to moving picture the problem is back.
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,379
    1,850
    Country flag
    @svortevik, more then likely one of the files you have that get imported causes database corruption. This could also be related to the fact that the official release has some importer issues, which have been fixed in SVN, but you need to dabble in test builds to get those fixes.

    The SQLite PRAGMA command allows you to verify when the database becomes corrupt, and I actually wrote a batch file that will auto backup your database if it passes this validation check, and auto restore when it fails. Please search forum to obtain the batch file, so you could use that to find out what media file is causing the corruption to occor, or if it happens to all of them, in which case you would have to update Moving-Pictures via SVN (or use the test build at IMDb+ download section).

    Made it easy on ya: https://forum.team-mediaportal.com/threads/corrupted-database.120376/#post-1014075
     
    Last edited:

    svortevik

    Portal Pro
    February 15, 2008
    94
    1
    If there is a specific file that corrupts the db, is there any way of telling which file it is? If i understand correctly the script only tells me what db that is corrupted and not which entry in the db?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,379
    1,850
    Country flag
    Yes, the movingpictures.log file will give you an indication during import, and provide great details as to why when you enable MediaPortal debug log verbosity, and even more when you enable Moving-Pictures scraper-debug logging. The latter is only needed when the error is not clear as-is and you have to boiled down to a single movie causing issues.

    Start button/screen -> All Programs -> Team MediaPortal -> MediaPortal -> "User Files" shortcut -> "log" folder, and enjoy.
     

    svortevik

    Portal Pro
    February 15, 2008
    94
    1
    I cant figure this out. Can you please tell me step by step what I need to do to get my MePo working again?

    What log files do I need to look in?

    I ran the script and it took backup of every db. Does that mean that the db isn't corrupted?

    I found out another thing.

    If I just wait for 3-5 minutes after pressing play the movie actually starts and plays as normal. After that every media file starts instantly when pressing play and every file works.

    If I restart the computer the problem is back and I have to wait for ages for the first media file to start, and then everything works again.
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,379
    1,850
    Country flag
    Ok, what you are describing there is concurrent codec conflict. You have to do one or all of the following then:
    • disable mediainfo (rename mediainfo.dll to for example "mediainfo.old"
    • disable thumbnail generation (inside MePo config -> GUI -> Thumbnails)
    • use a concurrent friendly codec/splitter (not as easy as it sounds)
    • disable anything else that is accessing the media file at the same time as playback starts (AntiVirus, 3rd party tools, etc).
    The reason it works after you start/stop and then start again later, is because the other process (thumbnail generation, mediainfo part, etc) is all done then and cached/re-used.
     

    svortevik

    Portal Pro
    February 15, 2008
    94
    1
    But the problem were non existing before updating to MePo 1.5 and Windows 8.1

    Will a total cleanup of MePo fix this issue, or is this a common problem?

    I assume that disabling mediainfo, thumbnail and so on has its downsides?

    There are no 3rd party tools that access the media files as I know of. I tried disabling anti virus etc on booth the file server and client machine, but no luck.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,379
    1,850
    Country flag
    I've got a wide range of media files and am also using Windows 8.1 with MediaPortal 1.5.0, and not a single issue with playing them.

    You did ensure DXVA2 is enabled for LAV codec right?

    Start screen/button -> All Programs -> LAV Filter -> Video Codec Properties -> Enable "DXVA2 (Native)" for hardware accelleration.
     

    svortevik

    Portal Pro
    February 15, 2008
    94
    1
    Yes it is enabled.

    I tried with a different graphic card and it looks like the problem is gone. I have to do some more testing to be sure, but I think I have to buy a new graphic card and drop the Intel HD 4000.

    First I will try to remove the intel driver and use the windows 8 driver instead and see how that goes. I assume I will lose some important features if I do...

    Edit:

    The problem is still there.

    I also got a new problem.

    When changing refresh rate my reciever cant get a signal from my computer. I then have to turn off/on the reciever again to get signal. The problem is that I dont get sound after this happens before I restart my computer.
     
    Last edited:

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    A [solved] Cant see all recorded programs General 9
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    squizeer Sound only when playing 4k UHD (HEVC 265) Codecs, External Players 0
    T Madvr with GeForce 30xx - can't play SDR content after playing HDR General Support 25
    P 1.26.0 Can't play blu-ray disc Bugreports 1
    doskabouter 1.26.0 Codec question (unable to play video, lv50 codec) Codecs, External Players 24
    W 1.25.0 Blu-ray disks that used to play are no longer playing Watch / Listen Media 2
    joecrow [solved] DVD won't play properly. General Support 11
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    BrownGhost Mepo/MediaInfo takes 59 secunds to open library and start play :o( General Support 27
    I 1.25.0 Videos in HEVC UHD 2160p don't play good watch/edit Videos 8
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 2
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    A [solved] How to Play All Videos in a List watch/edit Videos 3
    horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
    horned_reaper [solved] No Fanart when playing Fanart Handler 115
    horned_reaper [solved] When playing music Fanart does not appear immediately after downloading Fanart Handler 272
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    Z Error when attempting to play Blu Ray General 1
    Rob Hexenmeister Playing with hyperlinkParameter and List Control indexes General Support 2
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    2BitSculptor MP 1.23.. music stops playing General Support 6
    C Attempt to play DVD locks up MediaPortal watch/edit Videos 0

    Similar threads

    Top Bottom