[no Bug] Subtitle Issues (.m2ts .mkv) MPC Splitter Matroska and Mpeg. (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #31
    Hi,

    I don't know what to say !
    But like in MP audio switching with MPC MPEG doesn't work each time, maybe some improvement must be make, i try to see the code, but i didn't succeed.
    On some m2ts, it find 3 audio stream, but only 2 is present and on some other all is good.
    Seb.
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Sebastiii
    I am using MPC-HC from xvidvideo.ru and with internal Gabest spliter (embedded into mpc-hc.exe) I have never observed bugs with presense of tracks or subs in m2ts files.

    But - there is one exception.
    If you move m2ts-file from BDMV/STREAM folder to some other place and try to open it with MPC-HC - most probably, you will observe the following bugs:
    - some tracks or subs are not shown;
    - some tracks or subs have wrong language displayed in context menu.
    MPC-HC always checks presence of ../BDMV/PLAYLIST/*.mpls data in case of m2ts-file. If these data not found, MPC-HC does wrong decisions regarding content of m2ts-file.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #33
    Rivera

    So it would be difficult on only .m2ts.
    For BD structure, its maybe possible to analyse .mpls.

    On my remux, the .mpls shown this :


    I think not many information on it, could you past an example ?

    So i remake test :
    Like i try to explain, MPC Mpeg Filter has the same output pin like Haali. (So the code in MP works same.)

    But like you say for MPC-HC with .m2ts outside of his place, MP didn't find good information, the same sample in MPC-HC soft with my .m2ts (not in BD structure) it find 2 stream Audio and not 3 like MP.

    In Mediainfo (soft) all seems good too. (it find 2 audio stream) why MP find 3 ? (Maybe some ajustement must made in GetStream code).

    :D
    Seb

    EDIT :

    I try to play and it find 2 streams :
    2010-03-15 10:50:00.489260 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Video; Name=Video - AVC (H.264), High Profile, Level 4.1, 1920x1040, 23.975 fps (1011,e0,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=0, PDWGroup=0
    2010-03-15 10:50:00.490260 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=Audio - DTS, 48.0 kHz, 6 chn, 1509.8 kbit/s (1100,fd,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=1, PDWGroup=1
    2010-03-15 10:50:00.490260 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=Audio - Dolby Digital, 48.0 kHz, 6 chn, 384.0 kbit/s (1101,fd,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=2, PDWGroup=1
    2010-03-15 10:50:00.490260 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Subtitle_hidden; Name=No subtitles, Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=3, PDWGroup=2
    2010-03-15 10:50:00.491260 [Info.][MPMain(1)]: g_Player.OnStarted() C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts media:Video

    I stop playback and restart it :
    2010-03-15 10:51:58.956036 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Video; Name=Video - AVC (H.264), High Profile, Level 4.1, 1920x1040, 23.975 fps (1011,e0,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=0, PDWGroup=0
    2010-03-15 10:51:58.956036 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=Audio - DTS, 48.0 kHz, 6 chn, 1509.8 kbit/s (1100,fd,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=1, PDWGroup=1
    2010-03-15 10:51:58.956036 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=Audio - DTS, 48.0 kHz, 6 chn, 1509.8 kbit/s (1100,fd,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=2, PDWGroup=1
    2010-03-15 10:51:58.957036 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=Audio - Dolby Digital, 48.0 kHz, 6 chn, 384.0 kbit/s (1101,fd,00), Filter=C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts, Id=3, PDWGroup=1
    2010-03-15 10:51:58.957036 [Info.][MPMain(1)]: g_Player.OnStarted() C:\Partage2\2010.03\Sample\M2TS\Therapy.m2ts media:Video
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Sebastiii said:
    I think not many information on it, could you past an example ?
    Actually, I am not an expert on BD structure.
    Let me tell you how I guessed about importance of presence of mpls files.
    I had a lot of BDMV folders with remuxes. Basically I played m2ts files in MPC-HC and was quite satisfied with it.
    Suppose my movies' catalog structure was like this:
    Code:
    MyMovies
    |- Terminator      - BDMV – STREAM – 00000.m2ts
    |                         - ...
    |                         - ...
    |- Face Off        - BDMV – STREAM – 00000.m2ts
    |                         - ...
    |                         - ...
    |- Predator        - BDMV – STREAM – 00000.m2ts
    |                         - ...
    |                         - ...
    |- La Vita e Bella - BDMV – STREAM – 00000.m2ts
                              - ...
                              - ...
    One day I decided to remove extra files kept in BDMV folders and leave only m2ts-files (which contain movies). I wanted the following structure:
    Code:
    MyMovies
    |- Terminator      - Terminator.m2ts
    |- Face Off        - Face Off.m2ts
    |- Predator        - Predator.m2ts
    |- La Vita e Bella - La Vita e Bella.m2ts
    But when I opened some single m2ts file (which BDMV extra files I deleted) I realised the bugs with tracks & subs mentioned above.
    Then for some particular movie I restored the original BDMV extra files (which I deleted) - and again the corresponding m2ts file played properly in MPC-HC.
    Then I again started to delete those BDMV extra files - one by one.
    The minimal structure for properly played m2ts file was:
    Code:
    SomeMovie - BDMV - STREAM - 00000.m2ts
                     - PLAYLIST - ...some mpls file made by tsMuxer
    If delete this mpls file or delete PLAYLIST folder - I observed bugs.

    Sebastiii said:
    MPC Mpeg Filter has the same output pin like Haali. (So the code in MP works same.)
    But like you say for MPC-HC with .m2ts outside of his place, MP didn't find good information, the same sample in MPC-HC soft with my .m2ts (not in BD structure) it find 2 stream Audio and not 3 like MP.
    Unfortunately, I am not so fluent in DS-filters :(.
    Could you give me some samples? I will check them on my setup.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #37
    Thanks,

    So we must remux all BD in mkv ? (i have try and i can switch Audio with ffdshow stream switcher)
    But with DS Mux, how i can put subtitle ?
    :D
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    hoborg
    Sebastiii
    Of course, we can convert m2ts to mkv:
    - first demux m2ts to separate video & audio streams + subtitles (using tsMuxer);
    - in case of PGS subtitles - we need to convert them to sub+idx subtitles (using BDSup2Sub);
    - next gather everything to one mkv container (using mkvmerge).

    But there are 3 difficult issues:
    - if m2ts contains PCM track - at demux it will be splitted to several files (each not more than 2 Gb);
    - if m2ts contains DolbyTrueHD track - some people could not play it using Haali splitter;
    - not all the PGS subs can be easily converted to sub+idx - I mean nice graphical subtitles (with pictures etc).

    The main advantage of mkv - possibility to name tracks & subs - like "Voiceover AC3 5.1 (over Spanish)".
    But anyway the convert described above takes a lot of time. Also we loose possibility to burn remuxes to BD-disks in future.

    So, it is not a good idea to solve the discussed problem by changing a format.
     

    JACOB B

    Portal Pro
    September 3, 2008
    81
    7
    Home Country
    Denmark Denmark
    So what is the "real" solution (not work around) right now - wait for someone to fix the filters, or?

    cheers,
    Jacob
     

    Users who are viewing this thread

    Top Bottom