Log in

View Full Version : Really annoying problem with vdub/xvid/avs


dilly
21st August 2003, 21:24
I'm stumped, I cannot figure it out. I'm posting here because I don't know how friendly the virtualdub/avisynth/xvid forums would be to an outsider like me ;)

I've been doing captures for a good six months, and for the last two I've endured this error numerous times.

When finished encoding an AVS file to a XviD-1st-pass .avi, VirtualDub (using the P4 version) likes to go to 0.0fps, and just count time forever. I must terminate the job, then VirtualDub crashes. If I do it from job control, the job will finish and VDub vanishes. Output files are usable but this prevents me from being able to do batch encodes, I must manually stop them every time.

Example avs script:


LoadPlugin("LoadPluginEx2.dll")
LoadPlugin("Decomb.dll")
LoadPlugin("DustV5.dll")
AviSource("d:\bleh.avi")
Trim(2280,12362)
Telecide()
Decimate(cycle=5)
PixieDust(5)
BicubicResize(512,384)
ColorYUY2(levels="TV->PC")


I've tried taking things out of the script, running it bare-bones, but the problem still occurs. What's funny about it is that if I encode to a huffyUV file (pointless, but faster than xvid for sample-tests) it doesn't happen. Nothing short of taking avisynth out entirely helps it to work with XviD. To add insult to injury, I formatted about a month ago for some unrelated reasons, thinking this would solve all my problems, but alas it still exists even with fresh copies of everything.

Anyone that can help?

jggimi
21st August 2003, 21:45
The following reply is only my opinion of how to proceed. Please accept it as it was given.

From your post, it may be difficult to determine what might be the root cause. Your problem may be related to the Vdub version, the AviSynth version, the XviD version, the colorspace, or other reasons.

The codec receives what should appear to be uncompressed video from your AviSynth script. And if HuffYUV completes but XviD hangs, then I'd cobble together a sample excerpt of your source avi, the simplest .avs script possible that has the problem, and ask folks who compress with XviD to see if they can recreate your problem. And I'd try this as a request in the XviD forum, pointing to your sample .avi, and listing the small avs script, and listing of the releases of Vdub, AviSynth, XviD, and the like.

If everyone can do it without problems, then it may be something misconfigured or installed incorrectly, or some other localized problem. If some do and some don't, you might be able to narrow it down to the specific failing software component(s).

Asking people to see if they can recreate your problem does not cast aspersions on any developer's product. There are many interactions between many different software components to produce the final output, and there's no telling, at this point, what component or what integration aspect is misbehaving.

Joe_Bloggs
22nd August 2003, 13:15
@dilly
I suggest you find out what version of AviSynth,Virtualdub,Xvid and head on over to the Avisynth forum at Doom9
http://forum.doom9.org/forumdisplay.php?s=&forumid=33

Why do you think you are an outsider? Do you live in a tent?