You are on page 1of 3

Risparmio energia di Safari

Fai clic per avviare il plugin Flash

Front Page Mac Blog iOS Blog Roundups Buyer's Guide Forums Search Forums...

Register FAQ / Rules Community Forum Spy Today's Posts Search

MacRumors Forums > Apple Hardware > Apple TV and Home Theater User Name User Name Remember Me?

Extract individual audio stems from MKV file? Password Log in

Thread Tools Search this Thread Display Modes

Sep 9, 2011, 02:53 PM #1

Harry322 Extract individual audio stems from MKV file?


macrumors member
I am interested in taking an .mkv file and extracting the 5.1 audio file (I'm guessing an ac3 file?) and then separating
Join Date: Oct 2005 each track (left, center, right, left surround etc.) into 6 discrete WAV files.
Location: Los Angeles
Is there a program that can accomplish this?

Thanks

Jan 26, 2014, 09:50 AM

Sponsored
Mac Audio Editing
www.nch.com.au/wavepad
Download the #1 rated audio editor. Quality sound, easy, get it free.

Sep 9, 2011, 04:02 PM #2

roidy Well MKVtoolnix will extract the ac3 track from an mkv file.
macrumors 6502a
Then if you have a windows machine you can use:-
Join Date: Dec 2008
BeSweet or
Location: Nottingham, UK
eac3to or
HeadAC3he to convert ac3 to 6 mono waves.

On the Mac side of things the only thing I could find is the 3rd post of this thread on the Mac OSX Audio forum that talks
about using Audacity to convert ac3 to 6 mono waves and there's a Mac version of Audacity.

http://www.macosxaudio.com/forums/viewtopic.php?t=33085
Audacity

This is all I could find, hope it helps.

Sep 9, 2011, 05:23 PM #3

Harry322 Thanks roidy!


Thread Starter
macrumors member I'll give that a shot. Much appreciated!
Join Date: Oct 2005
Location: Los Angeles

Sep 10, 2011, 04:54 AM #4

Harry322 OK, so I've tried all of the options laid out by roidy - and sadly, nothing seems to work.
Thread Starter
macrumors member I don't have access to a windows machine, and opening the .exe files in WINE give me errors.
Join Date: Oct 2005
Location: Los Angeles Is there any Mac application that can demux an ac3 file into seperate WAV files?

Sep 10, 2011, 06:00 AM #5

roidy OK, I've just done a test and Audacity works perfectly under Windows, so there's no reason the Mac version shouldn't
macrumors 6502a also work.

Join Date: Dec 2008


1. Install Audacity 1.3.13.
Location: Nottingham, UK

2. Install the FFmpeg import/export library, from the Audacity site. This will allow you to import/export AC3 files.

Now you can open your mkv/mp4 files directly in Audacity and select the AC3 track, but for some reason it downmixes it
Now you can open your mkv/mp4 files directly in Audacity and select the AC3 track, but for some reason it downmixes it
to stereo So.....

3. Extract your AC3 track from your movie file.

4. Run Audacity and goto Edit->Preferences, this box will popup:-

5. Goto the Import/Export page and under the "When exporting tracks to an audio file" section select "Use custom mix",
if you don't do this when you export your file all the tracks will be mixed into one file.

6. Goto File->Open and load your AC3 file, it should load as 6 mono tracks:-

7. Goto File->Export Multiple.

8. Select the export format and location then press Export.

9. You'll get an edit metadata page for each of the 6 tracks just press ok on each.

10. Mission accomplished

Just a quick side note, Audacity doesn't label the 6 mono audio tracks but the ordering is as follows:-

Track 1 = Left front


Track 2 = Right front
Track 3 = Center
Track 4 = LFE(Sub)
Track 5 = Left Surround
Track 6 = Right Surround

Last edited by roidy; Sep 10, 2011 at 06:30 AM.

Sep 11, 2011, 01:24 PM #6

Harry322 Well Roidy, you've done it again.


Thread Starter
macrumors member Turns out there was a problem with my AC3. I tried your method on a different file and it worked like a charm!
Join Date: Oct 2005
Location: Los Angeles Thanks again!

Sep 11, 2011, 02:20 PM #7

roidy No problem, glad to hear you've got it working.


macrumors 6502a

Join Date: Dec 2008


Location: Nottingham, UK

Sep 14, 2011, 01:16 PM #8

Harry322 Just to further complicate things, I am trying to use this process on Thor which has a DTS-HD Master Audio 7.1 track.
Harry322 Just to further complicate things, I am trying to use this process on Thor which has a DTS-HD Master Audio 7.1 track.
Thread Starter
macrumors member Any chance that there's a work around that supports this type of file? Or is it also an .ac3 file?
Join Date: Oct 2005
Location: Los Angeles

Sep 14, 2011, 04:03 PM #9

roidy Yep, just tried it and it seems to work with DTS-HD 7.1, heres what I did:-
macrumors 6502a
1. Convert a Blu-ray to mkv using MakeMKV, selecting only the DTS-HD 7.1 track to make it easier.
Join Date: Dec 2008
2. Use MKVExtract from MKVToolsnix to extract the 7.1 audio to a file that has a .dts extension.
Location: Nottingham, UK
3. Load the .dts file into Audacity just like in the 5.1 AC3 example.
4. Export the same as before.

Sep 14, 2011, 11:11 PM #10

Harry322 Quote:
Thread Starter
macrumors member Originally Posted by roidy
Yep, just tried it and it seems to work with DTS-HD 7.1, heres what I did:-
Join Date: Oct 2005
Location: Los Angeles
1. Convert a Blu-ray to mkv using MakeMKV, selecting only the DTS-HD 7.1 track to make it easier.
2. Use MKVExtract from MKVToolsnix to extract the 7.1 audio to a file that has a .dts extension.
3. Load the .dts file into Audacity just like in the 5.1 AC3 example.
4. Export the same as before.

Fantastic!!! Thanks, I'll give it a shot

Jan 26, 2014, 09:50 AM

Sponsored
Video Converter per Mac
www.movavi.com/Mac
Converte i Principali Formati. Scarica Ora la Versione Gratuita!

MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Previous Thread | Next Thread

Posting Rules

You may not post new threads


You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Forum Rules Apple TV and Home Theater Go

Similar Threads
thread Thread Starter Forum Replies Last Post

Extracting subtitle files from .MKV file grantwolsey MacBook Pro 5 Oct 19, 2010 02:43 AM

Extract HD audio from .mkv file? speters Apple TV and Home Theater 0 Apr 3, 2010 05:22 PM

Looking for Mac App to rip individual audio channels from DVD gospelSFX Mac Applications and Mac App Store 2 Mar 1, 2010 11:32 AM

Extracting H.264 streams from MKV skunkworker Apple TV and Home Theater 1 Oct 3, 2009 11:48 AM

Problem with audio out and mkv files, voices missing helloniklas MacBook Pro 5 Apr 24, 2008 04:00 PM

All times are GMT -5. The time now is 03:50 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps


Contact Us - MacRumors Forums - Archive - Privacy Statement / DMCA Agent - Top

Mobile Version | Fixed | Fluid | Fluid HD

Privacy / DMCA contact / Affiliate and FTC Disclosure


Copyright 2002-2013, MacRumors.com, LLC

You might also like