Welcome Guest.   Make a donation to an author on the site September 01, 2014, 08:41:28 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: automated mp3 rip from video clip  (Read 28889 times)
delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« on: November 23, 2009, 09:19:36 AM »

I posted this in the wrong section earlier (finished section!)

Here is a challenge.
Drag a video clip onto an icon on your desktop
a program is automatically activated and rips the sound from the video and saves the .mp3 on the desktop
Dont really mind what the program is (but free!) media coder, mencoder/mplayer,whatever

I am really asking this for my sister who is computer phobic. If I told her to just startup this certain program and then use these settings and then....   she would have a panic attack.
Logged
mouser
First Author
Administrator
*****
Posts: 33,293



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: November 23, 2009, 10:59:20 AM »

this isnt really a coding snack.. there has to be some existing free tool that can do this simply.
Logged
tomos
Charter Member
***
Posts: 8,478



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: November 23, 2009, 11:28:10 AM »


there seems to be two copies of the thread
http://www.donationcoder....m/index.php?topic=20725.0
Logged

Tom
mouser
First Author
Administrator
*****
Posts: 33,293



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: November 23, 2009, 11:54:56 AM »

thanks tomos, deleted the other.
Logged
delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #4 on: November 23, 2009, 12:24:09 PM »

yes it was posted elsewhere I said so at the top of my post ,sorry

If anyone knows of existing software that can do this let me know, thanks
Logged
skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: November 23, 2009, 01:21:19 PM »

I can probably whip something up to do this.  Do you have any sample video files you'd like me to work with?
Logged

skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: November 23, 2009, 03:25:56 PM »

Website | Download

v1.0.0 - 2009-11-23
    + Initial forum build.





Instructions:
1) Drag & drop a video file onto this executable file.
2) An MP3 file will be created in the same directory as the executable.
3) It will use the same name as the dropped video file except with an mp3 extension.

I tested it with an AVI, MPG, and FLV file.  Obviously, the larger the file, the longer it will take to extract and produce the MP3.
« Last Edit: November 23, 2009, 03:27:35 PM by skwire » Logged

lanux128
Global Moderator
*****
Posts: 6,088



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: November 23, 2009, 08:30:39 PM »

this is quite a cool idea. btw, skwire how about adding a feature where the user can specify the start time and end time?
Logged

delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: November 24, 2009, 07:30:28 AM »

Thanks Skwire, I will download it now and try it.
I was mainly thinking of flv files mostly from youtube!
This sound great, I couldnt find any exisiting program to do this. I tried writing my own batch file to be able to do this with media coder but it didnt work!

Ok tried it out.....  Fandabbydozzy!  I threw a .mwv on it and then tried a .flv   converted both and FAST!
I noticed the resulting mp3 was 160kbps which I think is a good middle ground.  This is just the trick. If my sister cant use this I think she ought to give me her computer!
I am curious of course as to what you used! and how you did it and so Quick.
I think most of the apps out there assume you are competent on puters!  But starting a new app up and finding out about its menus and settings etc is too much for some. Therefore this sort of thing has a place.
« Last Edit: November 24, 2009, 07:58:43 AM by delwoode » Logged
skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: November 24, 2009, 09:11:53 AM »

I used the MEncoder executable from the MPlayer package here: http://www.mplayerhq.hu

The command line that I used is similar to: mencoder.exe somefile.flv -of rawaudio -oac mp3lame -ovc copy -o somefile.mp3

I could tweak the MP3 settings if you'd like (bitrate/cbr/vbr) but I was trying to make this as simple as possible for your sister.  About the only other thing I can think to add would be to handle multiple files dropped on the executable (it only handles one for now).  Let me know what you want...
Logged

delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #10 on: November 24, 2009, 10:02:20 AM »

I used the MEncoder executable from the MPlayer package here: http://www.mplayerhq.hu

The command line that I used is similar to: mencoder.exe somefile.flv -of rawaudio -oac mp3lame -ovc copy -o somefile.mp3

I could tweak the MP3 settings if you'd like (bitrate/cbr/vbr) but I was trying to make this as simple as possible for your sister.  About the only other thing I can think to add would be to handle multiple files dropped on the executable (it only handles one for now).  Let me know what you want...


no you made i good job, best to keep it simple as possible.
The only small thing i could think of would be some sort of message popping up when it was finished - as it works unseen in the background, but hell, people shouldnt fall asleep! they can easily see the extra file appear!
thanks for telling me the converter you used etc.
Logged
skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: November 24, 2009, 10:23:42 AM »

