Vous êtes sur la page 1sur 3

Risparmio energia di Safari

Fai clic per avviare il plugin Flash

Front Page

Mac Blog

Register

iOS Blog

FAQ / Rules

Roundups

Buyer's Guide

Community

Forums

Forum Spy

Search Forums...
Today's Posts

Search

Remember Me?

User Name User Name

MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Extract individual audio stems from MKV file?

Log in

Password

Thread Tools

Search this Thread

Display Modes

Sep 9, 2011, 02:53 PM

Harry322

macrumors member
Join Date: Oct 2005
Location: Los Angeles

#1
Extract individual audio stems from MKV file?

I am interested in taking an .mkv file and extracting the 5.1 audio file (I'm guessing an ac3 file?) and then separating
each track (left, center, right, left surround etc.) into 6 discrete WAV files.
Is there a program that can accomplish this?
Thanks
0

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

roidy

#2
Well MKVtoolnix will extract the ac3 track from an mkv file.

macrumors 6502a
Join Date: Dec 2008
Location: Nottingham, UK

Then if you have a windows machine you can use:BeSweet or


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.
0

Sep 9, 2011, 05:23 PM

Harry322

Thread Starter
macrumors member

#3
Thanks roidy!
I'll give that a shot. Much appreciated!

Join Date: Oct 2005


Location: Los Angeles

0
Sep 10, 2011, 04:54 AM

Harry322

#4
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?
0

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
also work.

Join Date: Dec 2008


Location: Nottingham, UK

1. Install Audacity 1.3.13.

macrumors 6502a

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
Track
Track
Track
Track
Track

1
2
3
4
5
6

=
=
=
=
=
=

Left front
Right front
Center
LFE(Sub)
Left Surround
Right Surround

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

0
Sep 11, 2011, 01:24 PM

Harry322

#6
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!
0

Sep 11, 2011, 02:20 PM

roidy

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

macrumors 6502a
Join Date: Dec 2008
Location: Nottingham, UK

0
Sep 14, 2011, 01:16 PM

Harry322

#8
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

0
Sep 14, 2011, 04:03 PM

roidy

#9
Yep, just tried it and it seems to work with DTS-HD 7.1, heres what I did:-

macrumors 6502a

1.
2.
3.
4.

Join Date: Dec 2008


Location: Nottingham, UK

Convert a Blu-ray to mkv using MakeMKV, selecting only the DTS-HD 7.1 track to make it easier.
Use MKVExtract from MKVToolsnix to extract the 7.1 audio to a file that has a .dts extension.
Load the .dts file into Audacity just like in the 5.1 AC3 example.
Export the same as before.
0

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.
2.
3.
4.

Convert a Blu-ray to mkv using MakeMKV, selecting only the DTS-HD 7.1 track to make it easier.
Use MKVExtract from MKVToolsnix to extract the 7.1 audio to a file that has a .dts extension.
Load the .dts file into Audacity just like in the 5.1 AC3 example.
Export the same as before.

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


0
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
You
You
You

may
may
may
may

not
not
not
not

post new threads


post replies
post attachments
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

Oct 19, 2010 02:43 AM

Extract HD audio from .mkv file?

speters

Apple TV and Home Theater

Apr 3, 2010 05:22 PM

Looking for Mac App to rip individual audio channels from DVD

gospelSFX

Mac Applications and Mac App Store

Mar 1, 2010 11:32 AM

Extracting H.264 streams from MKV

skunkworker

Apple TV and Home Theater

Oct 3, 2009 11:48 AM

Problem with audio out and mkv files, voices missing

helloniklas

MacBook Pro

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