document updated 17 years ago, on Sep 3, 2007
I finally ran out of space on my 8GB iPod. Enabling the "Bit Rate" column in my music playlist, I
see that some are encoded at rediculous rates (eg. 320kbps for songs I don't care much for).
This thread
suggests that foobar2000 is a tool that can be used to
batch-re-encode MP3's.
- install foobar2000 + lame.exe
- find the latest lame.exe version here
- google for {lame.exe 3.97} (that's just an example... substitute in whatever is the latest LAME version there)
- within foobar2000:
- File > Add Directory
- hilight all
- Right click > Convert > Convert to Same Directory
- More Settings
- MP3 (LAME) = V5, fast (or whatever setting is most appropriate)
- Single tracks = %filename%_new
- close
- okay
- Overwrite all
- write a quick perl program to rename "*_new.mp3" to "*.mp3"
- dir /s/b *_new.mp3 | perl -nle "my $a=$_; s/_new//; print qq[move \"$a\" \"$_\"]" > rnm.bat
- rnm.bat
- within iTunes:
- hilight all songs changed
- right click > Get Info
- click on "okay" (without changing anything!) [at this point, you'll see all of the bitrates all of a sudden change]
- sync iPod