|
11-09-2025, 09:13 AM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
I've been trying to figure out how to use AVISynth for a while now, but my main problem this whole time was that audio wasn't synced up. My workflow is capturing with AmarecTV with Lagarith Lossless Codec, deinterlacing with AVISynth, and capturing and rendering with VirtualDub64.
The script I'm using:
Code:
SetFilterMTMode("QTGMC", 2)
AVISource("nuttybuddy.avi")
ConvertToYV12()
AssumeTFF()
QTGMC(preset="Slower", Edithreads=7)
BilinearResize(720,540)
Prefetch(26)
The audio is in sync for a bit, but then goes out of sync later on. How can I fix this issue, or any others that may be in the script?
|
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
|
|
11-09-2025, 09:34 AM
|
|
Free Member
|
|
Join Date: Jul 2023
Posts: 359
Thanked 111 Times in 95 Posts
|
|
Is the audio in sync for the raw file?
Hm, maybe try to QTGMC code Hushpower gave in this thread
Code:
QTGMC(Preset="Fast", FPSDivisor=1, EdiThreads=2) #FPSDivisor default is 1 gives double framerate; 2 gives orig FR
|
The following users thank Aya_Rei for this useful post:
Greenieman (11-09-2025)
|
|
11-09-2025, 09:44 AM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
|
Yes, in the interlaced version it is, also that didn't seem to change it. Also, I'm not sure if this is it, but the video is being rendered at ~58-60 fps, but the video says it's 59.365 fps? I thought it was supposed to be 59.94 fps.
|
|
11-09-2025, 04:55 PM
|
|
Free Member
|
|
Join Date: Oct 2024
Location: Canada
Posts: 106
Thanked 19 Times in 18 Posts
|
|
Greenieman, how did you know the original file was properly synced?
Did you use VirtualDub to play it back?
|
|
11-09-2025, 11:14 PM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
The original interlaced video was synced and I checked by looking through the video and it always stayed in sync with the audio, the issue starts when I watch the AVISynth preview, and after, when I export using VirtualDub, it is out of sync the same way the AVISynth preview was.
|
|
11-10-2025, 07:51 AM
|
|
Free Member
|
|
Join Date: Oct 2024
Location: Canada
Posts: 106
Thanked 19 Times in 18 Posts
|
|
|
Could you elaborate, what exactly does it mean "checked by looking through the video"?
|
|
11-11-2025, 10:11 PM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
|
The original interlaced video that I got from AmarecTV before trying to deinterlace it with AVISynth, has it's audio in sync the whole time, no matter where in the video, it is in sync. But the deinterlaced version of the footage from AVISynth starts in sync, but gradually becomes out of sync.
|
|
11-12-2025, 02:20 PM
|
|
Free Member
|
|
Join Date: Oct 2024
Location: Canada
Posts: 106
Thanked 19 Times in 18 Posts
|
|
Quote:
Originally Posted by Greenieman
The original interlaced video that I got from AmarecTV before trying to deinterlace it with AVISynth, has it's audio in sync the whole time, no matter where in the video, it is in sync. But the deinterlaced version of the footage from AVISynth starts in sync, but gradually becomes out of sync.
|
Greenieman, how about you try script with just one line:
Code:
AVISource("nuttybuddy.avi")
If the result will be out of sync, then your original capture file is out of sync.
|
|
11-12-2025, 03:14 PM
|
|
Free Member
|
|
Join Date: May 2024
Location: New Jersey, USA
Posts: 192
Thanked 35 Times in 31 Posts
|
|
|
Use MediaInfo to make sure the original file is 29.97 or 59.94 fixed frame rate, not variable frame rate. If it is variable frame rate, then you probably dropped frames during the capture.
|
|
12-20-2025, 09:19 PM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
|
I apologise for the wait, I've been busy, but yeah it says nothing about variable framerate from Mediainfo for the original interlaced file. Also, are you THE vwestlife?
|
|
12-21-2025, 08:46 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 15,476
Thanked 2,834 Times in 2,403 Posts
|
|
Quote:
Originally Posted by mts1
Greenieman, how about you try script with just one line:
Code:
AVISource("nuttybuddy.avi")
If the result will be out of sync, then your original capture file is out of sync.
|
Yes, do this.
Quote:
Originally Posted by Greenieman
Also, are you THE vwestlife?
|
Yep.
|
|
12-27-2025, 01:40 PM
|
|
Free Member
|
|
Join Date: Nov 2025
Posts: 9
Thanked 0 Times in 0 Posts
|
|
I think it's still dropping frames, just in the interlaced version it's less noticable. I haven't tried capturing with VirtualDub yet so I might try that.
|
All times are GMT -5. The time now is 04:23 AM
|