[Ffmpeg-devel] '-bt 0' option causes an Assertion failure of ffmpeg
Baptiste Coudurier
baptiste.coudurier
Fri Dec 22 11:09:46 CET 2006
Hi
Michael Niedermayer wrote:
> Hi
>
> On Thu, Dec 21, 2006 at 06:41:53PM +0100, Baptiste Coudurier wrote:
>> Hi
>>
>> Borat wrote:
>>> Hello,
>>>
>>> I just want to bring to your attention that executing
>>>
>>> ffmpeg -i in.mpeg -bt 0 out.mpeg
>>> ^^^^^
>>>
>>> terminates ffmpeg in an unusual way. The full output is:
>>>
>>> ##### start #####
>>> FFmpeg version SVN-r6218, Copyright (c) 2000-2004 Fabrice Bellard
>>> configuration: --enable-mp3lame --enable-libogg --enable-vorbis --enable-faad --enable-faac --enable-xvid --enable-x264 --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-gpl --enable-memalign-hack --enable-amr_nb --enable-amr_wb --enable-swscaler --enable-avisynth
>>> libavutil version: 49.0.0
>>> libavcodec version: 51.14.0
>>> libavformat version: 50.5.0
>>> built on Sep 10 2006 21:00:18, gcc: 4.0.3
>>> Input #0, mpeg, from 'in.mpeg':
>>> Duration: 00:00:24.5, start: 0.184911, bitrate: 3331 kb/s
>>> Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 29.97 fps(r)
>>> Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 192 kb/s
>>> Output #0, mpeg, to 'out.mpeg':
>>> Stream #0.0: Video: mpeg1video, yuv420p, 720x480, q=2-31, 200 kb/s, 29.97 fps(c)
>>> Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
>>> Stream mapping:
>>> Stream #0.0 -> #0.0
>>> Stream #0.1 -> #0.1
>>> Assertion failed: q>0.0, file ratecontrol.c, line 730
>>>
>>> This application has requested the Runtime to terminate it in an unusual way.
>>> Please contact the application's support team for more information.
>>> ##### end #####
>>>
>> Issue confirmed with latest svn."-bt 0" causes assertion.
>
> -bt 0 is invalid, if its within the valid range in AVOption then the
> min should be changed to 1 or bigger
>
Ok, done, set min to 1.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list