[FFmpeg-trac] #1836(avformat:open): Wrong duration in TS container

FFmpeg trac at avcodec.org
Tue Oct 30 05:54:48 CET 2012


#1836: Wrong duration in TS container
-------------------------------------+------------------------------------
             Reporter:  Heesuk Jung  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts       |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by lingjiujianke):

 The patch can make new bug "Floating point exception "

 break down at
 Program terminated with signal 8, Arithmetic exception.
 #0  0x0000000000594a6f in check_duration_using_bit_rate
 (ic=0xfffffffffffffb50, options=0x33efce0) at libavformat/utils.c:2029
 2029            duration >
 (filesize*8/(bit_rate/1000)*limit_filesize_multiple*1000)) {



 full command line is
 ffmpeg -i input.mkv -force_key_frames
 1,4,8,13,18,24,28,32,36,40,44,48,52,56,60,64,68 -strict experimental
 -acodec aac -vcodec libx264 -map 0:0 -map 0:1 -b:v 2000k -r 25 -b:a 88k
 -ar 44100  -preset ultrafast -vprofile main -vlevel 2.0 -f segment
 -segment_format mpegts  -segment_list a.m3u8 -segment_times
 1,4,8,13,18,24,28,32,36,40,44,48,52,56,60,64,68  -segment_time_delta 0.05
 -bsf h264_mp4toannexb  -v debug -s 1280x720  -async 1 output-%d.ts

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1836#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list