I have mkv files of the "Get Back" video and I've heard a few segments of audio which I'd like to extract. I was unsure of how it would come out, but I tried it using Audacity, just to see if I was on the right track. Of course, the resulting wav file sounded like crap. Can anybody explain how this can be done ion order to get a decent sounding end result?
Thanx in advance!
Extracting Audio from MKV files
- dylanoscar
- Posts: 57
- Joined: Sun Aug 15, 2021 1:30 am
Re: Extracting Audio from MKV files
Try with Format Factory 5.11.0.0rfwood1 wrote: ↑Wed Jul 27, 2022 3:08 pm I have mkv files of the "Get Back" video and I've heard a few segments of audio which I'd like to extract. I was unsure of how it would come out, but I tried it using Audacity, just to see if I was on the right track. Of course, the resulting wav file sounded like crap. Can anybody explain how this can be done ion order to get a decent sounding end result?
Thanx in advance!
- Egg_Crisis
- Posts: 131
- Joined: Sat Feb 20, 2021 3:24 pm
- Has thanked: 8 times
- Been thanked: 22 times
Re: Extracting Audio from MKV files
With ffmpeg, command line with the command
for %%i in (*.mkv) do ffmpeg -i "%%i" "%%~ni.wav"
You can change "mkv" in that example to any other filetype you want to convert, so for example
for %%i in (*.wmv) do ffmpeg -i "%%i" "%%~ni.wav"
etc
It'll convert all the files in the folder, which is useful for batch conversion, so only have files in the folder that you wish to convert because it'll convert them all.
for %%i in (*.mkv) do ffmpeg -i "%%i" "%%~ni.wav"
You can change "mkv" in that example to any other filetype you want to convert, so for example
for %%i in (*.wmv) do ffmpeg -i "%%i" "%%~ni.wav"
etc
It'll convert all the files in the folder, which is useful for batch conversion, so only have files in the folder that you wish to convert because it'll convert them all.
Last edited by Egg_Crisis on Wed Jul 27, 2022 11:28 pm, edited 1 time in total.
Re: Extracting Audio from MKV files
If you can find the "true" DVD files (VIDEO_TS folder), you will get better results with apps like "DVD Audio Extractor" in Mac as the application will use the chapters to split the audio files. Files will be extracted in FLAC.
Yves
- Lord Reith
- Posts: 4693
- Joined: Thu Feb 18, 2021 8:22 am
- Location: BBC House
- Has thanked: 147 times
- Been thanked: 4082 times
Re: Extracting Audio from MKV files
Audacity can open any audio files contained in a video. You need to install the ffmpeg plugin though. Then when you import a video it will prompt you as to which audio streams you want. It will ignore the video.
If you want the audio in its original format then you demux it into separate audio and video streams with something like ts MuxerGUI
If you want the audio in its original format then you demux it into separate audio and video streams with something like ts MuxerGUI
-
- Posts: 133
- Joined: Fri Apr 02, 2021 4:13 pm
- Location: USA
- Has thanked: 1 time
- Been thanked: 6 times
Re: Extracting Audio from MKV files
My thanks to all for these suggestions. I tried each one of these ideas and the one that worked out easiest for my feeble mind was to add the ffmpeg plug in and go through Audacity. Again, thanks for all of your help!