Log in

View Full Version : Combining AVI


Rod
3rd February 2006, 04:14
I am trying to combine several 30 minute AVI old tv shows to be able to create a 2 hour version that I can convert and put it on a DVD using DVD2SVCD. I tried opening VirtualDub on the first clip then when I tried to use Append on the second file, I received an error message "The audio streams have different sampling rates (16923.00000 vs. 16921.00000)"
WMP calls it an MPEG Layer 3,
I tried GSpot, which identified it as an Xvid with MPEG 1 Layer 3 Audio
Any suggestions?

varunb
3rd February 2006, 06:45
You should try TMPGEnc 3.0 Xpress. It can combine AVIs perfectly even if the individual avi have different streams. For more info keep replying.

Mr_Odwin
3rd February 2006, 11:30
With Virtualdub you could use directstreamcopy on the video side of the files and convert the audio sampling rate to 48000Hz (DVD standard) by putting audio in full processing mode and using conversion. (I would leave the compression as 'No Compression' too.) If you do this on both files (and save as avi) you'll get two new files with compatible audio and then you may be able to append.

Rod
4th February 2006, 00:11
Thank you to both responders. I do not have TMPGEnc as I am working with public software Quenc. Could you be a little more explicit on the VirtualDub directions. I want to combine 4 30 minute episodes to make a 2 hour DVD.

kotrtim
4th February 2006, 04:13
open each video files seperately

then for each file
video -> Direct Stream Copy

Audio -> Full Processing Mode ->
Compression -> <No Compression (PCM)>
Use Advanced Filtering

You will see a pop up windows "Audio Filters"
choose "add"
find "resample"
Configure "resample"
Target frequency "48000"

Pls only do this if you have enough space, 2 hrs of PCM audio takes ~2GB
Of course PCM is the best way to avoid lost. Besides, if the mp3 is 48 khz already, then you can skip the audio filters

Furthermore, after you joint the 4 avi files, check randomly to see whether the audio is in sync, especially the last part, mp3 always append silence at the beginning and at the end of the file something like 100-200 ms per file, after you joint 4 avi, the last avi might have audio delay for 800ms and it is long enough to be noticible

I don't know what the source is like but if you can spend more time, use virtualdubmod instead, demux all the mp3, convert the mp3 using an audio converter to PCM 48khz wav,

http://www.dbpoweramp.com/

and apply silence remover filter, and then again use virtualdubmod, mux one by one back to the video, and then finally joint them

Rod
6th February 2006, 20:14
Thank you,
I tried VirtualDub but it can only append one AVI at a time as far as I can tell.
I was successful in using AVI-Mux GUI with 4 files at once which also did not shift the audio. Took a little adjusting of the settings but have now successfully made 2 DVDs.