[Ffmpeg-devel] vbr audio

Michael Niedermayer michaelni
Wed Aug 10 10:56:45 CEST 2005


On Wed, Aug 10, 2005 at 12:28:18AM -0400, Justin Ruggles wrote:
> OK, so now I feel like I'm posting way too much, but I really need some
> input on this one before I get in too deep.  I'm implementing an option
> for ffmpeg that allows encoding vbr audio.  My current plan is to use
> '-aq' for audio quality.
> The only oddity is that the scale is not even close to uniform between
> codecs.  Should I make a uniform scale unique to FFmpeg or just put in a
> warning that it is codec specific and use bounds checks in each encoder?
>  For example, oggenc uses 0 (low) to 10 (high), lame uses 0 (high) to 9
> (low), and faac uses 10 (low) to 500 (high).  Is this an issue with
> video codecs as well?  If so, how is it handled?
> Also, since most stand-alone audio encoders seem to default to VBR
> rather than a fixed bitrate, I thought I would alter FFmpeg to do the
> same once I get '-aq' up and running.
> Thoughts?

add both, a unchanged codec scale and a "normalized" one


More information about the ffmpeg-devel mailing list