Extract the audio from an MP4 video file using avconv

At times, we would like to extract the audio from an MP4 video file. To do this in Linux, open a terminal window in Ubuntu and use the utility called avconv as follows:
$ avconv -i MyVideoFile.mp4 -vn -acodec copy MyAudioFile.aac <enter>

where, MyVideoFile.mp4 is your mp4 video file. You can then listen to the MyAudioFile.aac on any music player.

avconv is the replacement for ffmpeg on Ubuntu 14.04. To install avconv, do the following:
$ sudo apt-get install libav-tools <enter>

Remember, avconv is as powerful as ffmpeg.

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

October 2019
M T W T F S S
« Sep    
 123456
78910111213
14151617181920
21222324252627
28293031