Gentoo Wiki ArchivesGentoo Wiki

Extract_audio_track_from_videos

About

There are few simple ways to extract audio from various types of video files (MPEG, AVI, DivX, etc). Use MediaInfo to find out the audio-stream information of the video file.

Using ffmpeg

ffmpeg -i video_file -f mp3 audio_file.mp3

In order to specify a different bit rate for your output file, use the -ab switch (in b/s).

ffmpeg -ab 192k -i video_file -f mp3 audio_file.mp3

Using MPlayer

mplayer -dumpaudio -dumpfile audio_file.mp3 video.avi

That is, if the audio stream is in MP3 format. If it isn't, change extension appropriately.

Retrieved from "http://www.gentoo-wiki.info/Extract_audio_track_from_videos"

Last modified: Sat, 23 Aug 2008 23:28:00 +1000 Hits: 4,019

Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.