If you feel like this example could be improved, you may edit this example here.
This ffmpeg “recipe” works by taking a video input, and mapping the first audio track to an output, you can define the output format using the -f option and a format value i.e: -f mp3. If you omit the format option then you should use an uncompressed format for your output like .wav, using a compression format is generally slower than just mapping to a wav file.