Log in

View Full Version : Avisynth sync problem


MaskerT
27th August 2005, 16:25
Had an audio sync problem using avisynth. :(

Tools used:
Avisynth 2.08
Vobsub 2.23
Mainconecpt MPEG encoder 1.04

Simply using avisynth to add subtitle to my avi with Vobsub plugin.

Avisynth Script used:
LoadPlugin("c:\windows\system32\vobsub.dll")
AVISource("d:\Movie.avi")
VobSub("d:\Movie")
Frameserved avi to Mainconcept encoder to encode a DVD mpeg-2 file.
After the mpg file created, the audio was found seriously out of sync.
(NOTE: Same problem existed if open the avs file directly with WMP.)

Dont know why this happened? :confused: Been searching for a solution a while.
Any suggestion or assistance will be appreciated. :stupid:

Guest
27th August 2005, 18:58
What happens if you do the same process but omit VobSub?

mg262
27th August 2005, 19:12
Add to that: you're using a very old version of AVISynth... independently of the problems you report I would recommend upgrading to the latest stable version (or latest beta if you prefer). I don't know if VobSub is a plug-in designed for version 2.0... most such plug-ins can be loaded in version 2.5 using LoadPluginEx2.

MaskerT
27th August 2005, 22:26
Yah...same thing happened even if I excluded Vobsub from my script. The problem is probably on the avisynth I installed. I shall try the latest version as suggested to see what happen. Thanks guys. :cool:

Note: For some reason, I thought the version of Avisynth I am using (v2.0.8) is the latest. Probably because it was the first one listed in the download section of the official avisynth website.... :o Oh...well.....

MaskerT
27th August 2005, 22:49
Well......somthing screwed here on my computer. I installed the latest 2.5.6 Beta version and same thing happened. Can anybody tell me what's going on here. :eek:

Guest
27th August 2005, 23:22
Is Movie.avi in sync when played directly?

MaskerT
28th August 2005, 00:43
Is Movie.avi in sync when played directly?Yes. It is. Everything is fine till going thru avisynth.

Axed
28th August 2005, 00:46
What happens if you use DirectShowSource(movie.avi) instead of AviSource() ?

hartford
28th August 2005, 01:55
If the audio sample rate or the video framerate was off spec, then I would expect the sync problem.

But what I don't get is playing the avi via Avisynth to WMP and getting the sync problem. WMP shouldn't care.

Perhaps try Avisynth v2.55? I had a problem with 2.56 (can't remember just what).

Weird.

Mug Funky
28th August 2005, 03:19
oh, can i try one? is the audio VBR? is there a delay that maybe isn't being compensated when it loads into avisynth (you should be able to tell in virtualdub).