[FFmpeg-devel] Assert failing in libavcodec - ratecontrol.c

Michael Niedermayer michaelni
Sat Aug 4 03:36:38 CEST 2007


Hi

On Wed, Jul 25, 2007 at 06:25:58AM +1000, Neil Brown wrote:
> On Sunday July 15, wzrlpy at arsystel.com wrote:
> > >>
> > >> is this reproduceable with command line ffmpeg? if yes please provide
> > >> full uncut output and command line parameters
> > >
> > > I was hoping someone would know what those asserts really meant and we
> > > could work backward from there.....
> > > But I can try working forward.  It would probably be easiest if I
> > > could feed a number of images (e.g. jpegs) into ffmpeg for it to
> > > encode into an mpeg.  I couldn't see anything obvious in the man page
> > > which would allow this.  Is there a way to do that?
> > 
> > Yes: second entry in FAQ. (http://ffmpeg.mplayerhq.hu/faq.html)
> 
> Thanks.
> 
> Ok, here is the command line:
> 
>  ffmpeg -i tmp/%d.jpg -i_qfactor 1.25 -i_qoffset -0.8 -b 20000000 /tmp/xxx.mpeg
> 
> where 'tmp' is a directory containing 500 file, the first 250 all the
> same, and the next 250 also all the same, but different to the first
> 250. All files 720x576.
> 
> I tried reducing the input set, and with 12 of one image and 1 of the
> other, it will 
> ffmpeg: ratecontrol.c:756: ff_rate_estimate_qscale: Assertion `q>0.0' failed.

this should be fixed

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070804/ffafdf0f/attachment.pgp>



More information about the ffmpeg-devel mailing list