Opened 11 years ago

Closed 11 years ago

#3066 closed defect (duplicate)

Particular mkv file not showing correct duration

Reported by: Swinder Pal SINGH Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mkv duration
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (4)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegavformat
Keywords: mkv duration added
Priority: criticalminor

Please provide the sample.

in reply to:  1 comment:2 by Swinder Pal SINGH, 11 years ago

Replying to cehoyos:

Please provide the sample.

The sample is 4.6MB, I cant attach it due to 2.5MB limitation. Guide me how to do?

in reply to:  1 comment:3 by Swinder Pal SINGH, 11 years ago

Replying to cehoyos:

Please provide the sample.

Please see if you can access the sample at
https://docs.google.com/file/d/0B04C9mWNQoHfS2NZUWNhOVFRZUE/edit?usp=sharing

comment:4 by Carl Eugen Hoyos, 11 years ago

Resolution: duplicate
Status: newclosed

Duplicate of ticket #1558.

Note: See TracTickets for help on using tickets.