View Full Version : Intermittent failure - AVISynth 2.0.7 -> TMPGEnc 2.53
psantucc
9th April 2003, 14:51
Here's a spooky one -
I'm frameserving a segmented AVI to TMPGEnc. Been doing it for some time now; same one-line script just jams all the segments and puts them out to an .AVS so TMPEGEnc can use them.
I have just switched to WinXP, and of course needed to reinstall all my tools. I've got readavs.dll properly installed and registered, and can only *sometimes* read the .avs!
About every third attempt (literally re-selecting the same source file) succeeds; others fail with the "unsupported or not recognized" error.
This plays merry hob with batch encodes and cropping, as you can imagine.
Any ideas where to start trying to troubleshoot this?
Thanks,
Pat
DDogg
9th April 2003, 15:56
I wonder if that isn't that old priority bug. Did you remember to move the priority up a couple of notches on the Avisynth/VirtualDub script reader? (Environmental settings > VFAPI-Plugin Tab)
psantucc
9th April 2003, 16:00
The priority is set at 0; I tried to increse it (right click 'increment priority'), but there was no response. Should I move some others into negative territory?
Pat
DDogg
9th April 2003, 16:31
I tried to increse it (right click 'increment priority'), but there was no response
I don't understand why there would be no response to the right click priority change as I can bump it up and down on my end. It just needs to have a higher priority than the others, so, and I am guessing now, you could bump the others down. Try it at least.
sh0dan
9th April 2003, 18:35
Putting ConvertToRGB24() at the end of your script usually solves these kind of problems.
DDogg
10th April 2003, 03:35
I think that is for the illegal stream error. To the best of my knowledge, TMPG will never open a file with this error until the converttorgb() statement is added. The error he mentioned above is different. It is intermittent and sounds like the old readavs priority issue. Maybe not.
BTW, TMPG can open YUV2, at least on my machine but I think I did the registry thing setting yuv2 to be handled by huffy. Anybody know if TMPG is actually taking YUV2 or is it being tranlated by the huffy dll? I wonder which is faster, the rgb24 of yuv2(maybe translated)? Maybe I'll do some tests.
Wilbert
10th April 2003, 10:11
It is converted to RGB24 by Huffyuv.
DDogg
10th April 2003, 14:13
Thanks, Wilbert.
psantucc
10th April 2003, 14:54
Thanks for the tips, folks-
I have been able to increment the priority of ReadAVS (stupid user error; I'd been right clicking on the value, not the label!) and with the priority set to 3 and ConvertToRGB24() at the end of the script I still fail about 1 attempt in 4.
The error, though, is an 'Unrecognized Exception' from AVISynth - I'm starting to think that it may be a failure in AVISynth itself rather than TMPGEnc, since video (the error message) does appear in the TMPGEnc preview.
Any further thoughts?
Thanks,
Pat
Wilbert
10th April 2003, 15:00
What is your exact script?
psantucc
10th April 2003, 15:40
SegmentedAVISource("Z:\CAPTURE.AVI")
ConvertToRGB24()
The Unrecognized Exception is listed for line 1.
Pat
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.