View Full Version : Sync Problems
donjuan03
7th January 2006, 23:00
I just recently formatted and reinstalled XP w/ sp2 and so one of the first things I put on was AVISynth (2.56) and I installed xvid ( koepi's build). So I open up some of my old scripts which were very simple. SUch as AVISource("movie.avi") and if I skip around the audio is out of sync. So I figured I was missing a codec or something so I installed the KLIte latest one and no luck so I tried an earlier version of AVISynth (2.55 and other 2.56 RC2) with no luck. Ive been trying stuff for a while now with no luck. Now I dont understand why this is happening. because the avis all play fine outside of the script. I think directshowsource works fine but I am stumped why AVISource is desyncing the audio. I tried using assumefps just to screw with stuff to no avail.
any help would be appreciated.
Greetings,
Dan
Pookie
7th January 2006, 23:06
Just a guess, but perhaps you need a DirectX upgrade?
donjuan03
7th January 2006, 23:56
Just a guess, but perhaps you need a DirectX upgrade?
Thanks for the idea but no luck...
donjuan03
8th January 2006, 00:27
Oh it only becomes out of sync when I start seeking to random places. And I am seriously out of ideas, so anything would be much appreciated if feel :stupid:.
So i added
EnsureVBRMP3Sync() and it stays in sync when I seek now, but I dont remember having to do that before is there anyway i can change which directshow mp3 filter is used Im kinda new to all of this
foxyshadis
8th January 2006, 00:48
AVISource never uses directshow, they're totally different. You must have had a vfw codec decoding mp3s that would keep vbr sync, whereas the generic windows one doesn't.
donjuan03
8th January 2006, 01:24
AVISource never uses directshow, they're totally different. You must have had a vfw codec decoding mp3s that would keep vbr sync, whereas the generic windows one doesn't.
Thanks I am learning more and more I guess that is just common sense, so EnsureVBRMP3Sync() makes it sooo slow, so what do you suggest I do or at least point me to some information. Because the video works fine if I run it by itself and then if i just put it in a script it becomes out of sync if i seek.
donjuan03
8th January 2006, 11:12
You must have had a vfw codec decoding mp3s that would keep vbr sync, whereas the generic windows one doesn't.
So how do I tell AVISynth to use this codec and where can I possibly find it... any help would be appreciated. :o
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.