Save the audio from a video as MP3

Tue 09 February 2016

Example, you have some video that you would rather just listen to on your phone. You can easily extract the audio using ffmpeg and the following command:

ffmpeg -i input.video -vn -acodec libmp3lame output.mp3