[Vorbis] Changing the bitrate (down) of an ogg file

Daniel Schregenberger npfdd at gmx.net
Sat Jan 8 06:53:17 PST 2005


On Sam, 2005-01-08 at 13:19 +0100, madsdyd at challenge.dk wrote:
[...]
> Could you perhaps recommend a "best" strategy for changing my ogg/vorbis 
> 256 kbps files into (say) 128 kbps files? I am capable of hacking scripts, 
> and such, I am more looking for recommendation of the best tool: does sox 
> produce good results, would you rather recommend ogg123 to wav, then 
> oggenc, perhaps something entirely different?

I'd probably use something like these two lines in a loop:

oggdec -o - old.ogg | oggenc -o new.ogg -q 0 -
vorbiscomment -R old.ogg | vorbiscomment -Rw new.ogg

-- Daniel


--
Homepage: http://www.npfdd.ch/
--
There are perfectly good answers to those questions, but they'll have to
wait for another night. -- Homer Simpson Homers Barbershop Quartet



More information about the Vorbis mailing list