Log in

View Full Version : Vdub crashes with very slow avs.


Dogway
3rd May 2011, 16:20
My script is VERY slow, but it renders in avspmod, and it doesn't consume much RAM (less than 1Gb). Im trying to compress this to FFV1 codec through Vdub v1.10 but it sudden crashes with a kernel32 error. I think because a buffer or slowness problem.

The script involves tnlmeans and dither mainly and is optimized to max to do only these 2 things. I tried using other codecs and also crashes, so I think its a Vdub thing. I tried to lower the output buffer but I don't know what else to try other than command line ffdshow ffv1 encoder which Im not sure it exists.

This is my Vdub error log.
http://www.mediafire.com/?j58bjqz8ws5atst

poisondeathray
3rd May 2011, 16:25
but it renders in avspmod


if avspmod doesn't crash, you can encode ffv1 through avspmod

or you can separate into stages

Dogway
3rd May 2011, 16:43
you mean tools->save to avi?
nice one!
but:
visual c++ runtime library error

I wonder if I need any special plugin in my avisynth plugin folder
This is already second stage of a larger script, and Im testing with reduced filter chain; only dither and tnlmeans.

edit: I think this might have more to do with dither.dll than anything else, so I will ask the creator...

poisondeathray
3rd May 2011, 17:22
Do some mini tests, remove some filters 1 at a time to narrow down the culprit

Dogway
3rd May 2011, 18:10
edited:
dither creates double height and MT doesn't like changing height so finally I used:
Dither1Pre(flt="""MT("tnlmeans()",2,2)""",stacked=false)
This solved it.
Sorry if finally it became a bit offtopic...

Dogway
3rd May 2011, 18:47
No, it didnt. Im going to post in the proper thread (http://forum.doom9.org/showthread.php?p=1386559)instead to see what's happening.