convert aac to mp3
some aacs refuse to import into itunes. no idea why. so here’s a jobbie that converts aac to mp3 so you can just drop them into itunes. first install faad2 and lame.
$ sudo port install lame $ sudo port install faad2
then tweak the jobbie for your needs.
#!/usr/bin/ruby
Dir['*'].each do |filename|
filename, ext = filename.split '.', 2
convert = "faad -w -b3 \"#{filename}.m4a\" | lame -h -b 192 - \"#{filename}.mp3\""
puts `#{convert}`
end
About this entry
You’re currently reading “convert aac to mp3,” an entry on e-huned.com
- Published:
- 05.25.08 / 5pm
- Category:
- personal
No comments
Jump to comment form | comments rss [?] | trackback uri [?]