[Approved] MPC-HC/mpeg Splitter Audio+Subtitle Track Name Processing (1 Viewer)

nyt

Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    Afaik only core.dll is changed, but it's always better to be safe than sorry ;)

    some osd code in the windowplugin is chaged as well.
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    nyt
    I am using 1.1.rc1.
    If I change all 3 dlls (Core.dll, mpcSubs.dll, WindowPlugins.dll) - then in MyMovies I cannot enter into any share which I registered in Configuration.
    Suppose, I registered 3 folders in MyMovies: "Movies", "Animation" & "Demos". So, I can see these 3 folders + "CD/DVD" - and I cannot enter to any of them.
    Subs are still processed not properly.

    If I restore WindowPlugins.dll - then I can enter and start some movie.
    But I observe broken audio processing - noise instead of clear voice. I am using ffdshow audio decoder.
    And subs are still not processed properly.

    Next, if I restore Core.dll - I observe clear sound.
    But still the same problem with subs....

    So, I restored all 3 dlls.
     

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    these dll's were built off svn, no guarantee they'd work with the version you had. If you build with the patches everything should work well =]
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    these dll's were built off svn, no guarantee they'd work with the version you had. If you build with the patches everything should work well =]
    Most probably you are right :).
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    nyt
    My friend made a built with your patch and I found one bug:

    After applying the patch I found that titles are processed incorrectly:
    if some title is "Voiceover (aliens) DD6ch", it will be displayed as "Voiceover DD6ch" (with 2 blanks between words).
    Similarly: "English (comments) DD2ch" -> "English DD2ch".
    Seems that (...) is removed :)

    Here it was reported:
    https://forum.team-mediaportal.com/...les-audio-tracks-subs-osd-context-menu-79474/
     

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    please provide a mediaportal log of playing that track so I can see whats going on. I didn't add any extra parsing for mkv files, but did set the plugin to display all the info for it.
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    please provide a mediaportal log of playing that track so I can see whats going on. I didn't add any extra parsing for mkv files, but did set the plugin to display all the info for it.
    I attached 2 logs:

    RC2.zip:
    Done with RC2 - titles are shown with (......)

    patched.zip:
    Done with custom build - without (.....)

    During tests I did the following:
    1. select "Gladiator.mkv", change tracks - eiher by pressing hot key or by selecting from context menu.
    2. then the same with "Forrest Gump.mkv"

    Below are MediaInfo for both the files:

    Gladiator:
    Code:
    General
    Complete name                    : \\Silverstone\Video 1\Movies\Gladiator\Gladiator.mkv
    Format                           : Matroska
    File size                        : 17.5 GiB
    Duration                         : 2h 34mn
    Overall bit rate                 : 16.2 Mbps
    Encoded date                     : UTC 2010-02-06 04:47:54
    Writing application              : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
    Writing library                  : libebml v0.7.7 + libmatroska v0.8.1
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L5.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 8 frames
    Muxing mode                      : Container profile=Unknown@5.1
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 2h 34mn
    Bit rate                         : 10.6 Mbps
    Nominal bit rate                 : 11.0 Mbps
    Width                            : 1 920 pixels
    Height                           : 1 080 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 23.976 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.213
    Stream size                      : 11.4 GiB (65%)
    Writing library                  : x264 core 57 svn-709C
    Encoding settings                : cabac=1 / ref=5 / deblock=1:-3:-2 / analyse=0x3:0x113 / me=umh / fpel_cmp=sad / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=1 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=11000 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
    Language                         : English
    
    Audio #1
    ID                               : 2
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Codec ID                         : A_AC3
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 384 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Stream size                      : 426 MiB (2%)
    Title                            : Dubbed DD 6ch
    Language                         : Russian
    
    Audio #2
    ID                               : 3
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Codec ID                         : A_AC3
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 384 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : L R
    Sampling rate                    : 48.0 KHz
    Video delay                      : 4ms
    Stream size                      : 426 MiB (2%)
    Title                            : Voiceover #1 DD 2ch
    Language                         : Russian
    
    Audio #3
    ID                               : 4
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Video delay                      : 68ms
    Stream size                      : 1.63 GiB (9%)
    Title                            : Voiceover #2 DTS 6ch
    Language                         : Russian
    
    Audio #4
    ID                               : 5
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 755 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 836 MiB (5%)
    Title                            : Voiceover #3 DTS 6ch
    Language                         : Russian
    
    Audio #5
    ID                               : 6
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Video delay                      : 68ms
    Stream size                      : 1.63 GiB (9%)
    Title                            : Voiceover (Zhivov) DTS 6ch
    Language                         : Russian
    
    Audio #6
    ID                               : 7
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Format profile                   : ES
    Codec ID                         : A_DTS
    Duration                         : 2h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 755 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 836 MiB (5%)
    Title                            : English DTS-ES 6ch
    Language                         : English
    
    Text #1
    ID                               : 8
    Format                           : VobSub
    Codec ID                         : S_VOBSUB
    Codec ID/Info                    : The same subtitle format used on DVDs
    Title                            : Only labels
    Language                         : Russian
    
    Text #2
    ID                               : 9
    Format                           : ASS
    Codec ID                         : S_TEXT/ASS
    Codec ID/Info                    : Advanced Sub Station Alpha
    Language                         : English


    Forrest Gump:
    Code:
    General
    Complete name                    : \\Silverstone\Video 1\Movies\Forrest Gump\Forrest Gump.mkv
    Format                           : Matroska
    File size                        : 36.9 GiB
    Duration                         : 2h 22mn
    Overall bit rate                 : 37.1 Mbps
    Encoded date                     : UTC 2009-11-28 22:32:20
    Writing application              : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
    Writing library                  : libebml v0.7.7 + libmatroska v0.8.1
    Cover                            : Yes / Yes / Yes
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 4 frames
    Muxing mode                      : Container profile=Unknown@0.0
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 2h 22mn
    Width                            : 1 920 pixels
    Height                           : 1 080 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 23.976 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Language                         : English
    Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
    Transfer characteristics         : BT.709-5, BT.1361
    Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
    
    Audio #1
    ID                               : 2
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Codec ID                         : A_AC3
    Duration                         : 2h 22mn
    Bit rate mode                    : Constant
    Bit rate                         : 448 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Stream size                      : 456 MiB (1%)
    Title                            : Voiceover #1 DD 6ch
    Language                         : Russian
    
    Audio #2
    ID                               : 3
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 22mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 1.50 GiB (4%)
    Title                            : Voiceover #2 DTS 6ch
    Language                         : Russian
    
    Audio #3
    ID                               : 4
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 22mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 1.50 GiB (4%)
    Title                            : Voiceover #3 DTS 6ch
    Language                         : Russian
    
    Audio #4
    ID                               : 5
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 22mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 1.50 GiB (4%)
    Title                            : Voiceover (Gavrilov) DTS 6ch
    Language                         : Russian
    
    Audio #5
    ID                               : 6
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 2h 22mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Stream size                      : 1.50 GiB (4%)
    Title                            : Voiceover (Servin) DTS 6ch
    Language                         : Russian
    
    Audio #6
    ID                               : 7
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Format profile                   : MA
    Codec ID                         : A_DTS
    Duration                         : 2h 22mn
    Bit rate mode                    : Variable
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Surround: L R, LFE
    Sampling rate                    : 48.0 KHz
    Resolution                       : 24 bits
    Title                            : English DTS-HD 6ch
    Language                         : English
    
    Text #1
    ID                               : 8
    Format                           : UTF-8
    Codec ID                         : S_TEXT/UTF8
    Codec ID/Info                    : UTF-8 Plain Text
    Language                         : Russian
    
    Text #2
    ID                               : 9
    Format                           : UTF-8
    Codec ID                         : S_TEXT/UTF8
    Codec ID/Info                    : UTF-8 Plain Text
    Language                         : Russian
    
    Text #3
    ID                               : 10
    Format                           : ASS
    Codec ID                         : S_TEXT/ASS
    Codec ID/Info                    : Advanced Sub Station Alpha
    Language                         : English
     

    Attachments

    • RC2.zip
      30.6 KB
    • patched.zip
      30.6 KB

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    This is how your mkv splitter is returning the tracks for gladiator. How is each one of these displayed for you when you change audio tracks?

    Dubbed DD 6ch [Russian]
    Voiceover #1 DD 2ch [Russian]
    Voiceover #2 DTS 6ch [Russian]
    Voiceover #3 DTS 6ch [Russian]
    Voiceover (Zhivov) DTS 6ch [Russian]
    English DTS-ES 6ch [English]
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    In RC2:
    a) in Context menu it is displayed like
    Russian: Voiceover #1 DD 2ch
    Russian: Voiceover (Zhivov) DTS 6ch

    b) in OSD:
    Russian
    Russian

    in patched:
    a) in Context menu it is displayed like
    Russian: Voiceover #1 DD 2ch
    Russian: Voiceover DTS 6ch

    b) in OSD:
    Russian: Voiceover #1 DD 2ch
    Russian: Voiceover DTS 6ch
     

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    Ok, so the language is fine, just the extra info is getting skewed. This was to remove the useless labels like (Audio 1)...

    + // If anything in parentheses slip through, remove them
    + streamName = Regex.Replace(streamName, @"\(.+?\)", "");

    are the lines in the patch that is causing that. Feel free to remove and rebuild =]
     

    Users who are viewing this thread

    Top Bottom