$ sudo apt-get install ffmpeg libavcodec-extra-53
$ sudo youtube-dl
$ vim ~/.bashrcor for zshell users
$ vim ~/.zshrc
add
mp3(){
youtube-dl $1 --extract-audio --title --audio-format mp3
}
usage
mp3 http://www.youtube.com/watch\?v\=cRbFP0oHmRc
it will download the video and convert it to mp3.
No comments:
Post a Comment