Extracting audio from your own videos is a common need—whether you want to save a podcast snippet, isolate a soundtrack from a home movie, or repurpose a voiceover. As long as you own the copyright or have permission, extracting audio is perfectly legal. This guide covers methods for Windows, macOS, and Linux using built-in tools, free software, and affordable paid options. We'll also touch on legal considerations and best practices.

Legal Basics: What You Can and Cannot Do

Before extracting audio, ensure you have the right to do so. You can legally extract audio from videos you created yourself, videos you have a license to use (e.g., Creative Commons), or videos in the public domain. Extracting audio from copyrighted content you don't own—like a movie or music video—without permission is illegal in most jurisdictions. For more on legal audio saving, see our complete guide to saving audio legally.

Extracting Audio on Windows

Using VLC Media Player (Free)

VLC is a free, open-source media player that runs on Windows. It can convert video files to audio formats like MP3, FLAC, or OGG.

  1. Open VLC and click Media > Convert / Save.
  2. Click Add, select your video file, then click Convert / Save.
  3. In the Convert window, choose an audio profile (e.g., Audio – MP3).
  4. Set a destination file name and location, then click Start.

VLC will extract the audio track and save it as a separate file. This method works for most common video formats (MP4, AVI, MKV).

Using FFmpeg (Free, Command Line)

FFmpeg is a powerful command-line tool for audio and video processing. Download it from ffmpeg.org and add it to your system PATH.

To extract audio from a video file, open Command Prompt and run:

ffmpeg -i input_video.mp4 -vn -acodec copy output_audio.aac

Replace input_video.mp4 with your file name and output_audio.aac with your desired output. The -vn flag disables video, and -acodec copy copies the audio stream without re-encoding. For MP3 output, use:

ffmpeg -i input_video.mp4 -vn -acodec libmp3lame output_audio.mp3

FFmpeg supports virtually all audio and video codecs.

Using Audacity (Free)

Audacity is a free audio editor that can record audio playing through your computer. To extract audio, you can import the video file directly (on Windows, you may need the FFmpeg library).

  1. Open Audacity, go to File > Import > Audio.
  2. Select your video file. Audacity will import the audio track.
  3. Edit if needed, then export as MP3, WAV, or other formats via File > Export.

Audacity is ideal for trimming or adjusting audio before saving.

Paid Software: Adobe Audition

Adobe Audition (part of Creative Cloud, around $22.99/month) offers advanced audio extraction and editing. It can open video files directly and export audio in high-resolution formats. This is suitable for professionals who need precise control.

Extracting Audio on macOS

Using QuickTime Player (Free, Built-in)

QuickTime Player on macOS can export audio from video files without extra software.

  1. Open the video in QuickTime Player.
  2. Click File > Export As > Audio Only.
  3. Choose a format (AAC, MP3, etc.) and save location.

QuickTime supports common formats like MP4 and MOV. For other formats, you may need a converter.

Using iMovie (Free)

iMovie, included with macOS, can export audio from video projects.

  1. Import the video into iMovie.
  2. Drag the video clip to the timeline.
  3. Go to File > Share > Export Movie.
  4. In the export window, choose Audio Only under Quality.

iMovie exports audio as M4A (AAC) files.

Using FFmpeg via Terminal

Install FFmpeg using Homebrew (brew install ffmpeg), then use the same commands as on Windows. macOS Terminal uses the same syntax.

Using Audacity

Audacity works on macOS as well. Import the video file (you may need to install FFmpeg for Audacity) and export the audio.

Extracting Audio on Linux

Using FFmpeg (Free, Command Line)

FFmpeg is usually available in Linux repositories. Install it via your package manager, e.g., sudo apt install ffmpeg on Debian/Ubuntu. The command-line usage is identical to Windows and macOS.

Using Audacity

Audacity is available on Linux through package managers or the official website. Import video and export audio as described above.

Using VLC

VLC is also available on Linux. The conversion process is the same as on Windows.

Using SoundConverter (GUI, Free)

SoundConverter is a Linux GUI tool that can extract audio from video files. Install it via your package manager (sudo apt install soundconverter). Add video files, choose output format (MP3, FLAC, OGG, etc.), and convert.

Choosing the Right Output Format

Selecting the right audio format depends on your needs:

  • MP3: Universal compatibility, good balance of quality and file size. Bitrate options: 128 kbps (acceptable), 192 kbps (good), 320 kbps (high quality).
  • AAC: Better quality than MP3 at similar bitrates. Used by Apple and YouTube. Common in M4A containers.
  • FLAC: Lossless compression, perfect for archiving. Large file size.
  • WAV: Uncompressed, huge files, but zero quality loss.
  • OGG Vorbis: Open-source alternative to MP3, good quality.

For most purposes, MP3 at 192 kbps is a safe choice. If you plan to edit further, use WAV or FLAC.

Handling DRM and Encrypted Videos

Some videos you own may have digital rights management (DRM) that prevents extraction. For example, movies purchased from iTunes or Amazon Prime Video are often encrypted. In such cases, legal extraction is not possible without breaking DRM, which is illegal in many countries (e.g., under the DMCA in the US). If you need audio from a DRM-protected video, consider using screen recording software (like OBS Studio) to capture the audio while playing the video, but be aware of terms of service. Alternatively, look for DRM-free versions or purchase the soundtrack separately.

Batch Processing Multiple Videos

If you have many videos to process, FFmpeg scripts can automate the task. For example, on any OS, you can run a loop:

for file in *.mp4; do ffmpeg -i "$file" -vn -acodec libmp3lame "${file%.mp4}.mp3"; done

This converts all MP4 files in the current directory to MP3. Adjust the extension and codec as needed.

For a GUI alternative on Windows, XMedia Recode (free) supports batch conversion. On macOS, MediaHuman Audio Converter (free) can batch extract audio from video files.

Legal Reminders and Best Practices

  • Always verify copyright: Even if you own the video, ensure any third-party music or audio is licensed for reuse. Royalty-free music libraries like Epidemic Sound or Artlist provide safe options.
  • Keep original files: Store the original video in case you need to re-extract or edit later.
  • Check terms of service: Platforms like YouTube have specific rules about downloading content. For your own uploads, you can use YouTube's built-in download feature (see YouTube Premium download setup) or third-party tools that comply with the platform's policies.
  • Use reputable software: Avoid shady converters that may bundle malware. Stick to open-source tools like FFmpeg, Audacity, and VLC.

For more on legal downloading, read our comparison of YouTube Premium vs free downloads.

Conclusion

Extracting audio from your own videos is straightforward on any operating system. Free tools like VLC, FFmpeg, and Audacity cover most needs, while paid options like Adobe Audition offer advanced features. Always respect copyright and use extracted audio responsibly. With the methods above, you can efficiently create audio files from your video library.

Related articles