View Full Version : AVISynth scripts locking up?
Doc Sane
31st January 2004, 05:29
Okay, what would cause AVISynth scripts to suddenly not work? I can load them into Cinemacraft Encoder and they'll work fine, but TMPGenc reports that it can't open them up and Procoder will process the first few frames and then freeze on it. An attempt to open one in Media Player Classic got me a divide by zero error. This stuff USED to work! What could be the problem?
Yuuhi
31st January 2004, 10:37
Don't know what's wrong, but have you tried uninstalling AviSynth and reinstall again?
Wilbert
31st January 2004, 15:02
Reinstalling huffyuv (for yuy2->rgb) and xvid (for yv12->rgb) might help.
If that doesn't help (see yv12faq Q13) and add
"VIDC.YV12"="xvid.dll"
"VIDC.YUY2"="huffyuv.dll"
to your registry file. For xvid 1.0 you need to use
"VIDC.YV12"="xvidvfw.dll"
instead.
Doc Sane
31st January 2004, 20:57
I tried un/reinstalling AVISynth and tried the registry tweaks. The weird thing about my problem is that TMPGenc loads the AVS files just fine, but only complains when I try to encode it. It's not the usual problem of choking when you try loading. As I said, they play through Zoom Player and Media Player, and they load into Virtualdub without a hiccup. They even load and encode in CCE. They just have problems in TMPGenc and Procoder.
jbeale
4th September 2004, 22:35
I'm using AviSynth 2.54 (build:Jan 26 2004) on Windows XP.
(Update: just tried 2.55 (Sept. 1 2004); it has the same issue).
I have a NTSC DV video (720x480) and an Avisynth script which
simply opens the file and does nothing else:
AVISource("C:\test.avi")
My script files always open and play fine in Virtual Dub 1.5.10 and they also encode fine with MainConcept 1.04.02 and CCE Basic 2.67.01.19. But there is a problem with Media Player Classic 6.4.7.1, TMPGEnc Plus 2.521 and Canopus Procoder Express. Each of these programs exhibit different problems with the AVS file (but they all work OK with the original DV-format AVI.)
The video is about 48 minutes: Virtual Dub shows the file to be 86723 frames long (0:48:13:657). But TMPGEnc seems to truncate it: in the TMPGEnc Preview it claims the file is only 2638 frames (1 min. 28 seconds).
When I try to play the scripts in Media Player or Procoder Express I get an error like this:
Avisynth: caught an access violation at 0x011b2596,
attempting to write to 0x05879ac0
Interestingly I do NOT get this error when I use the preview window in Procoder Express to skip around anywhere in the file. Only when I actually start to encode to I get the error. Media Player has the opposite behavior: when I play the AVS file "straight through" in Media Player there is no error, but it crashes when I use the scroll bar to skip around.
What is going on here?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.