Seperating sound from a video.

Patton Echols p.echols at comcast.net
Thu Apr 29 00:31:50 UTC 2010


Alok Singh Mahor wrote:
>
>
> On Mon, Apr 26, 2010 at 5:42 AM, Patton Echols <p.echols at comcast.net 
> <mailto:p.echols at comcast.net>> wrote:
>
>     Ray Parrish wrote:
>     > Hello,
>     >
>     > I want to record myself playing along with you tube videos on my
>     guitar
>     > with gtkrecordmydesktop, but do not need the video that this program
>     > records.
>     >
>     > Is there a program, or programs in the repositories that can
>     extract the
>     > sound from a video, and save it as an mp3 file?
>     >
>     >
>
>     ffmpeg can do it, use the version from medibuntu so it has mp3
>     compiled
>     in.  So for a youtube video of something
>
>     ffmpeg -i something.flv -ac 2 -ar 44100 -ab 320 something.mp3
>
>     Mplayer can do it too.  Something like this:
>
>      mplayer -dumpaudio somefile.flv -dumpfile somefile.mp3
>
>     Both can also handle other video file types.  These examples
>     should give
>     rational results, but read the man pages for what you want to
>     accomplish.
>

> you can use avidemux to extract audio from video file, its a GUI 
> application
>

True, and that was mentioned by another responder.  Good to have 
choices.  I will choose a GUI like avidemux when I need the visual to 
figure out what I need to do.  But if I plan on doing the same thing 
over and over, I like a CLI tool that just gets the job done.

Cheers




More information about the ubuntu-users mailing list