Extract audio from YouTube as MP3 using terminal (Ubuntu)

Using terminal type this code :
root@penreturns:~$ sudo apt-get install youtube-dl ffmpeg lame libavcodec-extra-53
To convert a YouTube video to mp3, use this command:


root@penreturns:~$ youtube-dl youtube-url --extract-audio --audio-format mp3
Replace youtube-url with any YouTube URL of your choice. Here is an example:
root@penreturns:~$ youtube-dl http://www.youtube.com/watch?v=acvIVA9-FMQ --extract-audio --audio-format mp3
Enjoy.

*copy code without root@penreturns:~$ 

Reply to this post

Post a Comment