[Ffmpeg-devel] vbr audio

Justin Ruggles jruggle
Thu Aug 11 03:25:53 CEST 2005

Rich Felker wrote:
> oggenc uses -1.0 to 10.0 (note the floating point scale too :( ).

I did notice that.  I'm hoping av_flt2int and av_int2flt will work in
this case so I can store the floating point value in the
AVCodecContext->global_quality field.  I know it's not ideal, but the
alternative would be to truncate the scale to integer-only or use
another field.  I'm trying to think of anything I can.  Maybe requiring
a multiplication by 10 or 100 for ogg to increase the resolution?  I'm
up for any ideas.


More information about the ffmpeg-devel mailing list