VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Please take a look at this report from MediaInfo

    Code:
    General 
    Unique ID : 73535907160229785234708819762834513689 (0x375280249E617293C7E518D10C8F1F19) 
    Complete name : Y:\Television\Scrubs\Season 5\S05E24 - My Transition.mkv 
    Format : Matroska 
    Format version : Version 4 / Version 2 
    File size : 334 MiB 
    Duration : 25 min 50 s 
    Overall bit rate : 1 804 kb/s 
    Encoded date : UTC 2019-09-03 20:47:38 
    Writing application : mkvmerge v33.1.0 ('Primrose') 64-bit 
    Writing library : libebml v1.3.7 + libmatroska v1.5.0 
    
    Video 
    ID : 1 
    Format : AVC 
    Format/Info : Advanced Video Codec 
    Format profile : High@L3 
    Format settings : CABAC / 5 Ref Frames 
    Format settings, CABAC : Yes 
    Format settings, RefFrames : 5 frames 
    Codec ID : V_MPEG4/ISO/AVC 
    Duration : 22 min 3 s 
    Bit rate : 1 721 kb/s 
    Width : 712 pixels 
    Height : 574 pixels 
    Display aspect ratio : 4:3 
    Original display aspect ratio : 5:4 
    Frame rate mode : Constant 
    Frame rate : 25.000 FPS 
    Color space : YUV 
    Chroma subsampling : 4:2:0 
    Bit depth : 8 bits 
    Scan type : Progressive 
    Bits/(Pixel*Frame) : 0.168 
    Stream size : 271 MiB (81%) 
    Writing library : x264 core 158 r2984 3759fcb 
    Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=6,6 / fast_pskip=1 / chroma_qp_offset=-4 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.10 / aq=1:0.50 
    Default : Yes 
    Forced : No 
    
    Audio #1 
    ID : 2 
    Format : AC-3 
    Format/Info : Audio Coding 3 
    Codec ID : A_AC3 
    Duration : 22 min 3 s 
    Bit rate mode : Constant 
    Bit rate : 192 kb/s 
    Channel(s) : 2 channels 
    Channel positions : Front: L R 
    Sampling rate : 48.0 kHz 
    Frame rate : 31.250 FPS (1536 SPF) 
    Bit depth : 16 bits 
    Compression mode : Lossy 
    Stream size : 30.3 MiB (9%) 
    Language : English 
    Service kind : Complete Main 
    Default : No 
    Forced : No 
    
    Audio #2 
    ID : 3 
    Format : AC-3 
    Format/Info : Audio Coding 3 
    Codec ID : A_AC3 
    Duration : 22 min 3 s 
    Bit rate mode : Constant 
    Bit rate : 192 kb/s 
    Channel(s) : 2 channels 
    Channel positions : Front: L R 
    Sampling rate : 48.0 kHz 
    Frame rate : 31.250 FPS (1536 SPF) 
    Bit depth : 16 bits 
    Compression mode : Lossy 
    Stream size : 30.3 MiB (9%) 
    Language : French 
    Service kind : Complete Main 
    Default : Yes 
    Forced : No 
    
    Text #1 
    ID : 4 
    Format : VobSub 
    Muxing mode : zlib 
    Codec ID : S_VOBSUB 
    Codec ID/Info : Picture based subtitle format used on DVDs 
    Duration : 22 min 4 s 
    Bit rate : 8 098 b/s 
    Count of elements : 358 
    Stream size : 1.28 MiB (0%) 
    Language : English 
    Default : No 
    Forced : No 
    
    Text #2 
    ID : 5 
    Format : VobSub 
    Muxing mode : zlib 
    Codec ID : S_VOBSUB 
    Codec ID/Info : Picture based subtitle format used on DVDs 
    Duration : 22 min 4 s 
    Bit rate : 7 328 b/s 
    Count of elements : 337 
    Stream size : 1.16 MiB (0%) 
    Language : French 
    Default : No 
    Forced : No 
    
    Text #3 
    ID : 6 
    Format : VobSub 
    Muxing mode : zlib 
    Codec ID : S_VOBSUB 
    Codec ID/Info : Picture based subtitle format used on DVDs 
    Duration : 18 min 58 s 
    Bit rate : 95 b/s 
    Count of elements : 5 
    Stream size : 13.3 KiB (0%) 
    Language : French 
    Default : No 
    Forced : Yes
    As you can see the video track is 22:03 as well as both audio tracks, and there is no delay. Subtitle tracks are 22:04 (still no delay) and 18:58 for the forced subtitle track (no delay either). However in the general tab duration is 25:50 ? Windows also reports a video duration of 25:50, but MPC reports 22:03. Do you know why this is happening? Have I made a mistake muxing this file?
    Quote Quote  
  2. I think the "Duration" of the tracks is not counted from a virtual point zero on the timeline but from the first packet of said track. In case of a subtitle track that would be its first line. So it is possible for the first line of e.g. the Track with ID 6 to be at 06m52s. Then because the "Duration" is 18m58s the end would be 06m52s+18m58s=25m50s. So it would not be an error of MediaInfo or MKVToolNix but a misinterpretation by the user. The "fix" would be to remove any lines/line endings after 22m3s.
    Quote Quote  
  3. Originally Posted by sneaker View Post
    I think the "Duration" of the tracks is not counted from a virtual point zero on the timeline but from the first packet of said track. In case of a subtitle track that would be its first line. So it is possible for the first line of e.g. the Track with ID 6 to be at 06m52s. Then because the "Duration" is 18m58s the end would be 06m52s+18m58s=25m50s. So it would not be an error of MediaInfo or MKVToolNix but a misinterpretation by the user. The "fix" would be to remove any lines/line endings after 22m3s.
    But then, wouldn't the video be playing for 25:50? There should be some subtitle at the very end of the file, well after the video has ended, but it isn't the case.
    Quote Quote  
  4. Originally Posted by ZetaStax View Post
    But then, wouldn't the video be playing for 25:50?
    No, not necessarily. Depends on the player.

    Originally Posted by ZetaStax View Post
    There should be some subtitle at the very end of the file, well after the video has ended, but it isn't the case.
    How did you determine that "it isn't the case"?
    Quote Quote  
  5. Well unless MPC is doing some weird magic, I should be able to tell by watching the video. It ends at 22:03 and the last subtitle appears at 21:27. Considering MediaInfo reports a duration of 25:50 I would expect MPC to play for that duration, including 3:47 minutes of black frames at the end, and a final subtitle somewhere near the end that would explain this extra duration.

    EDIT: But I've recently had trouble with VsRip, could be that the subtitle track has dangling information, not real subpic but garbage data maybe.
    Quote Quote  
  6. I've extracted the subtitle tracks with a different software and everything is in order, def something wrong with VsRip. Thanks for the pointers sneaker.
    Quote Quote  
  7. What does "in order" mean?

    You could try MKVToolNix GUI's Info tool. Look into the last clusters to see what track(s) they belong to and what timecodes they have.
    Last edited by sneaker; 4th Sep 2019 at 16:05. Reason: Info tool, not Header editor
    Quote Quote  



Similar Threads

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