Converting a video to an mp3 via terminal

The days we had to remember dozens of ffmpeg flags has long gone. avconv is easy as easy could be.

sudo apt-get install ffmpeg libavcodec-extra-53 libav-tools

To convert video.mp4 to song.mp3, all you need to do is,

avconv -i video.mp4 audio.mp3

It’s so easy it just hurts. :shock:

You can of course give avconv a dozen flags to tune the output to your will, but you just need a simple conversion 90% of the time.

Post a comment or leave a trackback: Trackback URL.

Comments

  • yanapermana  On February 21, 2015 at 8:19 pm

    thx, pake command ini jg bz gan # avconv -i video.mp4 audio.mp3

Leave a Reply