Melodeon.net Forums

Discussions => Tunes => Topic started by: Gandy on November 05, 2009, 05:31:01 PM

Title: Transcribing ... extracting audio file from video
Post by: Gandy on November 05, 2009, 05:31:01 PM
Hi,

Just wondered what tools people used to extract audio from video, either online video like Youtube or downloaded FLV or MP4 files.

I had a tool that was supposed to record anything playing on the PC, but it simply doesn't work.   I don't want to clutter the PC up with other dead-end programs, so I would be grateful for any personal recommendations.

Thanks,

(Edit - PC user, and can run it on XP, Vista or Windows 7 as required)
Title: Re: Transcribing ... extracting audio file from video
Post by: Bill the Farmer on November 05, 2009, 06:26:39 PM
I use ffmpeg. http://ffmpeg.org (http://ffmpeg.org) It will convert almost anything audio/video into almost anything else. It's a command line utility, but relatively easy to use. You have to hunt around a bit to find a windows version, here: http://ffmpeg.arrozcru.org/builds (http://ffmpeg.arrozcru.org/builds). If you don't want a command line utility this is a GUI version: http://www.oxelon.com/media_converter.html (http://www.oxelon.com/media_converter.html). I think it uses ffmpeg to do the conversion.
Title: Re: Transcribing ... extracting audio file from video
Post by: NeilA on November 05, 2009, 06:29:56 PM
I've been using AoA Audio Extractor which is a free download from http://www.aoamedia.com/products.htm (http://www.aoamedia.com/products.htm). It converts to MP3, WAV and AC3. Haven't used it a great deal (so not a huge recommendation possible) but does what I need. I also use DownloadHelper which is a free add on for Firefox browser. It will convert Youtube videos direct to MP3s (I find that pretty useful and easy to use).
Title: Re: Transcribing ... extracting audio file from video
Post by: Simon on November 05, 2009, 06:38:20 PM
I usually use mplayer (the commandline version on linux). For youtube videos you can download the mp3 directly on vixy.net (http://vixy.net).
Title: Re: Transcribing ... extracting audio file from video
Post by: Bill Young on November 05, 2009, 08:06:06 PM
Audacity (http://audacity.sourceforge.net/) does this. I use it on a PC with XP.
Title: Re: Transcribing ... extracting audio file from video
Post by: Lester on November 06, 2009, 10:12:41 AM
Audacity (http://audacity.sourceforge.net/) does this. I use it on a PC with XP.

I agree - seems that if the question is about audio and computers (of any variety) the answer is Audacity and all for free.
Title: Re: Transcribing ... extracting audio file from video
Post by: Gandy on November 06, 2009, 10:26:36 AM
Thanks for the comments.   I was really interested in the online convertor, but that web page is simply unreachable at the moment.   I think I'll need to get stuck into Audacity when I get the chance.

All this takes so much time, doesn't it?   I just about wasted a whole evening earlier this week trying to get stuff working.
Title: Re: Transcribing ... extracting audio file from video
Post by: Theo on November 06, 2009, 10:45:07 AM
  I just about wasted a whole evening earlier this week trying to get stuff working.

That's computers for you,  much better to just play the box. :D
Title: Re: Transcribing ... extracting audio file from video
Post by: Simon on November 06, 2009, 11:18:17 AM
Audacity (http://audacity.sourceforge.net/) does this. I use it on a PC with XP.
Doesn't work here. It says I have to install ffmpeg first, so I guess Audacity is just an interface for ffmpeg.
Title: Re: Transcribing ... extracting audio file from video
Post by: Bill Young on November 06, 2009, 12:00:49 PM
Audacity (http://audacity.sourceforge.net/) does this. I use it on a PC with XP.
Doesn't work here. It says I have to install ffmpeg first, so I guess Audacity is just an interface for ffmpeg.
Doesn't work for what, where? What are you trying to do? I've never heard of ffmpeg before this thread, and have had no problems using Audacity to record audio from YouTube, BBC iPlayer, or anything else playing on my PC.
Title: Re: Transcribing ... extracting audio file from video
Post by: Simon on November 06, 2009, 01:30:59 PM
Doesn't work for what, where? What are you trying to do? I've never heard of ffmpeg before this thread, and have had no problems using Audacity to record audio from YouTube, BBC iPlayer, or anything else playing on my PC.
I'm not sure I understand. Do you open the video files in Audacity or do you play the flv or mp4 (online or with movieplayer) and record the sound with Audacity? I tried opening and importing an flv and an mp4 file in Audacity under Linux (The original question was about extracting audio from video files, not about recording). I do have ffmpeg installed, but Audacity couldn't find it. Fixed it under preferences, and now it can open those video files. Perhaps ffmpeg is included and set up in the windows version of Audacity.
I usually download youtube videos first using the downloadhelper plugin from firefox. Until now I used mplayer to extract the audio, but apparently I can now just open the flv in Audacity.  (:)
Title: Re: Transcribing ... extracting audio file from video
Post by: Lester on November 06, 2009, 01:46:09 PM
Doesn't work for what, where? What are you trying to do? I've never heard of ffmpeg before this thread, and have had no problems using Audacity to record audio from YouTube, BBC iPlayer, or anything else playing on my PC.
I'm not sure I understand. Do you open the video files in Audacity or do you play the flv or mp4 (online or with movieplayer) and record the sound with Audacity?


Spot on. Audacity gives me a" Recording Source - What is coming out the speakers" or some such option so just play the video and press record.

Quote
But apparently I can now just open the flv in Audacity.  (:)

No you can't.
Title: Re: Transcribing ... extracting audio file from video
Post by: Simon on November 06, 2009, 01:56:06 PM
Quote
But apparently I can now just open the flv in Audacity.  (:)

No you can't.
Yes I can.  (:)
Title: Re: Transcribing ... extracting audio file from video
Post by: Gandy on November 06, 2009, 01:56:38 PM
(The original question was about extracting audio from video files, not about recording)

Although that's true, being able to record what's playing on the PC would be a general purpose solution not just for what I want at the moment, but for all sorts of other tasks.   It sounds even more that I need to get my teeth into Audacity - I see there are some issues with Vista (presumable also Windows 7) but hopefully some solutions as well.   
Title: Re: Transcribing ... extracting audio file from video
Post by: Gandy on November 06, 2009, 04:48:35 PM
OK, I had a little play with Audacity and it can extract audio which was what I originally asked.   You need to download and install a couple plugins (ffmpeg to allow the import, and "LAME" for MP3 export).   I guess that other builds may have included those as standard leading to some of the contradictory comments earlier. 

Those tests were done on Virtual PC where audio support is crude to put it mildly, and the required input device "Stereo Mix" doesn't appear at all.   I think I'll crack on and install Audacity for real at home and see if I can get it recording straight off the PC sound.

Next question, on Audacity, is there a way to slow down without changing pitch?   I can't see one.  I suppose I could slow down by 50% which should leave it still in tune shouldn't it?   Or be smart-alec and slow down by some ratio that transposes to another usable key.
Title: Re: Transcribing ... extracting audio file from video
Post by: HallelujahAl on November 06, 2009, 05:02:36 PM
Quote
Next question, on Audacity, is there a way to slow down without changing pitch?
Yes!To be found in the 'Effect' drop down menu, you can change pitch, speed, tempo to whatever you want.
AL
Title: Re: Transcribing ... extracting audio file from video
Post by: Ebor_fiddler on November 06, 2009, 06:34:08 PM
Is this the tool you use to correct recordings made from 78rpm discs played at 45rpm? (I'm told that this is the correct technique for 78's honestly!)?

Chris
Title: Re: Transcribing ... extracting audio file from video
Post by: Simon on November 06, 2009, 06:44:02 PM
Is this the tool you use to correct recordings made from 78rpm discs played at 45rpm? (I'm told that this is the correct technique for 78's honestly!)?
That's much easier (although you could use Audacity for that). You'd get a slowed down sound file in a lower pitch, so just increasing the playback speed corrects the pitch. The wave file doesn't change. Changing the tempo while maintaining pitch or vice versa is much more complicated and requires computing a new wave file.
Title: Re: Transcribing ... extracting audio file from video
Post by: Gandy on November 06, 2009, 07:24:23 PM
Quote
Next question, on Audacity, is there a way to slow down without changing pitch?

Yes!To be found in the 'Effect' drop down menu, you can change pitch, speed, tempo to whatever you want.
AL

Brilliant, I was looking at the "Change Speed" options, which DO change the pitch.   "Change Tempo" doesn't.   
Title: Re: Transcribing ... extracting audio file from video
Post by: Bill the Farmer on December 10, 2009, 01:14:33 PM
Audacity is very good at what it does, but for slowing down and changing the key, you can't beat Best Practice (http://www.xs4all.nl/~mp2004/bp/), IMHO. It does it all in real time, right before your very eyes, no waiting for processing the file. Here it is, changing the key and slowing down that lovely version of Princess Royal from j.w.forrest http://www.youtube.com/watch?v=SESKcNIh1PI (http://www.youtube.com/watch?v=SESKcNIh1PI). And it's free, what more could you want.  >:E
SimplePortal 2.3.5 © 2008-2012, SimplePortal