I should really stop listening…
// July 16th, 2009 // No Comments » // Twitter
I should really stop listening to soul-rock-jazz from the ’70s.
// July 16th, 2009 // No Comments » // Twitter
I should really stop listening to soul-rock-jazz from the ’70s.
// July 16th, 2009 // No Comments » // Linux
This couldn’t be easier. Here is how to extract audio from an .mp4 video file (YouTube and others):
for file in *.mp4; do mplayer -ao pcm "$file" -ao pcm:file="$file.wav" && lame -b 192 "$file.wav"; rm "$file.wav"; done
Diggity done. Make sure you have mplayer and lame installed, otherwise, well, you know.