#1  
11-09-2025, 09:13 AM
Greenieman Greenieman is offline
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?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-09-2025, 09:34 AM
Aya_Rei Aya_Rei is offline
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
Reply With Quote
The following users thank Aya_Rei for this useful post: Greenieman (11-09-2025)
  #3  
11-09-2025, 09:44 AM
Greenieman Greenieman is offline
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.
Reply With Quote
  #4  
11-09-2025, 04:55 PM
mts1 mts1 is offline
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?
Reply With Quote
  #5  
11-09-2025, 11:14 PM
Greenieman Greenieman is offline
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.
Reply With Quote
  #6  
11-10-2025, 07:51 AM
mts1 mts1 is offline
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"?
Reply With Quote
  #7  
11-11-2025, 10:11 PM
Greenieman Greenieman is offline
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.
Reply With Quote
  #8  
11-12-2025, 02:20 PM
mts1 mts1 is offline
Free Member
 
Join Date: Oct 2024
Location: Canada
Posts: 106
Thanked 19 Times in 18 Posts
Quote:
Originally Posted by Greenieman View Post
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.
Reply With Quote
  #9  
11-12-2025, 03:14 PM
vwestlife vwestlife is offline
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.
Reply With Quote
  #10  
12-20-2025, 09:19 PM
Greenieman Greenieman is offline
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?
Reply With Quote
  #11  
12-21-2025, 08:46 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 15,476
Thanked 2,834 Times in 2,403 Posts
Quote:
Originally Posted by mts1 View Post
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 View Post
Also, are you THE vwestlife?
Yep.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #12  
12-27-2025, 01:40 PM
Greenieman Greenieman is offline
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.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avidemux vs. Hybrid vs. AviSynth for encoding/deinterlacing? damianiscool Encode, Convert for streaming 3 02-11-2025 08:02 PM
Deinterlacing causes audio sync? Jayce72 General Discussion 17 03-27-2023 12:49 PM
Avisynth+ QTGMC audio out of sync Nik92 Restore, Filter, Improve Quality 11 02-05-2023 08:40 PM
Deinterlacing for video sharing, Avisynth? Closecall Capture, Record, Transfer 19 02-22-2022 12:15 AM
QTGMC How-to: Help deinterlacing with Avisynth Joekster Restore, Filter, Improve Quality 1 12-22-2011 04:27 PM

Thread Tools Search this Thread
Search this Thread:

Advanced Search



 
All times are GMT -5. The time now is 07:24 AM