18 Kasım 2014 Salı

Youtube Download mp3 from a linux box

# Download the mp3 file
youtube-dl -citw --extract-audio --audio-format mp3 URL

# Convert the downloaded mp3 file to 128 bit for general purpose mp3 players
mkdir 128
for f in *.mp3 ; do lame --mp3input -b 128 --resample 44.1 "$f" 128/"$f" && rm -rf "$f" && mv "128/$f" "$f" ; done

# Remove mp3 useless information
eyeD3 --remove-comments --remove-lyrics --remove-images --remove-all *.mp3

Hiç yorum yok:

Yorum Gönder