Skip to content

Instantly share code, notes, and snippets.

@mderazon
Created May 25, 2016 11:35
get a bunch of youtube videos as mp3
youtube-dl -f 140 --ffmpeg-location /usr/local/bin/ffmpeg [list of youtube urls]
for f in *.m4a; do ffmpeg -i "$f" -acodec libmp3lame -ab 128k "${f%.m4a}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment