How To Extract Audio From .MOV File Using FFMPEG

Ivan Terekhin
2 min readMay 27, 2023

--

Extracting the MP3 file from .MOV Anime Style

Mostly Generated by ChatGPT

Extracting audio from a .MOV file using FFmpeg is a fairly straightforward process. Here are the steps you can follow to accomplish this:

1. Download and Install FFmpeg: You need to download and install FFmpeg if you have not already done so. You can download it from the official website at https://www.ffmpeg.org/. Follow the instructions provided on the website for installing it on your specific operating system.

2. Open the Terminal: Next, open your terminal or command prompt.

3. Navigate to Directory: Navigate to the directory containing your .MOV file using the ‘cd’ command. For example, if your file is located in the Desktop, you might use something like this:

cd C:\Users\YourUsername\Desktop

4. Extract Audio: Now, you can extract the audio from the .MOV file. Use the following command to extract the audio and save it as a .mp3 file:

ffmpeg -i input.mov -vn -acodec mp3 output.mp3

In the above command:

-i input.mov specifies the input file, replace “input.mov” with the name of your .MOV file.
-vn is an option that tells FFmpeg to disable video recording.
-acodec mp3 specifies the audio codec to be used for the output file. In this case, we’re using mp3.
output.mp3 is the name of your output file.

After running the above command, FFmpeg will extract the audio from your .MOV file and save it as a .mp3 file with the specified output name. The new file will be located in the same directory as your original .MOV file.

Remember to replace “input.mov” and “output.mp3” with the names of your specific files.

--

--

Ivan Terekhin
Ivan Terekhin

Written by Ivan Terekhin

Mobile developer (Android, iOS, Flutter), AI and GameDev enthusiast. https://www.indiehackers.com/jeuler

Responses (2)