One Hundred Hellos - Blog

transcode re-encode mp3 with lame - 13 May 2007

Doin this to shrink collection for Sylvie'e iPod.

yum install lame
yum install id3lib

# make parallel directory structure
find -type d -exec mkdir ../mp3_128/{} \;
# do actual transcoding
find -type f -name \*mp3 -exec
lame -b 128 --mp3input {} ../mp3_128/{} \;
# and now id3cp -1 -2 (necessaru caus lame does not bring over id3 tags
find -type f -name \*mp3 -exec id3cp -1 -2 {} ../mp3_128/{} \;

-=-= dual Core 2 = 4 cores ::
To accelerate on dual core 2 machines, manually split into 4(5) source directories, all of which encode to same mp3_128 target dfirectory.