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