The only small thing i could think of would be some sort of message popping up when it was finished - as it works unseen in the background, but hell, people shouldnt fall asleep! they can easily see the extra file appear!

Hmmmm....I did use a tooltip to show that the app is processing the file and when it's done.  Do you not get the tooltip?
Logged

delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: November 24, 2009, 12:49:32 PM »

The only small thing i could think of would be some sort of message popping up when it was finished - as it works unseen in the background, but hell, people shouldnt fall asleep! they can easily see the extra file appear!

Hmmmm....I did use a tooltip to show that the app is processing the file and when it's done.  Do you not get the tooltip?

Oh fine, sorry my computer isn't average! I use a blackbox interface shell, not explorer so tht will by why I didnt see the popup. My Sister will though as she hasnt gotten around to trying alternative shells!!!   She'll kill me if she ever sees this post.
so ignore what I said abt popups.
Logged
skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: November 24, 2009, 04:13:51 PM »

I run Blackbox as well and see the tooltips just fine.   huh  It should show up right at your mouse cursor.
Logged

delwoode
Supporting Member
**
Posts: 142


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #14 on: November 25, 2009, 02:26:25 AM »

I run Blackbox as well and see the tooltips just fine.   huh  It should show up right at your mouse cursor.

Well darn me, it is working as you say.  Cant see why I didnt see that yesterday, must have been half asleep.
Logged
superboyac
Charter Member
***
Posts: 5,663


Is your software in my list?

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: December 03, 2009, 06:00:45 PM »

Nice program, skwire.
Logged

skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: December 03, 2009, 07:44:24 PM »

Thanks.   smiley
Logged

Nod5
Supporting Member
**
Posts: 734



View Profile Give some DonationCredits to this forum member
« Reply #17 on: December 28, 2009, 10:47:31 AM »

Skwire's coding snack seems like a great solution. If the videos are on youtube then there are also several good webapps. Dirpy (http://www.dirpy.com/ ) is the best one I've found. Very quick and no-nonsense site. Enter the youtube video URL, tweak some settings if you want to (choose a subsection of the video, change id3 information, set bitrate...) and download the mp3.
« Last Edit: December 28, 2009, 10:53:14 AM by Nod5 » Logged
skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #18 on: December 28, 2009, 06:08:08 PM »

I haven't tried it out yet but that looks like a great tool.
Logged

efini93
Participant
*
Posts: 3


View Profile Give some DonationCredits to this forum member
« Reply #19 on: December 29, 2009, 12:35:43 AM »

When i convert the video the mp3's length becomes longer than what its supposed to be.
It doesn't show it when i check the mp3's properties only when i try to burn it.
thanks for a great program, very easy to use.

i used Mp3 Direct Cut,so i could fix the length, but it doesn't show the whole 25 min it shows the normal length.
the videos are from youtube.




* toolong.jpg (30.57 KB, 575x444 - viewed 402 times.)

* normal.jpg (27.22 KB, 363x502 - viewed 381 times.)
« Last Edit: December 29, 2009, 03:51:00 PM by efini93 » Logged
app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,178



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: May 01, 2010, 10:11:27 AM »

About the only other thing I can think to add would be to handle multiple files dropped on the executable (it only handles one for now).  Let me know what you want...

That's something I would like.
Logged

skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: May 02, 2010, 02:08:08 AM »

That's something I would like.

Done.  Dropped files only, no folders. 

Website | Download
v1.0.1 - 2010-05-01
    + Added ability to handle multiple dropped files.  (Thanks, app103)
Logged

app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,178



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: July 02, 2010, 02:22:29 AM »

This is being detected by Avira as containing a virus or unwanted program 'SPR/AutoIt.Gen' [riskware]

Doesn't look like the usual false positives associated with UPX. This one looks more focused on AutoIt/AHK.

When are they going to stop picking on a programming language? They would never get away with this kind of stuff if they did this to all applications written in C++.

Avira is the only one doing this: http://www.virustotal.com...af5ca23f460637-1278055619
« Last Edit: July 02, 2010, 02:43:15 AM by app103 » Logged

skwire
Moderator
*****
Posts: 4,036



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #23 on: July 02, 2010, 02:46:23 AM »

Yeah...no kidding.  There's little I can do about it, though.  I would guess it's because of the keyboard hooks and such that are part of the autohotkey.exe which gets embedded when you compile a .ahk file (even if your code doesn't use the hook).
Logged

app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,178



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: July 02, 2010, 02:49:59 AM »

It's not flagging Trout (thankfully), so there must be something specific in the video2mp3 that it's picking up that isn't present in Trout.
Logged

Pages: [1] 2 3 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.052s | Server load: 0.11 ]