|
|
| jcsston |
| Posted: Nov 21 2002, 11:49 PM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
In my captures using ATI Tv to Mpeg-1 and 2 the sound goes out of sync when I import them into VDub. Now I have fixed this by changing the frame-rate so that the video and audio length match. For example instead of 29.97 the frame rate is about 29.965. My soundcard is a SB AWE 64 ISA (old)
What is causing this?
This doesn't happen in TMPGEnc or when playing the MPEG with WMP or BSPlayer the sound stays in sync.
-------------------- Use the Matroska file format |
 |
| Neo Neko |
| Posted: Nov 22 2002, 12:16 AM |
 |
|

VirtualdubMod Alpha tester
  
Group: Vdubmod Alpha Testing Team
Posts: 474
Member No.: 24
Joined: 11-July 02

|
Because when you capture to MPEG there is an audio delay that is set that you are ignoring. Stretching the frame rate does not fix things. It might also be due to drop frames which Virtualdub can not decode. Feed the file to Virtualdub via Avisynth and make sure to see if there is an audio delay. DVD2AVI can demux the audio stream and lable it with the needed delay. |
 |
| jcsston |
| Posted: Nov 22 2002, 04:06 AM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
I actually do that with MPEG-2, I open up the file in DVD2AVI, Save Project and create a Avisynth script setting the correct delay for the audio, open the avs in VirtualDub and set the framerate to match video to audio length.
I have worked around this problem and the sound stays more or less in sync, but I wish I knew the cause of this problem.
-------------------- Use the Matroska file format |
 |
| jcsston |
| Posted: Nov 22 2002, 04:11 AM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
Also the delay is always -100 to -200ms but it is not the same.
BTW If I drop frames in my MPEG captures and it's more than 1 or 2 frame I use TMPGEnc which does maintain audio sync as long as I copy the avi with VDub to set the correct interleaving.
-------------------- Use the Matroska file format |
 |