How can I extract audio track from video file and save it as MP3?
Very simple CLI solution:
ffmpeg -i VIDEOFILE -acodec libmp3lame -metadata TITLE="Name of Song" OUTPUTFILE.mp3
In case you don't have ffmpeg installed:
sudo apt-get install ffmpeg
You can do this in VLC.
Once you have started VLC:
- select "Media" --> "Convert/Save"
- Click "Add..." and select the file you want
- Click "Convert / Save" (on the bottom)
- Provide a "Destination file:"
- Select the "Profile" (i.e. "Audio - MP3", "Audio - Vorbis (OGG)", etc.)
- Click "Start"
- Relax and enjoy your shoes
You can install VLC from Synaptic or the Software Center.
avidemux can do this.
It is inside Ubuntu Software Center or you can install it from the command line with:
sudo apt-get install avidemux