FFmpeg By Example is a documentation website to showcase all the unique and different ways to use FFmpeg.
Got a cool idea to share with the community? Send your contribution here!

Extract Audio from Video Files with Stream Mapping

No Preview.

If you feel like this example could be improved, you may edit this example here.

// uncompressed (faster)
ffmpeg -i video-file.avi -map 0:a extracted_audio.wav
// output to mp3 (or other formats)
ffmpeg -i video-file.avi -map 0:a -f mp3 extracted_audio.mp3

All Examples