[no Bug] Matroska video with large # of subtitles (39) fail to play (3 Viewers)

jasonwc

Portal Pro
July 4, 2009
83
4
Home Country
United States of America United States of America
MediaPortal Version: 1.1.0 RC3
MediaPortal Skin: StreamedMP 1.0.3.1223
Windows Version: Windows 7 x86 Professional
CPU Type: Core i7 860
HDD: WD Caviar Black 1 TB, Samsung EcoGreen F2 1.5 TB x2, Fantom 1 TB eSATA/USB External x2, Fantom 500GB USB External
Memory: 4 GB DDR3 1333
Motherboard: Gigabyte P55-UD3R
Video Card: ATI Radeon 5850
Video Card Driver: Catalyst 10.4
Sound Card: Onboard
Sound Card AC3:
Sound Card Driver: 6.0.1.6013
1. TV Card: NA
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec: ffdshow
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply: Corsair 650W CMPSU-650TX
Remote: Niveus PC RF Remote
TV: Samsung LN40B530
TV - HTPC Connection: HDMI

I have a Matroska video file which cannot be played by Mediaportal. The video contains a 1080p AVC stream, an AC3 stream, a chapter listing, and 39 subtitles. The problem appears to be the subtitles as simply removing the non-English subs with mkvtoolnix and writing a new video file resolves the issue. This problem also exists in older versions of MPC-HC but is fixed in the current build.

The error merely states that the file could not be played, and provides information about its video and audio codec. I attached the logs from the debug tool as well as a test sample.

Note: I reported this for 1.1.0 RC2. However, I just upgraded to RC3 and ran the new (handy) debug tool which disables all 3rd party plugins and skins. Same result.

I provided a sample video here: https://forum.team-mediaportal.com/...ska-video-large-subtitles-39-fail-play-82236/
 

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Thanks for your report. :)

    I guess you use "MPC-HC" as Engine under "MediaPortal Configuration -> Videos -> [Tab] Subtitle", right?
    If so, could you please dissable it and then try and play the file again?

    Since you said that the issue also occured in older version of the MPC-HC player, then it is likely that there is a bug in the old version of the subtitle engine we have included in MP (which is the same as from the MPC-HC Player as the name suggest :) )


    *Edit - one more question*
    Does that file play in Windows MediaPlayer? (MPC-HC uses its own MKV splitter, so the HAALI Splitter you installed might have issues on his own with that file)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Since you said that the issue also occured in older version of the MPC-HC player, then it is likely that there is a bug in the old version of the subtitle engine we have included in MP (which is the same as from the MPC-HC Player as the name suggest :) )

    If that is the case the bug wont be fixed for 1.1.0. Simply too risk to start to update the 3rd party code at this late stage.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Since you said that the issue also occured in older version of the MPC-HC player, then it is likely that there is a bug in the old version of the subtitle engine we have included in MP (which is the same as from the MPC-HC Player as the name suggest :) )

    If that is the case the bug wont be fixed for 1.1.0. Simply too risk to start to update the 3rd party code at this late stage.
    I agree - if it is too risky it must not be done in 1.1.0.

    But shouldn't we first find out what the actual codechange was to fix that issue, before we judge the risk? :)
     

    jasonwc

    Portal Pro
    July 4, 2009
    83
    4
    Home Country
    United States of America United States of America
    OK:

    1. Tested with the DirectVobSub subtitle engine, and with Subtitles disabled. Problem remains.
    2. Can't play in Windows Media Player (because Haali can't open the file)
    3. Only MPC-HC's internal matroska splitter can load the file correctly. Haali can't.

    I don't think the issue is with the subtitle handling per se. I think it's a problem with the Matroska splitter - it simply can't process that many individual streams (1 video, 1 audio, 39 subtitles, chapter list, and TTF font for ASS forced sub). Haali won't work with the file. MPC-HC automatically uses it's own internal Matroska splitter, whereas all other video files open with Haali. That explains why updating MPC-HC fixed the issue. There must have been an update to its internal splitter.

    There is nothing corrupt about the video file itself. I can replicate the issue with a sample I created.

    Another oddity is that it wouldn't load in the stable version of MPC-HC using ffdshow (software decoder) but it would using the internal DXVA decoder. Updating MPC-HC allowed it to work with either. I'm not sure why the decoder matters though.

    In any case, it's probably not worth fixing. This is the only video file I have that has this issue. It's rare to have so many streams within a single matroska container. The only reason MPC-HC can play it is that it automatically uses its own splitter when Haali silently fails.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    You could try haali with MPC-HC. It allows source splitters to be configured.
     

    jasonwc

    Portal Pro
    July 4, 2009
    83
    4
    Home Country
    United States of America United States of America
    I think this is the MPC-HC SVN buld that fixed the problem:

    Revision 1871 - Directory Listing
    Modified Sun May 9 13:50:40 2010 UTC (8 days, 17 hours ago) by casimir666

    Added : support for MPEG1/Layer1 audio stream in Matroska splitter
    Fixed : crash in Matroska splitter with unknown streams

    It didn't just fail to play. It crashed MPC-HC every time I tried to load the file, using ffdshow to decode. I was using build 1829 at the time, which was released 16 days ago. Thus, the problem was either fixed by build 1871, or some build within that 8 day period.

    You could try haali with MPC-HC. It allows source splitters to be configured.

    Haali is my default Matroska splitter. This is the only file that won't use it.

    Edit: I checked again. There are 43 streams (1 video, 1 audio, 40 subtitles, 1 chapter list) and 2 attachments (Papyrus TTF font)
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    I have tested haali matroska with error messages enabled. it says: "too many tracks"

    So its not MP bug But haali matroska limitation
     

    jasonwc

    Portal Pro
    July 4, 2009
    83
    4
    Home Country
    United States of America United States of America
    I have tested matroska with error messages enabled. it says: "too many tracks"

    So its not MP bug But matroska limitation

    Yeah, that's what I thought. The problem will fix itself when Haali supports a larger number of streams. I find Haali is usually a bit behind MPC-HC's built in splitter (they added support for TrueHD and MLP first).
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    I have tested haali matroska with error messages enabled. it says: "too many tracks"

    So its not MP bug But haali matroska limitation
    Great finding romuz!

    In this case i will change the status of this thread to "no bug" since it is not a bug of MP.

    for the record, MPC-HC also has a direct show mkv splitter, maybe that one does not suffer from this limitation the Haali splitter has. :)
     

    Users who are viewing this thread

    Top Bottom