Page 1 of 1

YouTube MP3 download

Posted: Mon Jan 30, 2012 12:50 pm
by datboip
Youtube is full of videos that only contain songs, it would be nice if i could tell the bot a url to download, and it converts from video to mp3 and correctly lets me name it.

Re: YouTube MP3 download

Posted: Mon Jan 30, 2012 1:44 pm
by Indy
You may want to check out a script called youtube-dl which will download youtube vids for you: http://rg3.github.com/youtube-dl/

YouTube breaks their HTML, etc., about every 2-4 months so keeping a plugin up to date to download the vids is a pain, the good news is the bot should be able to play back those video files as audio as long as your ffmpeg decoder is working.

Or if you just want to convert to MP3 run:
ffmpeg -i videofile.mp4/flv -ab 128000 output.mp3

Re: YouTube MP3 download

Posted: Tue Jan 31, 2012 4:35 pm
by datboip
sweet. thanks.