VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. hello!

    so, the problem is about the output having additional seconds in it.


    as you can see, when i mux the original video in mkvmerge, the output has an additional 6 seconds when played in MPC-HC (KCP), although what is shown in the windows explorer file information for both videos (original and muxed) are 23:47....
    but when muxed using MeGUI mkv muxer (which uses mkvmerge 8.5.2), it stays at 23:41 and somehow fixes the info in the windows explorer....

    i downloaded the mkvmerge 8.5.2 and used it, but it produces the same output as in the 2nd column of the picture.

    also i did some testing on the older versions of mkvmerge, and:
    oldest version up to v5.8.0 = the output has the same duration as the source (although the info shown in windows explorer is still 23:47)
    v5.9.0 - v8.8.0 = the output has more duration (23:47, instead of 23:41)

    although when the time reaches 23:41 it skips immediately to 23:47.

    mediainfo of the source:
    General
    Count : 309
    Count of stream of this kind : 1
    Kind of stream : General
    Kind of stream : General
    Stream identifier : 0
    Inform : Matroska: 392 MiB, 23mn 47s
    Unique ID : 262286467912731185091146407411007665434
    Unique ID : 262286467912731185091146407411007665434 (0xC552894813E7050FFCAA30021AC4B51A)
    Count of video streams : 1
    Count of audio streams : 1
    Count of text streams : 1
    Count of menu streams : 1
    Video_Format_List : AVC
    Video_Format_WithHint_List : AVC
    Codecs Video : AVC
    Video_Language_List : Japanese
    Audio_Format_List : AAC
    Audio_Format_WithHint_List : AAC
    Audio codecs : AAC LC
    Audio_Language_List : Japanese
    Text_Format_List : ASS
    Text_Format_WithHint_List : ASS
    Text codecs : ASS
    Text_Language_List : English
    Complete name : \input\[Doki] Clannad After Story - Another World, Kyou Chapter (1280x720 h264 BD AAC) [C640D493].mkv
    Folder name : \input
    File name : [Doki] Clannad After Story - Another World, Kyou Chapter (1280x720 h264 BD AAC) [C640D493]
    File extension : mkv
    Format : Matroska
    Format : Matroska
    Format/Url : http://packs.matroska.org/
    Format/Extensions usually used : mkv mk3d mka mks
    Commercial name : Matroska
    Format version : Version 2
    Codec : Matroska
    Codec : Matroska
    Codec/Url : http://packs.matroska.org/
    Codec/Extensions usually used : mkv mk3d mka mks
    File size : 411234540
    File size : 392 MiB
    File size : 392 MiB
    File size : 392 MiB
    File size : 392 MiB
    File size : 392.2 MiB
    Duration : 1427160
    Duration : 23mn 47s
    Duration : 23mn 47s 160ms
    Duration : 23mn 47s
    Duration : 00:23:47.160
    Duration : 00:23:47;12
    Duration : 00:23:47.160 (00:23:47;12)
    Overall bit rate : 2305191
    Overall bit rate : 2 305 Kbps
    Frame rate : 23.976
    Frame rate : 23.976 fps
    Frame count : 34218
    Title : [Doki] Clannad After Story - Another World, Kyou Chapter (1280x720 h264 BD AAC).mkv
    Movie name : [Doki] Clannad After Story - Another World, Kyou Chapter (1280x720 h264 BD AAC).mkv
    Encoded date : UTC 2011-06-09 10:12:32
    File creation date : UTC 2016-02-03 16:00:35.370
    File creation date (local) : 2016-02-04 00:00:35.370
    File last modification date : UTC 2016-02-04 08:22:13.554
    File last modification date (local) : 2016-02-04 16:22:13.554
    Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 18 2010 07:35:17
    Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 18 2010 07:35:17
    Writing library : libebml v1.0.0 + libmatroska v1.0.0
    Writing library : libebml v1.0.0 + libmatroska v1.0.0
    Attachements : Alberta_Regular.ttf / AVGARDNEclipse.ttf / BriemScriptStd-Medium.otf / kaiu.ttf / MTCORSVA.TTF / segoepr.ttf / edosz.ttf

    Video
    Count : 311
    Count of stream of this kind : 1
    Kind of stream : Video
    Kind of stream : Video
    Stream identifier : 0
    StreamOrder : 2
    Inform : Japanese, 1280*720 (16:9), at 23.976 fps, AVC (High@L4.1) (CABAC / 8 Ref Frames)
    ID : 3
    ID : 3
    Unique ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format/Url : http://developers.videolan.org/x264.html
    Commercial name : AVC
    Format profile : High@L4.1
    Format settings : CABAC / 8 Ref Frames
    Format settings, CABAC : Yes
    Format settings, CABAC : Yes
    Format settings, ReFrames : 8
    Format settings, ReFrames : 8 frames
    Internet media type : video/H264
    Codec ID : V_MPEG4/ISO/AVC
    Codec ID/Url : http://ffdshow-tryout.sourceforge.net/
    Codec : V_MPEG4/ISO/AVC
    Codec : AVC
    Codec/Family : AVC
    Codec/Info : Advanced Video Codec
    Codec/Url : http://ffdshow-tryout.sourceforge.net/
    Codec profile : High@L4.1
    Codec settings : CABAC / 8 Ref Frames
    Codec settings, CABAC : Yes
    Codec_Settings_RefFrames : 8
    Duration : 1427177
    Duration : 23mn 47s
    Duration : 23mn 47s 177ms
    Duration : 23mn 47s
    Duration : 00:23:47.177
    Duration : 00:23:47;12
    Duration : 00:23:47.177 (00:23:47;12)
    Width : 1280
    Width : 1 280 pixels
    Height : 720
    Height : 720 pixels
    Pixel aspect ratio : 1.000
    Display aspect ratio : 1.778
    Display aspect ratio : 16:9
    Frame rate mode : CFR
    Frame rate mode : Constant
    Frame rate : 23.976
    Frame rate : 23.976 fps
    Frame count : 34218
    Resolution : 8
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8
    Bit depth : 8 bits
    Scan type : Progressive
    Scan type : Progressive
    Interlacement : PPF
    Interlacement : Progressive
    Delay : 0
    Delay : 00:00:00.000
    Delay, origin : Container
    Delay, origin : Container
    Title : AVC (720p)
    Writing library : x264 - core 114 r1924 08d04a4
    Writing library : x264 core 114 r1924 08d04a4
    Encoded_Library_Name : x264
    Encoded_Library_Version : core 114 r1924 08d04a4
    Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Language : ja
    Language : Japanese
    Language : Japanese
    Language : ja
    Language : jpn
    Language : ja
    Default : Yes
    Default : Yes
    Forced : No
    Forced : No

    Audio
    Count : 254
    Count of stream of this kind : 1
    Kind of stream : Audio
    Kind of stream : Audio
    Stream identifier : 0
    StreamOrder : 1
    Inform : Japanese, 48.0 KHz, 6 channels, AAC (LC)
    ID : 2
    ID : 2
    Unique ID : 3868865124
    Format : AAC
    Format/Info : Advanced Audio Codec
    Commercial name : AAC
    Format profile : LC
    Format settings, SBR : No (Explicit)
    Format settings, SBR : No (Explicit)
    Codec ID : A_AAC
    Codec : AAC LC
    Codec : AAC LC
    Codec/Family : AAC
    Duration : 1427160
    Duration : 23mn 47s
    Duration : 23mn 47s 160ms
    Duration : 23mn 47s
    Duration : 00:23:47.160
    Duration : 00:23:47.160
    Channel(s) : 6
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Channel positions : 3/2/0.1
    ChannelLayout : C L R Ls Rs LFE
    Sampling rate : 48000
    Sampling rate : 48.0 KHz
    Samples count : 68503680
    Compression mode : Lossy
    Compression mode : Lossy
    Delay : 0
    Delay : 00:00:00.000
    Delay, origin : Container
    Delay, origin : Container
    Delay relative to video : 0
    Delay relative to video : 00:00:00.000
    Video0 delay : 0
    Video0 delay : 00:00:00.000
    Title : AAC (5.1 Ch)
    Language : ja
    Language : Japanese
    Language : Japanese
    Language : ja
    Language : jpn
    Language : ja
    Default : Yes
    Default : Yes
    Forced : No
    Forced : No

    Text
    Count : 218
    Count of stream of this kind : 1
    Kind of stream : Text
    Kind of stream : Text
    Stream identifier : 0
    StreamOrder : 0
    Inform : English, ASS
    ID : 1
    ID : 1
    Unique ID : 2645736245
    Format : ASS
    Format/Url : http://ffdshow.sourceforge.net/tikiwiki/tiki-index.php?page=Getting+ffdshow
    Commercial name : ASS
    Codec ID : S_TEXT/ASS
    Codec ID/Info : Advanced Sub Station Alpha
    Codec : S_TEXT/ASS
    Codec : ASS
    Codec/Info : Advanced Sub Station Alpha
    Compression mode : Lossless
    Compression mode : Lossless
    Title : ASS [SS-Eclipse]
    Language : en
    Language : English
    Language : English
    Language : en
    Language : eng
    Language : en
    Default : Yes
    Default : Yes
    Forced : No
    Forced : No

    Menu
    Count : 85
    Count of stream of this kind : 1
    Kind of stream : Menu
    Kind of stream : Menu
    Stream identifier : 0
    Chapters_Pos_Begin : 80
    Chapters_Pos_End : 85
    00:00:00.000 : en:Prologue
    00:01:46.022 : en:OP
    00:03:15.820 : en:Part A
    00:10:24.832 : en:Part B
    00:20:03.452 : en:ED
    this only happens on some videos

    can someone help me out?
    thanks!
    Quote Quote  
  2. Such inconsistencies are usually the result of the different tracks having different durations. Most often when the video track ends before the audio or subtitle tracks. So in your case the video track may be 23m41s, but the subtitle track may be 23m47s. With additional metadata elements written by newer mkvmerge versions MediaInfo and/or your player might be able to more precisely detect the track durations.
    If you care about consistent behavior extract the subtitle track and look for any lines that end after 23m41s. Then either shorten their end times (to max. 23m41s) or delete them altogether. Mux all tracks back together afterwards.
    Quote Quote  
  3. Originally Posted by sneaker View Post
    Such inconsistencies are usually the result of the different tracks having different durations. Most often when the video track ends before the audio or subtitle tracks. So in your case the video track may be 23m41s, but the subtitle track may be 23m47s. With additional metadata elements written by newer mkvmerge versions MediaInfo and/or your player might be able to more precisely detect the track durations.
    If you care about consistent behavior extract the subtitle track and look for any lines that end after 23m41s. Then either shorten their end times (to max. 23m41s) or delete them altogether. Mux all tracks back together afterwards.
    holy cow, the subtitles did contain extra seconds with no lines in it 0_0
    thanks man!

    i thought that the problem was with the audio so i really got concerned... thanks again!!!!
    Quote Quote  
  4. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Just saying THANKS! for this useful topic
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!