PDA

View Full Version : A/V Sychro problem after encoding


morpheusgr
11th March 2005, 18:38
I've captured a 3hour and 24 min video (live concert) with my leadtek winfast 2000 (BT878) Analog TV Card using the leadtek PVR Program and encoded it to MPEG2 video at 6000KBps bitrate and MP2 audio at 224 Bitrate. The result is reasonably good quality, considering that the TV signal isn't perfect in the first place.
BUT, some frames have been dropped, arouf 100 aw the video is about 4 seconds shorter than the audio (PAL 25fps). The resulting mpg file is 12GB and plays ok in Winamp or WMP, with good A/V synchronization. I re-encoded the video using CCE, and the audio to AC3 using AC3 machine and scenarist's AC3 encoder (tried both- always had to resample 44-->48kHz) and always had wrong A/V synchronization especially near the end of the clip. I shrinked the audio to the video's length using Adobe Auditions (Ac3 machine refused to shrink by changing the framerate beyond a certain percentage) and recompiled the DVD (tried Scenarist and Ifoedit) and although the AV Sync is correct very near the end of the clip, in thw middle it is still wrong. The difference is less than before shrinking but are random ie the video is not constantly delayed or the other way around, obviously because the frame drop rate wasnt constant.

MY QUESTION is that since the mpg file plays ok as is (Winamp, WMP) why after reencoding I lose A/V sync?

Is there any way i can make a correctly synced 4.7G video (DVD or Divx) to fit in a DVDR?

Tried to open the file with Xmpeg to Xvid it, but it crashes (common problem with Xmpeg i read)
Tried to make an avs script but audio playback stops after 1 minute or 2 so i cant check if by making an avs script the A/V sync is preserved (it is always ok at the start)

Thinking about extracting the audio with winamps disk writer plugin but i dont know if the audio is synced to audio or the other way around.

ANY help welcome please!

Boulder
11th March 2005, 21:44
Post your script.

Did you use DGIndex to create a d2v project and demux the audio track?

morpheusgr
12th March 2005, 11:51
The original script is
MPEG2Source("1.d2v",idct=7).ConvertToYUY2().PeachSmoother(NoiseReduction=50)
the d2v was created with DGIndex 1.2.1
Last night i modified the original script replacing MPEG2Source with directshowsource. Now virtualdub finds about 120 more frames in the script so i suppose directshow replace droppped frames by duplicating the previous ones or something, so that the a/v sync doesnt gets affected. I will compile the DVD with the audio in its original length and post results soon. I hope it will work!

EDIT: Didn't work. The problem desyncronization maybe even worse now

Boulder
12th March 2005, 14:22
Try playing around with tools like ProjectX or PVAStrumento. They might have a fix for the issue.

morpheusgr
12th March 2005, 20:35
Never mind, i burned the DVD already. I can't lose another day with it.
Thanks for the help m8