I am trying to convert an xvid + ac3 file to dvd mpeg2 + ac3
but the resulting dvd play in sync at the beginning but gets progressively out of sync.
I figured it was because of bad frames that virtualdub has detected, but then how come it is the sound that is ahead of the video. I thought with the bad frames would get a video stream ahead of the audio stream. Oddly enough, the audio stream is about 1 second shorter (30 frames) in length than the video
Anyone? Weirdly enough, Mplayer Classic plays the xvid perfectly in sync. Too bad it cannot frameserve...
Here are the different steps I carried out :
- extract ac3 stream from avi with avimux
- convert video stream to mpeg2 (with tmpgenc / tried once direct avi source and once frameserving with virtualdub => same result)
- authored with dvdmaestro
- I have also tried converting the ac3 file to wav and stretching it out to have the same length as the video stream, then encode it back to ac3 and author with that corrected stream : the beginning and end of the film were in perfect sync but then in some parts in the middle, it was out of sync again, and severely
- I have also tried fixing the avi with virtualdub (actually I am not sure whether virtualdub replaces the bad frames or just removes them?) but it doesn't change anything with the new "fixed" avi
- now I will probably try and work with the video stream and the wav stream and hunt one by one each bad frame and cut the whole thing into pieces...
any other idea? how does avisynth handle bad frames ? would it be a better frameserve than virtualdub in that respect ?
Thanks for any help
Jim
+ Reply to Thread
Results 1 to 2 of 2
-
-
for information, this is what I ended up doing :
- decode all ac3 to uncompressed wav
- hunt for bad frames in the avi's (using virtualdub-mp3-freeze)
- cut these bad these frames out
- with the resulting chunks of avi's, check that they have no bad frames and adjust audio interleave so that they are in sync
- with virtualdub recompile all those chunks into one single big avi (with uncompressed wav)
- frameserve this big avi to tmpgenc to encode into an mpeg2 dvd compliant video stream
(I had to frameserve because if when I compressed by opening the avi directly in tmpgenc, the result was jerky in some parts (known divx/xvid issue))
the result was just great and quasi seamless
Similar Threads
-
Protron DVD player PD-007 in Progressive mode How do I reset.
By joe347 in forum DVD & Blu-ray PlayersReplies: 6Last Post: 25th Nov 2013, 20:36 -
Can I Get A Second Opinion? (Bad vid card/freezing)
By Startropic1 in forum ComputerReplies: 7Last Post: 31st Jan 2012, 20:53 -
Mp4 format problem, the vid have a bad quality after i rendered it.
By aisple_aislesz in forum Newbie / General discussionsReplies: 12Last Post: 25th Apr 2011, 10:02 -
Simple Xvid vid will not burn, why?
By capman21 in forum Newbie / General discussionsReplies: 10Last Post: 9th Aug 2008, 20:44 -
Bad audio sync with known good xvid files
By damax452 in forum Software PlayingReplies: 4Last Post: 1st Aug 2008, 16:22