Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
There's gotta be some sort of newer solution than OggDrop for this purpose, or if there isn't, surely an AppleScript can be created to automate this task. I have the Ogg components for QuickTime installed, as well as QuickTime 7 Pro. I've tested the export function in QuickTime also, which works perfectly - creating a nice Ogg Vorbis file. Surely there's a way to automate a mass-convert job of over 12,000 files using this approach... Google searches have proved fruitless.
 
You could script this with ffmpeg. If you have that installed you can just run a simple script like this (assuming all m4a are in one dir, otherwise I'd just make symlinks in one dir)

Code:
for fn in *.m4a; do
	echo "converting $fn"
	songName=$(echo "$fn"|rev|cut -c5-|rev|sed s/\ /_/g)
	ffmpeg -i "$fn" ${songName}.ogg 
done
 
There's gotta be some sort of newer solution than OggDrop for this purpose, or if there isn't, surely an AppleScript can be created to automate this task. I have the Ogg components for QuickTime installed, as well as QuickTime 7 Pro. I've tested the export function in QuickTime also, which works perfectly - creating a nice Ogg Vorbis file. Surely there's a way to automate a mass-convert job of over 12,000 files using this approach... Google searches have proved fruitless.

Can't you just use iTunes to do this? Change preferences to use Ogg for importing music, then select everything and convert to Ogg. Or doesn't that work?
 
Can't you just use iTunes to do this? Change preferences to use Ogg for importing music, then select everything and convert to Ogg. Or doesn't that work?
Alas, iTunes doesn't detect the Ogg plugin and won't give Ogg as an option. The method posted above, however, should work. I will give that a try.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.