Extract audio from video files

Many a times, we have to make do with video files, when the audio songs are not readily available.. Another magical software package in Linux provides a simple, yet very powerful audio extraction technique from video files.

NOTE: Make sure you have both ffmpeg and mplayer installed in your system.

su -c ‘yum install ffmpeg* mplayer’

Now, once these are available, just use the following command to extract the audio :

mplayer -dumpaudio video_file.flv -dumpfile new_audio_file.mp3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s