[Ffmpeg-devel] More questions(output bitrate, trapping errors)

Ian Gowen ian.gowen
Tue Aug 9 18:48:35 CEST 2005


On 8/3/05, Martin Boehme <boehme at inb.uni-luebeck.de> wrote:

> Just a guess... are you setting qmin/qmax to anything? Those can
> override the bitrate that you specify.
> 

Nope. What is the correct procedure to set the bitrate on the output
video stream?

> > Also, is there a way to trap any errors that libavformat/libavcodec
> > might raise?
> > If an error occurs but is not handled, it causes my application to
> > (understandably)
> > segfault.
> 
> Not quite sure what you mean here... do you mean that you're calling
> lavc/lavf functions without checking their return values, and you're
> looking for some kind of error callback that will notify you of any
> errors that occur? That doesn't exist... you have to check the return
> values.

Figured this one out, thanks.

--Ian





More information about the ffmpeg-devel mailing list