[FFmpeg-trac] #3066(FFmpeg:new): Particular mkv file not showing correct duration

FFmpeg trac at avcodec.org
Mon Oct 21 08:20:52 CEST 2013


#3066: Particular mkv file not showing correct duration
---------------------------------+--------------------------------------
             Reporter:  swinder  |                     Type:  defect
               Status:  new      |                 Priority:  critical
            Component:  FFmpeg   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce: Just run the command as provided

 '''Duration returned by ffmpeg is 00:06:30.25 whereas VLC and mkvtoolnix
 show correct duration as 45sec.'''


 {{{
 ./ffmpeg -i '/home/swinder/Downloads/MKV_DivX5_MPEG1or2
 -L3_720x400_00min45sec_CONT-4G.mkv'
 ffmpeg version N-56669-g1906e00 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Sep 26 2013 17:44:10 with gcc 4.4.7 (Ubuntu/Linaro
 4.4.7-1ubuntu2)
   configuration: --disable-yasm --enable-libx264 --enable-gpl
   libavutil      52. 46.100 / 52. 46.100
   libavcodec     55. 33.100 / 55. 33.100
   libavformat    55. 18.102 / 55. 18.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 87.100 /  3. 87.100
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 [matroska,webm @ 0x3043080] Unknown entry 0x6E1F
 [matroska,webm @ 0x3043080] Unknown entry 0x48B2
 [matroska,webm @ 0x3043080] Read error at pos. 2376 (0x948)
 [matroska,webm @ 0x3043080] Unknown entry 0x81
 [matroska,webm @ 0x3043080] Read error at pos. 192 (0xc0)
 [matroska,webm @ 0x3043080] Unknown entry 0x82
 Truncating packet of size 1304136787 to 4682756
 [matroska,webm @ 0x3043080] Unknown entry 0x67C9
     Last message repeated 1 times
 [matroska,webm @ 0x3043080] Unknown entry 0x82
 Truncating packet of size 1304137043 to 4682741
 [matroska,webm @ 0x3043080] Unknown entry 0x83
     Last message repeated 4 times
 Truncating packet of size 1304137043 to 4682661
 [matroska,webm @ 0x3043080] Unknown entry 0x83
 Truncating packet of size 491633549 to 4682646
 [matroska,webm @ 0x3043080] Unknown entry 0x83
 Truncating packet of size 881479099 to 4682631
 [matroska,webm @ 0x3043080] Unknown entry 0x83
 Truncating packet of size 75773773 to 4682616
 [matroska,webm @ 0x3043080] Unknown entry 0x83
 Truncating packet of size 198743885 to 4682600
 [matroska,webm @ 0x3043080] Unknown entry 0x83
 [matroska,webm @ 0x3043080] Unknown entry 0x7B4C
 [matroska,webm @ 0x3043080] Unknown entry 0x7DAC
 [matroska,webm @ 0x3043080] Unknown entry 0xC9
 [matroska,webm @ 0x3043080] Unknown entry 0x81
 [matroska,webm @ 0x3043080] Unknown entry 0x90
 [matroska,webm @ 0x3043080] Unknown entry 0xF1
 [matroska,webm @ 0x3043080] Unknown entry 0x55B1
 Truncating packet of size 182616600 to 4128317
 [mpeg4 @ 0x3045e60] hmm, seems the headers are not complete, trying to
 guess time_increment_bits
 [mpeg4 @ 0x3045e60] my guess is 5 bits ;)
 [matroska,webm @ 0x3043080] Estimating duration from bitrate, this may be
 inaccurate
 [matroska,webm @ 0x3043080] Could not find codec parameters for stream 3
 (Audio: mp3, 48000 Hz, 2 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [matroska,webm @ 0x3043080] Could not find codec parameters for stream 5
 (Audio: mp3, 48000 Hz, 2 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Guessed Channel Layout for  Input Stream #0.3 : stereo
 Guessed Channel Layout for  Input Stream #0.5 : stereo
 Input #0, matroska,webm, from '/home/swinder/Downloads/MKV_DivX5_MPEG1or2
 -L3_720x400_00min45sec_CONT-4G.mkv':
   Metadata:
     creation_time   : 2005-07-28 20:39:44
   Duration: 00:06:30.25, start: 0.000000, bitrate: 96 kb/s
     Chapter #0.0: start 0.000000, end 15.000000
     Metadata:
       title           : Introduction
     Chapter #0.1: start 15.000000, end 30.000000
     Metadata:
       title           : Developpement
     Chapter #0.2: start 30.000000, end 45.200000
     Metadata:
       title           : Conclusion
     Stream #0:0(eng): Video: mpeg4 (Simple Profile) (DX50 / 0x30355844),
 yuv420p, 720x400 [SAR 1:1 DAR 9:5], 25 fps, 25 tbr, 1k tbn, 25 tbc
 (default)
     Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, s16p, 96 kb/s
 (default)
     Stream #0:2(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400,
 SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
     Stream #0:3(eng): Audio: mp3, 48000 Hz, stereo, s16p (default)
     Stream #0:4(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400,
 SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
     Stream #0:5(eng): Audio: mp3, 48000 Hz, stereo, s16p (default)
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3066>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list