Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 05-30-2008, 12:11 PM   #1
Registered: Jan 2007
Distribution: Debian, Ubuntu
Posts: 53

Rep: Reputation: 15
Extract audio from mov file

I want to Extract audio from a Mov video file to audio file, what software should i use, i use Ubuntu 8.04 with kernel 2.6.24-17 Thanks in advance.
Old 05-30-2008, 12:40 PM   #2
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
There may be programs to demux it directly, but mplayer can just dump the audio as a wav file. (Maybe mplayer/mencoder can demux directly?). Try
mplayer -vo null -ao pcm:file=audio.wav:fast
This will give you the raw audio file named audio.wav. Then you can convert it to mp3, ogg, or whatever.
Old 05-31-2008, 01:18 AM   #3
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 360

Rep: Reputation: 103Reputation: 103
You could use the "-dumpaudio" option also.
mplayer -dumpaudio -dumpfile audio.mp3
MPlayer will also tell you the audio codec used in the video, so you know what extension to use for the dumped audio file.
mplayer 2>/dev/null | grep "DECAUDIO"
 DECAUDIO: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
 DECAUDIO: AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
 DECAUDIO: Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
Old 05-31-2008, 03:35 AM   #4
Registered: Jan 2007
Distribution: Debian, Ubuntu
Posts: 53

Original Poster
Rep: Reputation: 15
audio from file

Thank you for your replies, it worked with Mplayer, now i have one more question, can you recommend av video edition program for Ubuntu with GUI, where you can edit sound and video in? Thanks in advance.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract audio from exif jpeg file? gbowden Slackware 9 07-13-2007 09:08 AM
.MOV audio codecs?!? Vid Linux - Software 3 02-12-2004 12:36 AM
mplayer // I am only getting audio for .mov files Wapo Linux - Software 6 07-29-2003 09:06 PM
MPlayer playing mov: Audio no sound jpbarto Linux - Software 1 05-07-2003 11:22 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration