Stripping audio from a video using FFMPEG for MP3, OGG, or other formats

Everyone has wanted to grab the audio portion of a video at one point or another. Whether to get the audio from a music video, concert, or even a lecture. The ability to separate audio data from video data can be darned handy.
Before you can begin you will have to install FFMPEG. This guide covers some other uses and links to an install guide for use on the CENTOS Red Hat based operating system.
Also! Do not forget to keep a link to the FFMPEG documentation handy!
/usr/bin/ffmpeg -y -i "/var/www/html/myvideo.flv" -vn -sn -acodec mp3 -ac 2 -ar 44100 -ab 128k "/var/www/html/output.mp3"
FFMPEG options read:
-y force overwriting of existing file if found -i input file of "/var/www/html/myvideo.flv" -vn video disabled -sn sub-titles disabled -acodec selected audio codec of mp3 -sc two audio channels -ar audio rate of 44100 Hz -ab audio bit rate of 128k Output file of "/var/www/html/output.mp3"
If you are running Ubuntu you might run into a problem using the above as it does not come with an MP3 encoder. This page has an easy an quick way to solve this problem for you.