View Full Version : out of sync avi problem.
I am a newbie and have so far backed up 10 or so VHS tapes of my kids to DVD.
I am using a Leadtek Winfast TV2000 XP card to capture and have had the same problem twice now with the sound stopping 20 - 30seconds before the video on the initial .avi file.
Any ideas what I am doing wrong?
Does nobody have any ideas? Or is this a dumb question?
I am a relative newbie at capture but msut be missing something obvious.
Checked the avi in V.Dub and results were:
Video - 1.28.32.52
Audio - 1.28.07.06
Anyone?
Boulder
8th May 2004, 12:57
What program did you use to capture?
WinFast PVR. (comes with the TV Card).
Boulder
8th May 2004, 14:09
Try VirtualVCR, I'm not 100% sure but it should work with your card. I've never had any problems with it, just make sure to enable dynamic audio resampling to keep the a/v sync.
http://virtualvcr.sourceforge.net/
hartford
8th May 2004, 15:52
I use the same card and use the same program. Here's what I do:
- Set the Audio Stream to be the Master stream.
- Record your avi.
- Use a line similar to this in AviSynth:
AviSource("d:\MyMovie.avi").ConvertToYUY2(interlaced=true).AssumeFPS(29.970,True)
This will set the video framerate to 29.970 fps and will resample the audio
in order to keep it synced.
- In VirtualDub, "Save Wav" and run it through BeSweet, SSRC.
Setsample rate to 48000, 2 pass, Normalize, then Convert Wav.
Works for me.
If you check consecutive recordings, you'll see that this card rarely records
exactly at 29.970.
I could not get VirtualVCR to work well with this card.
Thanks Hartford, interesting you mention the fps being 29.970 as the default,(greyed out) setting in the PVR proggie is 25. This using Huffy btw.
I follow what you are doing and will see if this corrects the problem.
hartford
9th May 2004, 04:17
Well, hold on a bit.
I was under the assuption that you were doing NTSC.
Is this correct? Or are you doing PAL?
My "thing" is NTSC. PAL is not my "bag."
PAL would change things, and I'm not exprienced enough to
know how.
All bets off if you're doing PAL.
Although, the technique should be similar.
I do NTSC captures using Huffy.
Sorry, I should have clarified. Yes PAL it is.
hartford
11th May 2004, 01:01
Ok, then the AviSynth line should be
AviSource("d:\MyMovie.avi").ConvertToYUY2(interlaced=true).AssumeFPS(25.0,True)
This will resample the PCM WAV audio.
Since PAL can use different audio formats, the proper rate is what
ever you decide to use, ie, PCM, MP2, etc.
The method is still the same; you just need to "adapt" it.
I hope that this hasn't confused you.
Hmm...
A 20 minute recording should show whether this will work for you.
Set in Leadtek PVR the Audio Stream as Master.
Set Audio Codec to PCM. Pick your rate.
Record.
Use the AviSynth line above and open the file in VirtualDub.
The video should be at 25.0 fps; the audio will be different
from what you originally set.
Save the WAV and convert it using BeSweet to the desired rate.
Now make a new AVS file:
AviSource("d:\MyMovie.avi")
WavSource("d:\MyMovie.wav")
Open this file in VirtualDub. Look at the file properties.
The lengths of the video and audio should be darn near exactly
the same.
Davi0
11th May 2004, 12:42
Ok Hartford, off to try settings. Thanks for your effort.
hartford
15th May 2004, 04:36
Wondering how this worked out.
It's important to me.
[edit]
I guess that I should add this.
I don't know your situation because I don't do PAL.
I can tell you this:
For the Leadtek card, almost any driver version will work.
The particular PVR, if you are using it, has various bugs.
Version 40102 will start capture, but often will prematurely
end it. It does not blend fields. If you are doing
ITVC, this is good.
Version 31216 is what I use. It blends fields. Don't bother
trying to ITVC with this version; it is hopeless. It's biggest
bug is that it should be running if you want to record a scheduled
video; it has difficulty "waking-up." It also has a minor bug
when you "edit" a scheduled program: you must check that the start
and end dates are correct.
[edit2]
Version 40102 seems to make the fps higher which leads to AviSynth
resampling below spec. This leads to the problem in that BeSweet
can not "upsample," ie, if the result is that 48000 audio is
resampled to 47990. Perhaps the latest beta using "soundtouch"
can be used; haven't tried it.
Version 31216 consistantly clocks under the chosen FPS, at least
for NTSC, which means that AviSynth can resample above spec, and
then can be corrected using BeSweet.
<sigh> Make sense?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.