Optionally also install libmp3lame for converting to mp3, and libvorbis for converting the extracted audio to Ogg Vorbis. To use the FFmpeg examples / commands below, you'll need to have FFmpeg installed on your system. This article explains how to use FFmpeg to extract the audio stream from a video, either without re-encoding (keeping the original format), or converting the resulting audio file to CBR (constant bitrate) or VBR (variable bitrate) MP3 or Ogg Vorbis.