**Function:** Converts Ogg Vorbis files to MP3 files.
**Author**: [James Sumners](mailto:james.sumners@gmail.com)
**Notes**: These workflows are designed to be used as Finder plug-ins. They require the "vorbis-tools", "lame", and "sox" packages from [DarwinPorts](http://www.darwinports.org/) to function.
The first workflow, named "Ogg Vorbis to MP3(s)", converts a single or multiple Ogg Vorbis files to a single or multiple MP3 files. The second workflow, "Ogg Vorbis many to one MP3", converts multiple Ogg Vorbis files to a single, combined, MP3 named *00_-_Combined.mp3*.
The first workflow is useful for general conversion. The second workflow is meant to be used in the situation where you have many Ogg Vorbis files, which should play back without gaps between them, that you want to put on a portable player that does not support "gapless" play back. Both workflows create the resulting MP3 files in the same folder as the source files.
well done, but why not convert in aac format?
it’s smaller and better
Comment by manfred — June 19, 2005 @ 3:38 am
[…] ¦æœªæâ€Â¯Ã¦?´Ogg æ ¼å¼?,å°?æ–¼è?½Ogg æ ¼å¼?çš„çâ€Â¨Ã¦Ë†Â¶Ã¥?¯è¬‚極之ä¸?便,Automater å°?æ?ՊȦOgg Vorbis Converters 會幫你自動Ogg æ ¼å¼?轉æˆ?MP3,çœ?Ã¥?»ä¸?少功夫。 […]
Pingback by MacGrass » Automator Plugin: Ogg Vorbis Converters — June 20, 2005 @ 7:24 am
Thanks. It took a bit of work since I have never written any AppleScript before :) (I don’t like the language based on this little exercise.)
I chose MP3 because it is much more portable. I am also not very familiar with Apple’s AAC format. I did encode the MP3s as variable bitrate with a median rate of 192Kb/sec so they should be good enough. That is a helluva lot better than what you get from the iTunes music store.
Comment by James Sumners — June 20, 2005 @ 11:54 am
hey,
any reason it converts my files to WAV files instead of MP3?
Comment by Rammie — June 23, 2005 @ 7:01 am
It has to convert them to wave before MP3. Do you have Lame installed? `port install lame` and it should work fine. I am willing to bet that the workflow is failing because it can’t find the lame binary.
Comment by James Sumners — June 24, 2005 @ 2:52 pm
Hey, thanks a bunch for making these scripts, they work great. I just wanted to give a quick tip. If you have installed the vorbis-tools, lame, and sox packages using Fink it is still possible for the scripts to work. Just change
/opt/local/bin/oggdec
to/sw/bin/oggdec
,/opt/local/bin/sox
to/sw/bin/sox/
, and/opt/local/bin/lame
to/sw/bin/lame/
. Hope that helps.— .paper
Comment by dot-paper — September 1, 2005 @ 5:28 pm
I’d love the opposite – a mp3 to ogg converter. My palm pilot is my “ipod” and I can fit twice the oggs as mp3s, and it doesn’t play aac/mp4a.
Comment by XL — September 10, 2005 @ 7:12 pm
Nice! Where you get this guestbook? I want the same script.. Awesome content. thankyou.
Comment by Luis Follin — August 2, 2006 @ 10:30 am