sneetchalizer – Audio format converter
sneetchalizer | code | unix stuff | badcomputer
convert audio files, recursively through directories, keep meta data where possible.
man page extract follows
DESCRIPTION
sneetchalizer converts between several different audio file formats and
tries to preserve meta tags if they exist or create them if they don't.
The script can handle any number of file and/or directory arguments.
sneetchalizer is the glue that binds together various audio
encoders/decoders:
lame for mp3 encoding/decoding (MPEG-1 Audio Layer 3) ::
http://lame.sourceforge.net/
oggenc and oggdec for ogg encoding/decoding (Ogg Vorbis) ::
http://www.vorbis.com/
faac and faad for m4a, m4b, mp4 and aac encoding/decoding (MPEG-4 Part
14) :: http://www.audiocoding.com/
flac for flac encoding/decoding (Free Lossless Audio Codec) ::
http://flac.sourceforge.net/
mplayer for wma decoding (Windows Media Audio) :: http://www.mplay-
erhq.hu/
There are several tag libraries you may want to install to enhance the
script:
ID3 by Tilo Sloboda (http://www.unix-
gods.org/~tilo/Ruby/ID3-v0.4/docs/index.html) for reading MP3
id3 tags.
wmainfo-rb by me (http://badcomputer.org/unix/code/wmainfo/) for
reading WMA tags.
flacinfo-rb also by me (http://badcomputer.org/unix/code/flac-
info/) for reading Vorbis Comments from Flac files.
Ogg tags are read using code I stole from Guillaume Pierronnet's
ruby-ogginfo (http://ruby-ogginfo.rubyforge.org/). As the number
of LOC was so small, I decided to add it right into the script
rather than requiring everyone to install another third-party
library, however, I still owe a debt of gratitude to Guillaume
for writing it in the first place. Cheers!
M4A/AAC tags are read by parsing the output of 'faad -i'.












