| View previous topic :: View next topic |
| Author |
Message |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
Posted: Mon Mar 12, 2012 10:23 pm Post subject: convert youtube links to HQ mp3 ( for ex 320 kbps ) |
|
|
it's simple on command !convert tcl convert the requested link to HQ quality
request:
!convert http://www.youtube.com/watch?v=GoNXfQkpOfk&hd=1
output:
your wish is on link : http://link.com _________________ On a unix system everything is a file ; if something is not a file , it is a proccess. |
|
| Back to top |
|
 |
FightingNavyman Voice
Joined: 18 Jan 2011 Posts: 35
|
Posted: Tue Mar 13, 2012 12:24 am Post subject: |
|
|
| hey dude i know you.. from what IRC you always at. Im chachin. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Mar 13, 2012 3:33 am Post subject: |
|
|
Could you elaborate on the output? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
Posted: Tue Mar 13, 2012 12:37 pm Post subject: |
|
|
egg: $nick your request is on link : and the link with the done mp3
may be with some script on the same machine or with some online site for convert i don't know but the head point is the end result be good
example online site for convert: http://www.online-convert.com/ _________________ On a unix system everything is a file ; if something is not a file , it is a proccess. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Mar 13, 2012 2:38 pm Post subject: |
|
|
If you plan to use that site on a public channel where people can convert stuff they found on Youtube or whatever, then you should register for at least a Silver account, cos the free one has the following limitations:
| Quote: |
- maximum conversions within 24 hours: 30
- maximum upload size per file: 100 Megabyte
- maximum 10 downloads per file within one day. After one day, the converted file is deleted.
|
But if you plan to use it for your own limited use then a free one will do fine. I'll have a look on their API later on.
If you got your own Debian powered PC then you can do the conversion on it, just pick one of the methods described this or this. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Johannes13 Halfop
Joined: 10 Oct 2010 Posts: 46
|
Posted: Wed Mar 14, 2012 7:15 am Post subject: |
|
|
a small exec should be ok, then ftp for uploading it (depending on the configuration of the server it can be possible to dl it directly to a htdocs folder).
Can work
Edit: no, the scripts only downloads the flv file. So it have to be converted to mp3 after that. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed Mar 14, 2012 7:33 am Post subject: |
|
|
You can convert flv to mp3 via ffmpeg like this:
| Code: |
ffmpeg -i FILE.flv -acodec libmp3lame -ac 2 -ab 128k -vn -y "OUTPUT.mp3"
|
_________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
|
| Back to top |
|
 |
|