[FFmpeg-devel] [PATCH] Wrong duration in TS container (Ticket #1836)

Steven Liu lingjiujianke at gmail.com
Tue Oct 30 06:24:24 CET 2012


2012/10/25 Michael Niedermayer <michaelni at gmx.at>:
> On Thu, Oct 25, 2012 at 05:30:54PM +0900, Heesuk Jung wrote:
>> Hi,
>>

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


More information about the ffmpeg-devel mailing list