Jump to content
Sign in to follow this  
rambo3889

Audio dl And convert to mp3

Recommended Posts

rambo3889

Heya.

So here i was looking at 100 different bookmarks for music on Youtube. And i knew that it is possible to download from youtube. So i decided to make a downloader which downloads the given file, and after that converts it to a mp3 file ( only audio stream offc).

The autoit script is made by me.

The c++ code is made by Napalm from a forum which posted the converter.

Program is pretty straightforwarded just copy a url from youtube like :

Edited by Melba23
Code removed and title adjusted

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites
Pain

will this also work for fmt 18 youtube videos?

here is some information if you don't know what I'm talking about

fmt 18 / MP4

fmt 6 / HQ FLV

- fmt 18 / MP4 fmt 6 / HQ FLV

Screen Res. 480 x 270 480 x 360

Bitrate ≅ 512 kbps ≅ 900 kbps

Audio 44.1KHz 128 kbps Stereo 44.1KHz 96 kbps Mono CBR

Frame Rate 24 30

Video Codec h.264 Flash Sorenson

Audio Codec AAC Mp3

- Normal Youtube High Quality Youtube

Screen Res. 320 x 240 480 x 360

Bitrate ≅ 200 kbps ≅ 900 kbps

Audio 22KHz 64 kbps Mono ABR 44.1KHz 96 kbps Mono CBR

Frame Rate 30 30

Video Codec Flash Sorenson Flash Sorenson

Audio Codec Mp3 Mp3

as you can see fmt 18 offers stereo sound so the question is will the converter keep it as stereo?

Share this post


Link to post
Share on other sites
NELyon

Hmm...

First steps work fine (Retrieving the FLV Url), but it seems to download a 0 B file and converts that to MP3 (Which obviously does nothing).

I'll see if it's perhaps something about running on wine. Maybe I can make it work.

Does the first part awesomely though :D

EDIT: Yes, it fails on the downloading. The converter worked fine on an flv I had laying around.

EDIT2: Damn. That is a :D fast converter. Converted my 13 Meg FLV file to a 3 Meg mp3 file in less that one second.

Edited by KentonBomb

Share this post


Link to post
Share on other sites
rambo3889

Kenton, could you give me the youtube url that you are trying to download, ill look into it when i get home from school


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites
thenewkid

i know its a old post but i liked the downloader and fort i give it a littie edit heres a littie upgrade :)

things i added are

  • u can make it hide while downloading
  • pick where to save the video to
  • down load youtubes HQ videos
  • and convet to avi mpg or wmv
  • and down load from a list
<snip> Edited by Melba23
Links removed

some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
FireFox

@rambo3889

nice one :o for 1.50min video I have 21min of music and that not repeat ! I don know how do you do that :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
FireFox

@TheNewKid

Nice job ! :) Add line to line 39 : (for drop down list instead of dropdown)

$Combo1 = GUICtrlCreateCombo(".avi", 192, 168, 185, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL,$CBS_DISABLENOSCROLL,$WS_CLIPSIBLINGS), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))

Cheers, FireFox


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
thenewkid

@firefox

thanks what do u mean addline? im a bit lost from what u mean


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
FireFox

@thenewkid

no sry replace line 39

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
MoarDenEnuf

can u use something beter than rapidshare i dont want to wait for a download

Share this post


Link to post
Share on other sites
FireFox

@MoarDenEnuf

the time you take for post your reply is the same time for wait :lol:

<snip>

Edited by Melba23
Code removed

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
thenewkid

whats a better one?


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
FireFox

My own youtube downloader

Special thanks to thenewkid for sharing his code :)

Edit 1 : Fixed minor bugs

Edit 2 : Added Stop button

Edit 3 : Added detection of youtube url from clipboard

<snip>

Edited by Melba23
Code removed

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
FireFox

Updated Youtube downloader !

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
thenewkid

you should take flv off the convert list as it downloads in flv and u would not convert to what u downloaded

i like the clipborad idea and i think im going to add that to my update :)

may seem a bit dumb to ask this but why

FileInstall("ffmpeg.exe", @TempDir & "\ffmpeg.exe", 1)
FileInstall("flv.exe", @TempDir & "\flv.exe", 1)
Edited by thenewkid

some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
FireFox

you should take flv off the convert list as it downloads in flv and u would not convert to what u downloaded

Yes but if flv is selected my script wont convert the file but youre right its stupid to have add that... lol

may seem a bit dumb to ask this but why

FileInstall("ffmpeg.exe", @TempDir & "\ffmpeg.exe", 1)
FileInstall("flv.exe", @TempDir & "\flv.exe", 1)
I use fileInstall because when I compile it, its easier to give only one file to my friends :)

Comments are welcome !

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
thenewkid

so if u give them the one file u mean the downloader.au3 so where does the script get the ffmpeg from? ive never used fileinstaill before sorry


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites
FireFox

@thenewkid

I dont think you read my post propely, FileInstall is used when script is compiled for have binded files in your app then you extract it to dest selected with fileInstall ... look at FileInstall in helpfile; im sure you will use it soon :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×