2D to 3D Realtime Video Conversion Script for Avisynth: Need Help

I’ve been trying to convert my movies into 3D using the Avisynth code found here http://3dvision-blog.com/2d-to-3d-realtime-video-conversion-script-for-avisynth-v0-3/. The picture comes out as expected, but either the sound or the video is out of sync (I believe it’s the video). I’ve been spending hours trying to fix this to no avail. If anyone can tell me how to fix this, it would be greatly appreciated. Thanks!