I have a bunch of short AVIs I'm trying to take to MPEG2 (DVD). I encoded each one seperately using the lastest version of tmpgenc. They are not all the same fps so I figured encoding each seperately and joining them would be the way to go. Apparently not! I can't figure out why either. I was using tmpgenc to join the generated MPEG2s. The audio and video stream lengths are not the same length! Is this as issue with my source AVI files perhaps? I was checking them over in vdub and some do not have the same number of audio and video frames. Perhaps when they are encoded to MPEG2 that extra bit of audio stream just keeps getting added to result in major sync problems?! I'm wondering what I can do to fix this. Maybe I should make all of the AVIs 29.970fps and reprocess the audio streams of each one to ensure that they all are the same length, then write up an AVISynth script to add all the AVIs into one big AVS file, then feed tmpgenc that? I'm baffled! If anyone has an idea please let me know! Thanks!!!
+ Reply to Thread
Results 1 to 4 of 4
-
-
I would make wave files of all the videos. Join them in a program like Gold Wave and save them in as a wave file. Then join all the video in TMPGEnc or Virtual Dub. Remultiplex them using TMPGEnc and see if that works.
Hello. -
Well, I tried what you said. I demuxed the MPEG2s to get the video streams. Then I appended the WAVs using Sound Forge into one large WAV and encoded that into an MPEG2 audio stream. The I muxed them together. The sync is much better but I still can notice that its a bit off at the end.
I don't understand how I can append AVIs together and have the audio in sync but when I do the same with an MPEG using Tmpgenc - sync problems.
It looks like now I'm going to have to convert all of my video to 29.970fps (some stuff is at 10fps, some 15fps, so I'll have to dup frames) and use AVISynth to put all the AVIs together (it will ba about 18GB worth), and then encode that.
Here's another question I have. In VDub I check my video and audio lengths and they don't seem to be the same. If you append a bunch of AVIs together in VDub using AVISynth, will it keep the audio locked to the video? Joining MPEGs in Tmpgenc doesn't seem to lock the audio and video. My synch is great in each individual MPEG2 file. Put them together and it's a mess! This is so frusterating! -
Well, I did a test and it looks like the only way to do this right is to append the AVIs together in AVISynth and feed Tmpgenc the script - encode the whole MPEG2 in one shot. That way I believe the audio will be locked to the video. This is going to be a total pain in the butt and if this doesn't work I think I might pull out all of my hair.
Similar Threads
-
joining mp4 files but audio out of sync
By Liselotte in forum Newbie / General discussionsReplies: 2Last Post: 1st Aug 2011, 21:18 -
audio sync problem joining two avi files
By kthan in forum EditingReplies: 11Last Post: 2nd Apr 2011, 12:52 -
Joining .ts files is always a/v out of sync
By PetitDragon in forum DVB / IPTVReplies: 10Last Post: 12th Mar 2011, 12:02 -
Audio out of sync (with over 0.5sec) when joining multiple avi files
By andy_blah in forum Video ConversionReplies: 28Last Post: 10th Aug 2008, 14:55 -
Audio Sync Problem Joining 2 AVI's Together from a 2 DVD Set
By boofer in forum EditingReplies: 6Last Post: 22nd Jul 2007, 01:29