YouTube MP3 download
Author
Message
- datboip
- Offline
- Member
- Posts: 39
- Joined: Tue Jan 24, 2012 1:15 am
- IRCBot Version I Use: v5
- IRCBot Platform: Linux/Ubuntu
YouTube MP3 download
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.
- Indy
- Offline
- Site Admin
- Posts: 465
- Joined: Thu Oct 16, 2008 1:58 pm
- IRCBot Version I Use: v5
- IRCBot Platform: Linux/Ubuntu
- Contact:
Re: YouTube MP3 download
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
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
You can also contact me via email or instant messenger, links are at the bottom of this post.
- datboip
- Offline
- Member
- Posts: 39
- Joined: Tue Jan 24, 2012 1:15 am
- IRCBot Version I Use: v5
- IRCBot Platform: Linux/Ubuntu
Re: YouTube MP3 download
sweet. thanks.