[FFmpeg-devel] [PATCH] g722 decoder, no licensing fame

Ronald S. Bultje rsbultje
Thu Mar 26 12:35:28 CET 2009


Hi,

On Thu, Mar 26, 2009 at 12:37 AM, Kenan Gillet <kenan.gillet at gmail.com> wrote:
> actually a much simpler solution would be to change the -ab options to
> set in the
> AVCodecContext.bitrate for decoder too like in the patch attached
[..]
> but that's exactly what is needed, to be able to give the g722 decoder
> a bit_rate

For many codecs, the demuxer sets it. Can't you deduce the bitrate in
the demuxer somehow (i.e. from container) to automagically set
AVCodecContext->bit_rate?

Ronald



More information about the ffmpeg-devel mailing list