[FFmpeg-trac] #2020(undetermined:new): Wrong duration of mpeg-ps file

FFmpeg trac at avcodec.org
Wed Dec 12 12:08:35 CET 2012


#2020: Wrong duration of mpeg-ps file
-------------------------------------+-------------------------------------
             Reporter:  zoominla     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Reproduce command: ffmpeg.exe -i DreamComeTrue.mpg
 FFmpeg version: All versions
 Output of ffmpeg:
 [mpeg @ 01BF9760] max_analyze_duration 5000000 reached at 5016000
 Input #0, mpeg, from 'F:\video\mtv\F0155301553685.mpg':
   Duration: 22:19:26.97, start: 0.213000, bitrate: 14 kb/s
     Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
     Stream #0:1[0x1c1]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
     Stream #0:2[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR
 8:9 DAR
 4:3], 4000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
 At least one output file must be specified

 Problem: ffmpeg detected duration is 22:19:26.97, in fact it's 4min 17s.
 Mediainfo and players(VLC) detect it correctly.

 Test file: http://www.mvlib.net/dl/DreamComeTrue.mpg

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


More information about the FFmpeg-trac mailing list