PDA

View Full Version : Video dont sync with audio after encode with TMPG


AR3A51
23rd September 2003, 05:09
TMPG is so evil! This is the second movie it has done this to me. I spent 8 hours doing this (almost) PERFECT quality movie and after the first 20 seconds, you notice a bad sync. The sync happens suddenly there was a flash of almost like "bad cut" or "blocky" in the video but only for like a few frames. In the original I found no flaws in the Video file and when I compare the playing of both audio and video separately I found no problem (there was only like 1 second at the most off) but in the mpeg it was like 10 seconds delayed. Could there be a problem with TMPG, which maybe cut of audio I dont know about so it seems faster than my video? This is very annoying and I want to get it fixed fast! I have lots to do with this movie like learn how to use subtitles and learn how to make a VCD menu. I will be hanging out where I spose to be, the newbies section and holler back at my threads. Please list any possiblity of why this is, what programs would better fit Xvid to Mpeg or maybe whats the easier way to fix the problem.

echooff
23rd September 2003, 17:56
What format is the source. Just a guess but, if it is in a avi container use virtualdub to find the corrupt spot, cut it out, rejion the file then re-encode in tmpg. More info = more support.:D

AR3A51
24th September 2003, 07:23
I'm not sure if its corrupt but now I have a different situation. It looks like the picture pause for at lease 2 seconds so the audio is only 2 seconds ahead. So the video pause for 2 seconds but audio go as normal. This created a 2 second gap. Can I somehow smooth this? I use subtitle and avi together when saving avi with vdub.

echooff
24th September 2003, 16:21
Does this happen at the same place every time. I had this happen with a movie I ripped from dvd once. You say this is avi? Take a good look at the section of video where the pause happens in VirtualDub. I'm guessing you have a frame or 2 that is currupt. VirtualDub will usually give a read error and stop processing the video. If you have a currupt section go back to the nearest keyframe prior to the place and mark it as the end frame. Jump back to the beginning and mark it as the start frame. Make sure video and audio is set for direct stream processing, go to file and save it as avi. Give it a unique name. Repeat for the part after the disruption. Remember to cut only on a keyframe. You can join the by loading the first part and then going to file-append. Hope this helps. Tmpgenc will not usually be able to process currupted portions of a video and keep it in sync. If the corruption is minor it sometimes will but you never know until you try. Correcting a mpg file with this problem is a little more difficult but you don't have to re-encode the whole thing. Find your currupt spot in tmpgenc tools cut/join tab. mark and cut like you would in VDub. Demux the second half. Load the video into VirtualDubMod. Use BeSweet to transcode the audio to wave. Load the wav into VirtualDubMod also. Use the interleave option to adjust the audio delay. Go back to your mp2 file and rename it to mpa. Go to BeSweet load the mpa and transcode it to mp2 entering the delay in the appropriate place in the BeSweet Gui. If you intend to rejoin the mpg you will have to append silence or remove some audio depending on the delay in a audio editing app. If you are putting it on a Dvd don't worry about that and just load the two halves into Tmpg DvdAuthor and you won't notice anything on playback. As a side note: If there is a hard way to do something I'll figure it out. I'm sure there is a easier way to do this. Maybe someone else can't shed some light on this subject.