MP Freezes at play screen - log posted (1 Viewer)

timdastis

Portal Member
January 9, 2010
20
0
Home Country
United States of America United States of America
Hello all,

I'm having a hell of a time figuring this one out - I upgraded my system to include the newest MP (1.2.1) and the latest MovingPictures(1.2.3xxx)

Everything works fine until I try to play a movie, tv show (through mp-tvseries) - as soon as I select play, the screen sometimes dims a little or not at all, and nothing happens - I can hit back on my remote and I get the click response from my theme (StreamedMP) but otherwise I have to kill MP to get the PC to respond again

I'm out of ideas - when I disable the Moving Pictures plugin, everything works great as far as playing tv shows. But i absolutely need Moving Pictures to manage my movies and have used it for many years. Any help is appreciated - I posted my debug log - let me know if anything else is needed
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Try this first please:

    Download MediaInfo DLL 32-bit standalone without installer (Yes, you need 32-bit, even on a 64-bit OS, because MediaPortal is 32-bit)

    Unzip the file, and use the MediaInfo.DLL inside of it to overwrite the version that resides in your MediaPortal program root folder (where you can find mediaportal.exe as well).

    Then test again.
     

    timdastis

    Portal Member
    January 9, 2010
    20
    0
    Home Country
    United States of America United States of America
    Try this first please:

    Download MediaInfo DLL 32-bit standalone without installer (Yes, you need 32-bit, even on a 64-bit OS, because MediaPortal is 32-bit)

    Unzip the file, and use the MediaInfo.DLL inside of it to overwrite the version that resides in your MediaPortal program root folder (where you can find mediaportal.exe as well).

    Then test again.

    thanks for the quick reply

    I saw this in another post similar to mine (probably should have mentioned that) and I tried this method and got no fix from it
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I saw this in another post similar to mine (probably should have mentioned that) and I tried this method and got no fix from it

    Was worth a try.

    Open MovPic config -> at importer tab, use the gear icon to 'disable mediainfo'.

    Does that then work? Seems 80% of the problems relate to mediainfo these days, usually updating mediainfo fixes it, but if you have a corrupt file somewhere it could cause problems that are simply too much to overcome.
     

    timdastis

    Portal Member
    January 9, 2010
    20
    0
    Home Country
    United States of America United States of America
    I saw this in another post similar to mine (probably should have mentioned that) and I tried this method and got no fix from it

    Was worth a try.

    Open MovPic config -> at importer tab, use the gear icon to 'disable mediainfo'.

    Does that then work? Seems 80% of the problems relate to mediainfo these days, usually updating mediainfo fixes it, but if you have a corrupt file somewhere it could cause problems that are simply too much to overcome.


    That did the trick! for all others with this issue, it wasn't 'disable mediainfo' but there was a checkbox that had to be selected again to uncheck

    does this mean that new movies added to my library will not be detected and fanart and information will not be downloaded? if so is there a workaround for this?

    i really appreciate the help! Cheers
    :D
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    does this mean that new movies added to my library will not be detected and fanart and information will not be downloaded? if so is there a workaround for this?

    MediaInfo reads your mediafile and gets information such as runtime, resolution, framerate, video-codec, video bitrate, audio-codec, audio-bitrate, etc.

    This information can then be used by MovingPictures (via the skin you use) to show an AC3 and 1080p icon when you have an MKV file that matches that. So if you are forced to disable MediaInfo during import, this info won't be present to correctly show all those icons.

    However title, year, summary, actors, directors, writers, genres, tagline, runtime (general one from movie site), and all the artwork for covers and fanarts are dealt with by the movie scraper-scripts and will work fine without MediaInfo.

    Normally MediaInfo works well, but you might have a corrupted file somewhere that causes MediaInfo to crash, which in turn brings MovingPictures to a grinding hault which makes everything fail. The log files should however give you some indication what file is causing it (might need debug-mode enabled). Or you could take all the movies out of your import folder and start adding them back in say 10 at a time, until you find the problem causer.

    Most of the time it's like a 0-byte file or some other corruption. If you can actually take the time to investigate, find the corruption, then you can sent the file to MediaInfo developers, so they can fix it, as well as provide file for MovingPictures developers, so they can perhaps figure out why it failed and find a way around it to not bring everything to a halt.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Hi.

    I just bumped into a similar issue. (I think the same)

    Could you check your DB for double entries? I had RIO in Englisch and added a new version in an other location for the Dutch language veersion.
    The result was 2x RIO in the DB. OK youd think.
    But The result was none of the movies (except for dvd's) played anymore. on pressing Play, the screen would dimm a bit but nothing happens. CTRL+ALT+DEL and kill MP (not responding) is needed to get out of this.
    Upon deleting one of the files everything was 100% ok again.

    [edit]
    part of my conclusion above is NOT true!! Its not due to the double entries.

    I just figured out just this 1 file is responsible for this. Must be a bad file or something. Weird.
    In my case:
    - If RIO NL is present, none of the files work.
    - If Rio NL is deleted from HDD, everyting is OK.

    Weird.


    Code:
    General
    Complete name                  : W:\Rio\Rio 2011.avi
    Format                         : AVI
    Format/Info                    : Audio Video Interleave
    File size                      : 701 MiB
    Duration                       : 1h 26mn
    Overall bit rate               : 1 132 Kbps
    Movie name                     : RIO 2011 - 1080x264.Mkv.DTS + NL.audio.sub.Title0.BlurayRip
    Writing application            : Lavf52.78.4
    Original source form/Name      : RIO 2011 - 1080x264.Mkv.DTS + NL.audio.sub
    
    Video
    ID                             : 0
    Format                         : AVC
    Format/Info                    : Advanced Video Codec
    Codec ID                       : H264
    Duration                       : 1h 26mn
    Bit rate                       : 800 Kbps
    Width                          : 720 pixels
    Height                         : 300 pixels
    Display aspect ratio           : 2.40:1
    Frame rate                     : 23.976 fps
    Color space                    : YUV
    Chroma subsampling             : 4:2:0
    Bits/(Pixel*Frame)             : 0.154
    Stream size                    : 495 MiB (71%)
    
    Audio
    ID                             : 1
    Format                         : MPEG Audio
    Format version                 : Version 1
    Format profile                 : Layer 3
    Mode                           : Joint stereo
    Codec ID                       : 55
    Codec ID/Hint                  : MP3
    Duration                       : 1h 26mn
    Bit rate mode                  : Constant
    Bit rate                       : 320 Kbps
    Channel(s)                     : 2 channels
    Sampling rate                  : 48.0 KHz
    Compression mode               : Lossy
    Stream size                    : 198 MiB (28%)
    Alignment                      : Aligned on interleaves
    Interleave, duration           : 24 ms (0.58 video frame)
    Writing library                : LAME3.98.4
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    If Rio NL is deleted from HDD, everyting is OK.

    When MovingPictures launches for the first time (this happens when MediaPortal shows the 'loading plugins...'), it will scan the database to see if it needs to correct anything. It looks for missing covers, missing fanarts, checks to see if Follw.it needs anything (if enabled), but it also checks to see if any file info is missing.

    This is where it will use MediaInfo to obtain this info by rescanning the file.

    If however something goes wrong and worst-case-scenario MediaInfo crashes, then it will take down MediaPortal, because when you start playback on something MediaPortal itself uses MediaInfo to scan the file as well. MediaPortal does this most likely to obtain the values needed for functions such as IFC (Intelligent Frame Correction, the ability if memory serves me to switch your TV to 24Hz for 24fps content), but whatever the reasons it results in a big mess.

    Normally the developers of MediaInfo are notified of bad media, they examine the file and fix any problems. I did the same a while ago and they fixed it very fast. They provided me with FTP details to upload the file I had that caused problems and after they fixed it, it benefited the entire community. So hopefully you can do the same, the worst step you have to do is sign up at SourceForce so you can start an issue at the MediaInfo project page.

    Now other people do the same thing, so my first advice is to first check to see if a new version of MediaInfo has not been released already. MediaPortal ships with v0.7.35 of the MediaInfo.DLL, but you can download v0.7.51 from their website (be sure to get the 32-bit DLL without installer and just unzip and overwrite the mediainfo.dll that resides aongside mediaportal.exe). If that doesn't work, then you can open MovingPictures config, and use the gear icon to disable obtainment of mediainfo data during import.

    But if that's the case, then MovingPictures won't be able to give you the benefits anymore of MediaInfo data, such as showing AC3 audio icon if the file in question has AC3 streams, or any other media related icon/info. So submit a new MediaInfo SourceForce ticket then and try to get the developers to resolve the issue. However the MediaInfo GUI app (looks like that is what you used) seems to have no problem reading the file, so this makes it really weird.

    So to verify simply switch MediaPortal config into 'debug' mode for logging and clear out your log files, then launch MediaPortal GUI in windowed mode and don't do anything. Then open your movingpictures.log file and see if you see anything weird at the end of the file. For example on this text box I use 0-byte test files (don't actually need to play the movie to test IMDb+ scraper), so I constantly get errors such as:

    Code:
    27-Nov-2011 21:59:47 Debug [        DBLocalMedia]: Updating media info for 'D:\Avatar (Extended Edition).avi' 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: inspecting media : D:\Avatar (Extended Edition).avi 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FrameRate : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoCodec :  
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: HasSubtitles : False 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: NumSubtitles : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Scan type :  
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsInterlaced: False 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Width : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Height : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiochannels : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiorate : 0 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AspectRatio : widescreen 
    27-Nov-2011 21:59:47 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioCodec :  
    27-Nov-2011 21:59:47 Debug [     DatabaseManager]: UPDATING: Avatar (Extended Edition).avi

    But eventhough they do keep showing up everytime I launch MovingPictures either indirect by starting MediaPortal GUI or direct via PluginConfigLoader.exe (shortcut to not have to use MediaPortal config), I just skip over them and they do not cause any problems.

    But clearly yours *IS*, so try to do the same, and provide your debug-enabled (you need to see those 'Debug [' entries) movingpictures.log file as an attachment to your reply on here, so that others like me can examine it and find out if perhaps the fault lies elsewhere.

    :D
     

    Users who are viewing this thread

    Top Bottom