Log in

View Full Version : A/V synchro problem


k_nenad
17th November 2005, 13:07
Hi all,

I'm trying to convert an AVI captured AVI from DV camera to DVD. I use TMPGEnc to produce M2V and WAV (48kHz) files. Then I author the DVD with DVD Lab Pro. In the result DVD, there is a progresive de-synchronization between audio and video. After one hour of playback, the audio comes about 1 second before the video. How can I eliminate this problem?

Thanks in advance,
Nenad

freelock7
19th November 2005, 19:39
It sounds like a wrong capture or a bad encoding setting.
1- look at the source (is it DV pal? NTSC?)
2-capture with a 1394 connection with WinDv 1.2.3, type2-AVI (A/V)
3-encode with the correct settings
http://www.doom9.org/index.html?/dv/guide.html

setarip_old
19th November 2005, 20:00
@k_nenad

The first thing to do is determine at what stage of your capturing and/or converting the asynchronous condition is being created:

1) Play the captured .AVI. If it's out of synch:

A) If the difference between audio and video is constant throughout the video:

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub, VirtualDubMod and NanDub) and "Audio" (VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream list") to "Direct Stream Copy".
From the "Audio" dropdown menu, select "Interleaving" (For VirtualDubMOD, rightclick on the listed audiostream and then select "Interleaving")
Under "Audio skew correction", set an appropriate number of milliseconds (positive or negative) in the box labelled "Delay audio track by"
Save with a new filename

B) If the difference increases as the movie plays:

From under the "Video" dropdown menu, select "Framerate" - and select "Change so video and audio durations match"
Save with a new filename


2) Re-set TMPGEnc to save a COMBINED MPEG2 file, instead of a separate .M2V videostream and .WAV audiostream. If the MPEG2 is out of synch:

1) Load it into TMPGEnc

2) Set mode to "MPEG-2Program[VBR]"

3) From under the "Advanced" tab, put a checkmark next to and then double click on "Source Range"

4) Enter an appropriate positive or negative amount of milliseconds (thousandths of a second) next to "Audio gap correct"

5) Save with a new filename

Syrinx
23rd November 2005, 18:26
Hello,

I have a similar problem but with an mpg2-file which goes out of sync progressively. With VirtualDubMod I tried to follow your step 1) B but got the problem that VirtualDubMod cannot save the file in the "Direct Stream Copy" mode. Is there another way to fix this? I got the mpg2 file by the following steps (making a backup of a DVD I own):

decrypt to HD using DVDDecrypter
stripped menus and unwanted features, etc. using DVDShrink and created a new VOB structure (no compression)
used DGIndex to demux
used TMPEnc to reencode the video data

Then I wanted to remux the streams using DVD Architect but I get the progressive delay in the audio. VirtualDubMod tells me (when using your step 1) B)) that the framerate should be 25.002fps (how can that happen?!).

Any suggestions would be greatly appreciated! Since my computer is not the fastest one I would prefer a solution without reencoding the video stream ;)

TIA and best regards, Syrinx.

Syrinx
23rd November 2005, 18:47
Just juggling some numbers:

The difference between 25 fps and 25.002 fps results in a delay of 806 ms at the end of the movie which is about what I would have estimated. So is there a way to sort of "set" the fps to a different value in an mpg2 file?

TIA and regards, Syrinx