[Ffmpeg-devel] [PATCH] vbr audio encode
Justin Ruggles
jruggle
Tue Aug 23 16:03:09 CEST 2005
Michael Niedermayer wrote:
> applied
great! i like the changes too.
so, now that ogg is fixed, might as well update the vorbis codec as
well. since the aq value is passed directly to libvorbisenc, it uses
-0.1 to 1.0 instead of -1 to 10 like oggenc. apparently fixed-quality
vbr encoding in vorbis doesn't have to save up audio samples to analyze
before sending out vorbis packets, so the encoding is faster & looks
nicer too (no "time=100000000000.0"). with an 18-second test clip, my
(slow) computer took 1m30s with abr and only 30s with vbr. both results
had very close average bitrates.
patch attached. also updated vorbis time base.
-justin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-vorbis_vbr.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050823/f83ba2ce/attachment.txt>
More information about the ffmpeg-devel
mailing list