View unanswered posts | View active topics It is currently Tue Dec 12, 2017 9:21 pm



Reply to topic  [ 3 posts ] 
 YouTube MP3 download 
Author Message
Member

Joined: Tue Jan 24, 2012 2:15 am
Posts: 39
Medals: 12
RadioBot Owner (1) Feature Requester (6)
Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post 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.


Mon Jan 30, 2012 1:50 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post 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

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Mon Jan 30, 2012 2:44 pm
Profile YIM WWW
Member

Joined: Tue Jan 24, 2012 2:15 am
Posts: 39
Medals: 12
RadioBot Owner (1) Feature Requester (6)
Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: YouTube MP3 download
sweet. thanks.


Tue Jan 31, 2012 5:35 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.