convert a MOV file to an MP3 audio file using FFmpeg

5 min read

The command to convert a MOV file to an MP3 audio file using FFmpeg is:

ffmpeg -i input.mov -vn -acodec libmp3lame -qscale:a 2 output.mp3

Explanation:

  • ffmpeg is the command to invoke FFmpeg.
  • -i input.mov specifies the input file.
  • -vn disables video recording.
  • -acodec libmp3lame sets the audio codec to MP3 with LAME encoder.
  • -qscale:a 2 sets the audio quality. The range is 0-9, where 0 is best and 9 is worst. Lower values result in better quality, but larger file sizes.
  • output.mp3 specifies the output file.

After running the command, FFmpeg will start the conversion process. The progress will be displayed in the console. Once the conversion is complete, the output file will be saved to the specified location.