Log in

View Full Version : large number of clips -> AVS Error:couldn't locate a decompressor


haunand
24th February 2006, 23:33
Dear list members,

I've got a problem with an Avisynth Script (using Avisynth version 2.55).
The script looks like this:
---------------------------------------------------------
clip1=AVISource("scene-2006010914.23.04.avi")
clip2=AVISource("scene-2006010914.23.37.avi")
...
# next line "crashes" avisynth if comment is removed
# clip76=AVISource("scene-2006010919.45.46.avi")


film=clip1 + clip2 + ...... clip75
---------------------------------------------------------

If I remove the comment on the line with "clip76=...",
Avisynth displays:

AVISource: couldn't locate a decompressor for fourcc dvsd
( .....\xxx.avs, line 81)


All clips have the same format.
The problem is not the file of clip76, I replaced it with a copy of
file mentioned in clip1.
As soon as the number of files I specify with
clip1=AVISource("...
exceeds 75, I'm getting the error message.

Note that I don't concatenate clip76 to the final film clip.
It seems that merely opening an additional file causes the error,
seems there is some "magic" limit of open files...

I tried different sizes for SetMemoryMax too (256,512)- without success.
The files were all taken from my camcorder. Avisynth has no problems
with any file if I'm using only a few of them in combination.

OS: Windows XP Professional Edition, Service Pack 2
Machine: 1 GB RAM, AMD Athlon64 2,2GHz

Any ideas?

Thanks in advance

Andreas

foxyshadis
24th February 2006, 23:36
http://forum.doom9.org/showthread.php?t=103256

This might give you a workaround.

haunand
25th February 2006, 00:01
Dear foxyshadis,
thank you for your quick response and your tip!
Sigh... I already thought about a similar solution
in order to reduce the number of files,
but I hesitated (about 200 clips, disk space...).
Maybe a developer knows how to increase
the maximum number of clips ;)

Andreas

foxyshadis
25th February 2006, 01:28
I'm pretty sure it isn't technically possible without rewriting avisource and certain parts of the script initialization. Maybe you could get a few more with directshowsource, but opening dozens of those would be about as stable as a card tower...

I think the workaround of creating joined clips in vdub and opening those via its frameserver is the only way.

bagheera1
26th February 2006, 14:52
If you frameserve from VDub its possible,
I just opened 177 Star Trek TNG trailers that way.
rename all files with a format of "name_###.avi", open the first one with VDub, then append segment with the next filename (it will autoselect all of the other files), start farmeserver from file menu, save the vdf file, then open the vdf file in avisynth.

AVISource("tng.vdr")

haunand
26th February 2006, 22:21
hi bagheera1,
It works:
I tried your tip and successfully opened 184 avi files
and avisynth does not complain.

Thank you very much !

@foxishadis:
Thanks a lot too!