PDA

View Full Version : Joining two AVI files with AC3 audio


aLuZINK
27th May 2005, 16:55
Hi, first of all i'd apologize if i post this one at the wrong place or if someone has already asked the similar question..

i have this film compressed into 2 avi files, which are coded by XviD and the audio format is AC3. i want to join these 2 files into one with VirtualDub. the problem with the joined AVI file is at the point the content of the second file begins, the audio suddenly dropped to almost silence. if i drag the progress bar to any later part of the movie, the audio are again fine. i guess it could be the header problem or something, but i just have no clue how to deal with it... it would be GREAT if i could get some help here, i thank you in advance!

Paulcat
30th May 2005, 22:23
You can turn both avi files into matroska files, and join them no problem with MKVToolnix. And then extract to create a single avi after. Works pretty fast too

aLuZINK
31st May 2005, 09:46
eh.. i've never experienced mkv format before.. guess i'll have to learn first. but i'd ask, won't this method damage the quality of the video? or mkv is a no-damage codec... anyways off i learn, and thanks for the tip!

stephanV
31st May 2005, 10:14
no need for matroska...

perhaps joining with AVImux GUI or VirtualDubMod is a better idea. Vanilla VirtualDub does not really support ac3.

vav
31st May 2005, 12:24
Hi, first of all i'd apologize if i post this one at the wrong place or if someone has already asked the similar question..

i have this film compressed into 2 avi files, which are coded by XviD and the audio format is AC3. i want to join these 2 files into one with VirtualDub. the problem with the joined AVI file is at the point the content of the second file begins, the audio suddenly dropped to almost silence. if i drag the progress bar to any later part of the movie, the audio are again fine. i guess it could be the header problem or something, but i just have no clue how to deal with it... it would be GREAT if i could get some help here, i thank you in advance!

maybe demux the (joined) ac3 file, run it thru ac3fix (search for that util) and then remux with vdubmod. That should 'clean' the wrong header caused by the joint procedure.

Paulcat
31st May 2005, 13:06
eh.. i've never experienced mkv format before.. guess i'll have to learn first. but i'd ask, won't this method damage the quality of the video? or mkv is a no-damage codec... anyways off i learn, and thanks for the tip!

AVI and MATROSKA are both "containers", the actual mpeg4 video and ac3 audio would be unchanged, just moved to a new container. Matroska can also contain subtitles, chapters and other stuff that Avi cannot. I have found it handy to join files, try it if your other methods do not work. Look for MKVToolnix and MKV Extract GUI. Actually, if you are interested, you can try it anyways, just to learn a bit more...

yaz
31st May 2005, 13:14
@aluzink
if the parts are ok, avimuxgui will perfectly join them. check that 1st. while loading the parts into avimuxgui, it checks them so u will see whether they are ok ;) if not, pls, report the problem.
the bests
y

aLuZINK
1st June 2005, 14:49
you guys are great!! thanks a lot!

actually before posted my question i had tried Nandub and aviMUX but they didn't work.

this ac3fix is the exact right thing for me! it deleted the false header and now i have joined the two parts with no more problem!

vav
1st June 2005, 21:39
this ac3fix is the exact right thing for me! it deleted the false header and now i have joined the two parts with no more problem!

glad to be of help ;)

El Enmascarado
23rd June 2005, 09:38
AVI and MATROSKA are both "containers", the actual mpeg4 video and ac3 audio would be unchanged, just moved to a new container. Matroska can also contain subtitles, chapters and other stuff that Avi cannot. I have found it handy to join files, try it if your other methods do not work. Look for MKVToolnix and MKV Extract GUI. Actually, if you are interested, you can try it anyways, just to learn a bit more...
Do u mean to tell me that you can move the video and frame it into another extension? if so how is it done? don't u still have to recompress it in mkv codec?

stephanV
23rd June 2005, 10:34
Matroska is not a codec, neither is AVI. They are bot encapsulation methods for holding encoded (or uncompressed) streams, like mpeg4, ac3, mp3, etc.

If you change the container by remuxing, the encoded streams stay unchanged.

Paulcat
23rd June 2005, 15:28
And Matroska has the benefit of being able to do it and use up slightly less space on your HD than an AVI. Having subtitles included is also a nice touch.