Extract the audio track from a video file — MPEG, WEBM, AVI, WMV, what have you — and save it as MP3.
I use this to convert to ogg, you could do the same with mp3 but ogg provides better audio quality.
#!/bin/bashffmpeg -i "$1" -vn -acodec libvorbis -q 7 "$2"
I use this to convert to ogg, you could do the same with mp3 but ogg provides better audio quality.
#!/bin/bash
ffmpeg -i "$1" -vn -acodec libvorbis -q 7 "$2"