topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday November 8, 2024, 7:24 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: automated mp3 rip from video clip  (Read 89071 times)

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
DONE: automated mp3 rip from video clip
« on: November 23, 2009, 09:19 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.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #1 on: November 23, 2009, 10:59 AM »
this isnt really a coding snack.. there has to be some existing free tool that can do this simply.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #2 on: November 23, 2009, 11:28 AM »

there seems to be two copies of the thread
https://www.donation...ex.php?topic=20725.0
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #3 on: November 23, 2009, 11:54 AM »
thanks tomos, deleted the other.

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #4 on: November 23, 2009, 12:24 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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #5 on: November 23, 2009, 01:21 PM »
I can probably whip something up to do this.  Do you have any sample video files you'd like me to work with?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #6 on: November 23, 2009, 03:25 PM »
Website | Download

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


main.pngDONE: automated mp3 rip from video clip


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 PM by skwire »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #7 on: November 23, 2009, 08:30 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?

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #8 on: November 24, 2009, 07:30 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 AM by delwoode »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #9 on: November 24, 2009, 09:11 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...

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #10 on: November 24, 2009, 10:02 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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #11 on: November 24, 2009, 10:23 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?

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #12 on: November 24, 2009, 12:49 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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #13 on: November 24, 2009, 04:13 PM »
I run Blackbox as well and see the tooltips just fine.   :huh:  It should show up right at your mouse cursor.

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #14 on: November 25, 2009, 02:26 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.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #15 on: December 03, 2009, 06:00 PM »
Nice program, skwire.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #16 on: December 03, 2009, 07:44 PM »
Thanks.   :)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #17 on: December 28, 2009, 10:47 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.
dirpy.pngDONE: automated mp3 rip from video clip
« Last Edit: December 28, 2009, 10:53 AM by Nod5 »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #18 on: December 28, 2009, 06:08 PM »
I haven't tried it out yet but that looks like a great tool.

efini93

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #19 on: December 29, 2009, 12:35 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.


« Last Edit: December 29, 2009, 03:51 PM by efini93 »

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #20 on: May 01, 2010, 10:11 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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #21 on: May 02, 2010, 02: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)

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #22 on: July 02, 2010, 02:22 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.virustota...23f460637-1278055619
« Last Edit: July 02, 2010, 02:43 AM by app103 »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #23 on: July 02, 2010, 02:46 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).

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: DONE: automated mp3 rip from video clip
« Reply #24 on: July 02, 2010, 02:49 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.