View Full Version : Appending MPEG
PkmoNk
10th March 2003, 04:08
Is there a way to open a mpeg, then append another mpg and encode them into 1 avi file?
:confused:
TelemachusMH
10th March 2003, 06:43
VirtualDub does not have the ability to append mpeg movies. You might be able to use VirtualDubMod's "Open Via AviSynth", but I wasn't able to specify a fps to use so it didn't work, but you can create an avisynth script like this and open them in VirtualDub:
DirectShowSource("First movie.mpg" + "Second movie.mpg", 29.97)
TelemachusMH
Belgabor
10th March 2003, 12:39
TelemachusMH: You can either create a modified DirectShowSource Template with the FPS you want or edit the script afterwards in the editor (if you call the editor with an avs opened as video it will be automatically shown in the editor)
PkmoNk: What could work is byte copying the mpegs togehter (copy /b a.mpg+b.mpg ab.mpg) and use that. The result is not really a valid mpeg stream but it usually plays fine, dunno if vdub likes it though.
Cheers
N_F
10th March 2003, 13:05
TMPGEnc can usually help you join mpeg files. After that you can just open that single file in VDub(mod)
PkmoNk
12th March 2003, 01:32
I see... I don't like avisynth. hehe. But I'll try the appending by byte. thanks.
PkmoNk
13th March 2003, 22:12
Ok, new problem:
I have combined the two parts into one. The sync is fine, but when I encoded into XviD, the resolution changes (resizes itself) and the sync is off a bit nearing the end(its gradual sync). Anyone know the problem? If you need a clip, reply or email me.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.