1.12.0 - MediaPortal Hangs on Movie playback with my .sub and .idx Subtitle Files

Discussion in 'Archive' started by osksa, November 4, 2015.

  1. osksa
    • Premium Supporter

    osksa MP Donator

    Joined:
    September 18, 2015
    Messages:
    43
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +10 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    MediaPortal Version: 1.12.0

    Description
    Hi, whenever I try to play a movie that has a .sub and a .idx subtitle files, MediaPortal hangs. Does not accept any user input. But I can hear the button press sound when trying, but the screen does not update.

    The reason I believe this is a bug is that it works in Windows Media Player (WMP). Using Lav splitter, audio and video decoder in both MediaPortal and WMP. But in WMP I use DirectVobSub for subtitles, and I suppose MediaPortal uses its internal subtitle functionality.

    The .sub file is binary, I don't know much about the format. Other .sub files I have seen have been plain text. The file is 20 mb in size.



    This is the exeption:

    [2015-11-04 18:58:57,847] [Error ] [MPMain ] [ERROR] - ...
    at MediaPortal.Player.Subtitles.MpcEngine.MpcSubtitles.LoadSubtitles(IntPtr d3DDev, Size size, String filename, IGraphBuilder graphBuilder, String paths, Int32 lcidCI)
    at MediaPortal.Player.Subtitles.MpcEngine.LoadSubtitles(IGraphBuilder graphBuilder, String filename)
    ...
    I suppose it would be easier if I supplied the video, but it is 9 gb. If I move the .sub file to another directory, the video plays fine.

    Steps to Reproduce:
    Start MediaPortal, play video file with .sub file in same directory. Mediaportal Hangs.
     

    Attached Files:

    • Thank You! Thank You! x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    Hi,
    Last time i have used .sub it was ok :)
    You could try to start to upload your video on our FTP and stop the transfert after few minutes, it should be enough to trigger your issue.

    From Wiki :
    Upload FTP account
    Please contact admin@team-mediaportal.com for access details.

    Thanks for you detailed report and logs :p
     
  4. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    No need to upload the sample, i can reproduce it too :)
    So will try to debug that when the time will be there lol
     
    • Like Like x 2
  5. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    BTW, MPC-HC player crash too on such IDX/SUB, will try a recent MPC-HC version (just to be sure) so maybe this idx/sub is broken.
     
    • Informative Informative x 1
  6. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    Recent MPC-HC version crash too, so seems to be a bug to resolve on MPC-HC/MPC-HC Engine side.
    Directvobsub doesn't crash, i will try on MP :)
     
    • Thank You! Thank You! x 2
  7. osksa
    • Premium Supporter

    osksa MP Donator

    Joined:
    September 18, 2015
    Messages:
    43
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +10 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Ah, I did not realize that MediaPortal used Media Player Classics subtitle engine. Good to know, could have tested it with MPC myself. If it is a faulty subtitle file, then I understand if it can't handle it. But it would be nice if it did not die... But that seems to be up to MPC developers. I also did not know you could change the subtitle engine. New around here, but learning. Just tried to play with subtitle engine set to DirectVobSub, seems to work without issues.
     
    • Thank You! Thank You! x 1
  8. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    Yep DirectVobSub works correctly under MP too, so if we can have MPC Devs to fix it then we maybe able to port it to MP :)
     
  9. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    I succeed to start the subtitle with MPC-HC engine when debugging and avoid to read one line of code lol, now need to know why :p
     
    Last edited: November 6, 2015
  10. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,226
    Likes Received:
    6,187
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,178 / 9
    Home Country:
    France France
    Show System Specs
    Hi,

    Here we go for testing a new dll :) (need to be replaced into MP prog folder : C:\Program Files (x86)\Team MediaPortal\MediaPortal)
     

    Attached Files:

    • Like Like x 2
  11. osksa
    • Premium Supporter

    osksa MP Donator

    Joined:
    September 18, 2015
    Messages:
    43
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +10 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Wow! That is really fast! So now MP has a better MPC subtitle library than MPC itself. Working fine here, the video that crashed before now works fine, with subtitles. Thank you!
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!