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

Heesuk Jung heesuk.jung at lge.com
Tue Oct 30 07:31:15 CET 2012


Thanks for information.

I'm changing patch because I want to verify regression problem for 440
I think that zero bit rate make floating point exception and soon upload new

Thanks again!

-----Original Message-----
From: ffmpeg-devel-bounces at ffmpeg.org
[mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Steven Liu
Sent: Tuesday, October 30, 2012 2:24 PM
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] [PATCH] Wrong duration in TS container (Ticket

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
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list