Rip audio from a video file.

mplayer -ao pcm -vo null -vc dummy -dumpaudio -dumpfile <output-file> <input-file>
Replace and accordingly.

68
By: sykora
2009-02-05 08:17:04

1 Alternatives + Submit Alt

What Others Think

ffmpeg -i foo.[mpg, mov, wma] foo.[mp3, wav, ogg] rips audio too. ffmpeg4life!
sunji · 877 weeks ago
didn't work with a .mp4 file. ffmpeg didn't work either. i did get the audio from the .flv file. can i maybe use a different option with mplayer? ffmpeg failed to recognize the format. i usually include the bitrate and sample rate with ffmpeg ffmpeg -i <input.flv> -ab 128000 -ar 44100 <output.mp3> i can extract from flv but not mp4 thanks
cybormoron · 873 weeks and 1 day ago
with ffmpeg, use -acodec copy -vn instead of -ab 128000 -ar 44100 so you dont degrade the quality
bugmenot · 720 weeks and 4 days ago
Most the people want to watch the TV content in subtitle formation which is the best platform for getting the knowledge of content in a written way. There are most of the students who love to get the writing options on the www.tweakyourbiz.com/marketing/10-tips-for-your-international-marketing-plan option which offers the best review platform for completing any kind of writing work option in good way.There are many devices are available which students can get for writing any kind of writing formation options.
Falk1993 · 237 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: