View Full Version : Muxing XviD with 4 AC3 audio files
dvwannab
23rd April 2004, 18:27
Hi all,
I used Gordian Knot to rip and create d2v file (DVD Dycrypter & DVD2AVI). After closing DVD2AVI I noticed that 4 audio files (AC3) files. One AC3 file was (384/2 channel) and the other 3 AC3 files were 192/1 channel. The 4 audio files total 995MB :scared:
How would I mux all 4 files into my XviD encoded file? Will the muxed file play as the original DVD? The last AC3 file is shorter (10 minutes) are compared to the others.
I am trying to fit the XviD encoded movie onto DVD-R. Initially I did not want to do anything to the original audio files, but they are so large (995MB) that I am considering making smaller AC3 files or MP3. What would you all recommend?
Many thanks.
celtic_druid
23rd April 2004, 18:52
XviD is simply a video codec. It really has nothing to do with audio. Pick any video codec and your question would basically be the same.
dvwannab
23rd April 2004, 18:57
Originally posted by celtic_druid
XviD is simply a video codec. It really has nothing to do with audio. Pick any video codec and your question would basically be the same.
HUH!!!??? :confused:
I dont think you understood my question. I want to know how to multiplex AC3 audio files (4) with my XviD video.
Teegedeck
23rd April 2004, 19:01
Hi dvwannab,
celtic_druid understood you very well. What you didn't understand is that XviD hasn't got anything to do with it because you don't have any problem playing back the video or with the quality of the video.
Thing is, your question could fit well into two different forums:
1) edited out stupid suggestion :b
2) If you want to encode the AC3s to a smaller filesize (and perhaps realize that this too-short audio track doesn't actually belong with the video) this thread would belong into the 'audio encoding' forum.
Which one do you prefer? I would guess #2 would be a good idea.
dvwannab
23rd April 2004, 19:11
Thanks Teegedeck for your feedback.
At the expense of sounding like a smart-ass, I would say whichever answers my question best. As you can tell by my post count, this is all somewhat new for me and I am just trying to understand it all. If this were DVD (MPEG2), I would just drop the 4 audio files into the authoring program and the world is round again.
DivX/XviD is a different animal (I think) and I am just trying to get a grip on it. Thanks.
Teegedeck
23rd April 2004, 19:23
Don't worry, you're welcome to ask all sorts of questions here. Have a good time.
Edit: And BTW, you'll find most of your questions answered if you read the GUIDES (http://www.doom9.org/guides.htm)!
SoonUDie
23rd April 2004, 19:34
First of all, why do you need all of those tracks? I would assume that the 384/2 one is the native language track and the others are other languages / commentary tracks. If you don't want them, delete them.
Second, even with that much audio data, XviD should have *no* problem giving you great video quality... You've got 3.7 GB to play with here! That works out to an average bitrate of OVER 4 mbits/s for a 2-hour movie. XviD starts being "high quality" around 2 mbits (in my opinion).
To mux your AC3s together with your video, you'll probably want to go with the Matroska container format (.mkv). You can use VirtualDubMod to do that quite easily. This is what Teegedeck was saying with #1. For Matroska playback, you'll need to download some sort of Matroska splitter... normally you can find good ones at http://packs.matroska.org/.
dvwannab
23rd April 2004, 19:49
SoonUDie,
Thanks. That sounds real fine. I can keep the 2channel and delete the other 2 1-channel (all english, but probably to give a multiple/surround sound). The last and smallest audio file is 10 minutes of directors stuff that I want to keep. I hope this is possible.
The Matroska playback is not of interest for me. I want playback on my set-top DVD-DivX-XviD player.
I will try VDMod or Nandub and see what happens. Many thanks again.
Chainmax
23rd April 2004, 23:39
Slight-but-not-really-thread-hijack:
What do you people recommend for simple muxing to AVI? VDubMod, NanDub or AVIMuxGUI? Also, IIRC Doom9 had a tiny guide on muxing with NanDub. Does anyone know why hasn't he made VDubMod or AVIMuxGUI guides?
SoonUDie
24th April 2004, 00:30
Originally posted by Chainmax
What do you people recommend for simple muxing to AVI? VDubMod, NanDub or AVIMuxGUI?I haven't tried AVIMuxGUI, but out of the others NanDub is probably the best as it has support for VBR mp3s.
SoonUDie
24th April 2004, 00:46
Originally posted by dvwannab
The last and smallest audio file is 10 minutes of directors stuff that I want to keep. I hope this is possible.I know it's possible to have multiple languages in AVI (which is what you'll probably have to use), but I don't know if your player can deal with them. You might want to check your manual. If it doesn't say anything, try making some test samples on CD-r.
Audionut
24th April 2004, 12:04
The audio files should look like this.
name of file AC3 T01 3_2ch 448Kbps DELAY 0ms.ac3 <=== 5.1
name of file AC3 T01 2_0ch 192Kbps DELAY 0ms.ac3 <=== 2.0
name of file AC3 T01 2_0ch 192Kbps DELAY 0ms.ac3 <=== 2.0 channel different language.
You should use your dvd ripper to only extract the content that you want. Which means less space on the hard drive.
I recommend using Matroska's mkv format.
Playback pack (http://forum.doom9.org/showthread.php?s=&threadid=73699)
MKV toolkit (http://www.bunkus.org/videotools/mkvtoolnix/)
Use the mmg.exe file for muxing.;)
Insert Video/Audio/Chapters/Subtitles and mux. To easy.
Boulder
24th April 2004, 13:03
Originally posted by Chainmax
Slight-but-not-really-thread-hijack:
What do you people recommend for simple muxing to AVI? VDubMod, NanDub or AVIMuxGUI? Also, IIRC Doom9 had a tiny guide on muxing with NanDub. Does anyone know why hasn't he made VDubMod or AVIMuxGUI guides?
Definitely AVIMuxGUI, it gives you proper interleaving with AC3 files so no playback problems with certain audio cards.
Andrey
24th April 2004, 21:58
>>What do you people recommend for simple muxing to AVI?
AviMuxGUI is very good.
The only problem I know (listed in documentation too) that KISS player will not play open DML files with rec list (tested :) )
dvwannab
25th April 2004, 02:13
and your advice. I figured it out. My problems started when I did not rip properly with DVD Dycrypter (usinf ISO mode and selecting tracks). So I ended up with extra stuff that made conversion a problem. I went back and re-read the guide (I recommend this to ALL :D .... just kidding) and saw where I went wrong. Thanks again.
Honza
25th April 2004, 20:09
I use VirtualModDub for joining video with more audio streams.
Of course with direct stream copy mode for video and audio
http://virtualdubmod.sourceforge.net/
confus
25th April 2004, 20:51
I just love oggMux to put audeo and video files together. It's plain and simple, can even split the movie and does a great job with subtitles and chapters. The perfect muxer for noobs like me :D
Chainmax
27th April 2004, 23:10
Andrey, this is what I do in order to mux AC3 and XviD into an AVI container:
- I do a right click on the "open files" dialog box and put in the video and audio file.
- I left click on the video file, then click on the "add video source" button.
- I input the delay from the AC3 filename in the "delay of audio stream (MS)" dialog box
Then I just click on "start". I don't alter anything else and I don't set interleave values. Is that ok? I'm asking because a recent encode I made sutters slightly on some spots and I thought that might be due to incorrect muxing.
alexnoe
29th April 2004, 06:04
Did you try different versions of ffdshow, especially if you allowed more than one consecutive B-VOP? ffdshow used to be b0rked in this respect, but latest versions don't have that problem.
Chainmax
30th April 2004, 00:28
Well, the stutter was detected by someone else who saw my encode and who already suggested me that the problem could lie in th AVS script. So, you're saying that what I did is ok then?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.