26 Mar
2009
26 Mar
'09
11:35 a.m.
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