How To Extract Audio From Video

This tutorial will show you step by step how to extract audio from video in a few different ways using free software and an online audio converter.

You can extract audio (e.g., MP3, WMA, WAV, FLAC, etc.) from any video (e.g., MP4, AVI, MKV, MOV, WMV, MPG, etc.).

How to Extract Sound from Video using VLC

VideoLAN (VLC) website

1. Open VLC media player.

2. Click on Media and choose Convert/Save.

vlc media player convert save feature

An Open Media window will appear.

3. Click on the Add button.

open video in vlc

4. Go to the video located on your computer.

5. Select the video.

6. Click on Open.

7. Click on the Convert/Save button located at the bottom.

A Convert window will appear.

8. At Profile, you select an audio format (e.g., MP3, FLAC or Vorbis (OGG)).

select audio format in vlc

9. Click on the Edit selected profile (tools) button.

edit selected profile in vlc media player

A Profile edition window will appear.

10. Make sure that the correct audio encapsulation (e.g., MP3, FLAC or Ogg/Ogm) is selected in the Encapsulation tab.

This setting depends on the audio format you've selected at step 8.

11. Click on the Audio codec tab.

12. At Codec, you make sure that the correct codec (e.g., MP3, FLAC or Vorbis) is selected.

This setting depends on the audio format you've selected at step 8.

13. At Bitrate, you should select the same bit rate as the bit rate of your video.

14. At Channels, you select the same amount of channels as your video has.

15. At Sample Rate, you should select the same sample rate as the sample rate of your video.

encoding parameters settings in vlc media player

16. Click on the Save button.

Now you will be brought back to the Convert window.

17. At Destination, you click on the Browse button.

18. Select a location on your computer where you want to save the audio file.

19. At File name, you enter a name for the audio file ending with the audio file extension (e.g., audio.mp3, audio.flac or audio.ogg).

20. Click on the Save button.

21. Click on the Start button located at the bottom.

VLC media player will now extract the audio from your video.

How to Extract Sound from Video using Audacity

Audacity website

Note: First you will need to install Audacity on your computer and then install LAME MP3 Library and FFmpeg.

Install LAME MP3 Library and FFmpeg on Windows

1. Go to https://lame.buanzo.org/#lamewindl.

2. Click on the LAME download link (e.g., Lame_v3.99.3_for_Windows.exe).

3. Save the file anywhere on your computer.

Don't close the https://lame.buanzo.org/#lamewindl page.

4. Double-click on the installer file (e.g., Lame_v3.99.3_for_Windows.exe).

5. Follow the setup instructions to install LAME on your computer.

6. Go back to the https://lame.buanzo.org/#lamewindl page.

7. Click on the FFmpeg download link (e.g., ffmpeg-win-2.2.2.exe).

8. Save the file anywhere on your computer.

9. Double-click on the installer file (e.g., ffmpeg-win-2.2.2.exe).

10. Follow the setup instructions to install LAME on your computer.

Extract Audio from Video

1. Open Audacity.

2. Click on File and choose Open.

open file in audacity

3. Go to the video located on your computer.

4. Select the video.

5. Click on Open.

Audacity will now import your video file.

6. When Audacity is finished importing your video file, you click on File, go to Export and choose an audio format (e.g., Export as MP3, Export as WAV, etc.).

select a audio format in audacity

An Export Audio windows will appear.

7. Select a location on your computer where you want to save the audio file.

8. At File name, you enter a name for the audio file ending with .mp3 (e.g., audio.mp3).

9. At Bit Rate Mode, you select Constant.

10. At Quality, you should select the same bit rate as the bitrate of your video (e.g., 192 kbps).

Or if the same bitrate is not available in the selection menu, then select a bit rate that comes close to it. Like for example, if the audio bit rate of your video is 195kbps, then choose 192kbps.

11. At Channel Mode, you select Stereo.

12. Click on the Save button.

13. If the Edit Metadata Tags window appears, you just click on the OK button.

Audacity will now extract the audio from your video.

How to Extract Sound from Video using FFmpeg

FFmpeg website

Install FFmpeg

1. Go to https://ffmpeg.zeranoe.com/builds/.

2. At Version, you make sure that the top version is selected (highlighted).

3. At Architecture, you select the Windows version you have installed on your PC (Windows 32-bit or Windows 64-bit).

4. At Linking, you make sure that Static is selected (highlighted).

5. Click on the Download Build button.

6. After the download is finished, you will need to unzip the ffmpeg.zip file (e.g., ffmpeg-20171123-a60b242-win64-static.zip).

You can use the free file archiver 7-zip for unzipping the file.

After you unzip the ffmpeg.zip file, you will have a folder named something like ffmpeg-20171123-a60b242-win64-static.

7. Rename the folder to ffmpeg.

8. Copy or drag the ffmpeg folder to the (C:) drive (same drive as where Windows is installed).

(C:) is usually the drive where Windows is installed and where you can find the Windows, Program Files and Program Files (x86) folders.

Extract Audio from Video

1. Copy your video into the bin folder of FFmpeg (e.g., (C:) > ffmpeg > bin).

If you copy the video file into the bin folder, then you don't have to enter the full path to your video file, but only something like video.mp4 or video.mkv.

2. Open Windows Command Prompt.

3. Type the following command and press Enter:

cd\

4. Type the following command and press Enter:

cd ffmpeg

5. Type the following command and press Enter:

cd bin

6. Type the following command and press Enter:

ffmpeg.exe
start ffmpeg on windows

If you see something like the following lines, then it means FFmpeg is working fine and ready to use.

ffmpeg

7. Type the following command and press Enter:

ffmpeg -i video.mp4 -f mp3 -ab 192000 -vn audio.mp3

Command explained:

FFmpeg will now extract the audio from your video.

How to Extract Sound from Video using Online Audio Converter

Note: The maximum file size of a video you can open in Online Audio Converter is 2048 MB.

1. Go to https://online-audio-converter.com.

2. Click on the Open files button.

3. Go to the video located on your computer.

4. Select the video.

5. Click on Open.

Online Audio Converter will now upload your video.

This may take a while.

The time it takes depends on the file size of your video and the speed of your internet connection.

6. Select an audio format (e.g., MP3, WAV, FLAC, etc.).

7. Click on Advanced settings.

8. At Bitrate, you should select the same bit rate as the bit rate of your video.

Or if the exact same bitrate is not available in the selection menu, then select a bit rate that comes close to it. Like for example, if the audio bitrate of your video is 195kbps, then choose 192kbps.

9. At Sample rate, you should select the same sample rate as the sample rate of your video.

Or if the exact same sample rate is not available in the selection menu, then select a sample rate that comes close to it.

10. At Channels, you select the same amount of channels as your video has.

11. When the video is finished uploading and you're done with the settings, you click on the Convert button located at the bottom.

Online Audio Converter will now convert your video file to an audio file.

12. When your video is converted, you click on the Download button.

Your audio file will now be downloaded and saved on your computer.

Depending on your browser settings, you might need to select a location on your computer (where you want to save the audio file) and then click on the Save button.


Maybe you're also interested in:

How to Remove Audio from a Video

How to Convert MP4 to MP3

How to Convert Videos


Reference(s):

Hongkiat: A Guide To Video And Audio Conversion Using FFmpeg

GuidingTech: How to Easily Extract Audio From Video Files Using Audacity