I used Virtualdub to extract audio as a wave then I loaded my movie in Tmpeg and used the wave as the source audio.
Everything syncs fine until about 10 minutes into the movie -- until there is about 2 seconds of bad frames (a distorted and blocky section in the source file) - after that the sound becomes out of sync by a few seconds for the rest of the movie.
I tried to correct this by editng out those few seconds of bad frames in TMPEG prior to encoding, but it seems to just remove the video frames and not the audio -- so it doesnt match up.
Next I tried setting the source not to even begin the encoding until imeadiatly after the bad frames - but it still wont sync.
Apparently, it seems, if a wave is being used as the audio source, any frames that are edited out using TMPEG do not remove the wave stream of the section along with it???
I have been able to fix files like this as long as I am not using a seperate wav for audio by just cutting out the flawed frames.. but this divx file requires that I extract audio as wave.
I did try to find the remedy in the FAQ and by forum search before posting this.. maybe I'm not searching right, but I can not find the answer
+ Reply to Thread
Results 1 to 3 of 3
-
-
.. but this divx file requires that I extract audio as wave.
In virtualdub, save out the wav file as uncompressed PCM.
Still in virtualdub select video->direct stream copy, Audio->wav audio and select your newly save wav file. Then file->sav as avi and save out a new copy of your avi with uncompressed audio. Play this to make sure it is not out of sync. If it is ok then encode.
If you still have sync problems try replacing the first step by extracting the audio to uncompressed PCM using goldwave.
Hope this helps -
Bugster, I tried following your steps (yes it had vbr audio), but I got the same problem...
And then I tried playing the original file agian - and it was out of sync after the flawed portion after all. The strange thing is that I feel certain - in fact I know - that I had played several portions of the orginal avi before converting and it synced fine several days ago.. very odd.
Anyway, what I ended up doing is encoded the first part up to the point which was in sync, and then encoded the portion after that separately and offset the audio by -900 in the source (under the advance tab in TMPEG), then I used merge and cut to put them back together.
The final resulting file played correctly on my stand alone.
Similar Threads
-
VirtualDub sync problem - Newbie question
By BobAchgill in forum Newbie / General discussionsReplies: 5Last Post: 10th Aug 2010, 15:58 -
Audio - Video Sync Problem - VirtualDub
By cyberlion in forum EditingReplies: 13Last Post: 16th Jul 2010, 07:51 -
VirtualDub Filter for problem with "Horizontal Sync Issues"?
By lonerzzz in forum RestorationReplies: 6Last Post: 6th Apr 2009, 17:29 -
Problem with Append AVI in VirtualDub - Audio of Sync - How Fix?
By Chakra in forum Newbie / General discussionsReplies: 3Last Post: 6th Aug 2008, 18:00 -
problem with divx with newer virtualdub and virtualdub mod
By goingape in forum Newbie / General discussionsReplies: 9Last Post: 26th Mar 2008, 17:08