Log in

View Full Version : Extracting Matroska file with H264 and AAC 6Ch audio


CruSifiXken
30th August 2006, 19:26
Well, actually, the title says it all :rolleyes: ...

I want to extract a Matroska file into an AVI(I want to encode it to DivX) and an AAC audio file.
It's for playing on my portable DivX player.

But using Virtualdubmod, it doesn't seem to find the right codecs etc...

H264 can only use Direct Stream Copy and the AAC sound is "unknown audio file" :(

Can anybody lend me a hand?:confused:

Thanks in advance!!

dalihrp
31st August 2006, 00:23
Have you try,
1; AviMuxGUI
2;MKVMErgeGUI

Skelsgard
31st August 2006, 00:40
Get MKVExtract, AVC2AVI, MP4Box (Yamb is a GUI for MP4Box so I would recommend u to get it to make it easier) and AviMux_GUI.
Load the MKV into MKVExtract, export to RAW .264 and .AAC.
Then start AVC2AVI and open the .264 file and export it as AVI.
To be able to open this file with VirtualDub u need a VFW decoder. ffdshow has VFW decoding/encoding capabilities. Once u have that enabled, load the AVI into VD and encode to DivX.
If the supported audio in your portable is not AAC, then u can decode it with different apps, but to make it easy too, just open Yamb, import the AAC into it and export to MP4.
Decode this MP4 with neroīs freeware decoder or any other, and encode to supported format.
If it is AAC, then mux the video AVI with the AAC using Avimux_GUI.

Cheers.

CruSifiXken
31st August 2006, 10:06
Man , I love you! (In a non-gay-like way:D )

But my only problem is to extract the files using MKVmergeGUI

I load up the file, I select MKVextract at the mkvmerge executable, but then what?:confused:

Thanks a lot guys!!

EDIT: I found the extraction progress! I'll try the rest as well :)

CruSifiXken
1st September 2006, 23:06
Okay,

My video is fully encoded in DivX, with all features enabled (the file is 1.63 GB, the H264 version was 700Mb)

The audio seems to be the problem...
I encode it to MP4 using Nero WaveEditor, but most of the time I receive errors in Virtualdub like: "It is not a valid MP4 stream"

How do I encode descent audio that still keeps the 6 Channel audio?

Thanks!

ilovejedd
2nd September 2006, 00:29
Convert it to AC3? BeSweet can do this, I think... I'm not aware of standalone DivX players that can handle AAC audio. Does VirtualDub support audio only MP4 files in the first place? Or even MP4 in general?

Skelsgard
2nd September 2006, 01:53
I encode it to MP4 using Nero WaveEditor, but most of the time I receive errors in Virtualdub like: "It is not a valid MP4 stream"
U canīt encode audio to MP4. MP4 is a container.
MPEG-4 is another thing. AAC audio is MPEG-4 audio (it can also be MPEG-2).
If your extracted audio is AAC and, like I said before, your portable can play AAC audio then u donīt need to convert to anything. Just use the AAC file by muxing it directly with your DivX AVI in Avimux_GUI.
Now, transcoding of the audio would be necessary IF your portable DOES NOT handle AAC.
And "portable" is not the same as "standalone", and as your DivX AVI is 1.36 GB big and the DivX players most of them actually are DVD players with DivX capacity, Iīm gonna assume that you have a DVD player that can play also DivX AVIs.
Also, donīt use VirtualDub for MP4. Use MP4Box (with Yamb GUI to make it easier).

How do I encode descent audio that still keeps the 6 Channel audio?
Descent = decent?
That would depend on the formats accepted by your player.
As Iīm already assuming itīs a DVD player, Iīm also gonna assume that it can play AC3 audio (as compatible audio format) in AVI container.
As such, the fastest and easiest way TO ME to transcode your AAC to AC3 is:
1) Start Yamb and import your AAC. Export as name.mp4 (this step is necessary as neroaacdec.exe only accepts mp4/m4a sources).
2) Decode this "name.mp4" with neroaacdec.exe to "name.wav".
3) Start Aften_GUI, import the WAV, encode to AC3 with this parameters:
General:
CBR Mode = 448
Dialog Normalization = 27
Stereo Downmix and Dolby Surround = Ignored

Levels
leave as it is

Filters and Overrides
Use LFE channel = On
Audio Coding = L-C-R-Sl-Sr

Misc
leave as it is

Encode.

Now mux the DivX AVI with the AC3 in Avimux_GUI or VirtualDubMod (not VirtualDub, theyīre not the same).

Cya.

Skelsgard
2nd September 2006, 17:10
Here u have the links for aften and aften_GUI by kurtnoise.
http://kurtnoise.free.fr/index.php?dir=Aften/
Download aften-0.05.zip and aftenGUI-1.2.zip
Cya

CruSifiXken
2nd September 2006, 19:59
Ok, It worked!
(I burnt in the subs using AGK)

The file is 1.96Gb :)

I'll use thise method for future files of the mkv thingy :)

THANKS A LOT GUYS!!!
(Skelsgard the most :D )