PDA

View Full Version : open avs in an avs-Script


Brougs78
23rd October 2002, 12:19
Hi folks!


I've got the following problem:
I use a AVS-script to cut, resize and so on a d2v-file. The video-file contains several episodes of a series. To cut out the single episodes I use a second avs-file, where I open the first one and trim it like this:
AVIFileSource("c&c.avs").trim(13844,23717)
The cause, why I do this that way is, that I generate the second file with a program and it is way easier to write just one line.

Now the problem is, that if I want to open the file in VD i geht the message: 'avisynth open failure: avisource: coud not decompress frame 0'.

My workaround now is that I open the 'c&c.avs' first and then the second avs-file. Then I also get the same error, but if I close VD and open VD again and now open the second avs-file it works.

So does anybody know what causes this? Is it possible that there is to less memory for avisynth or something like this?

Btw, I use avisynth 2.05 and VD 1.4.9


Buy,
Brougs78

Wilbert
23rd October 2002, 13:09
More people reported this. I don't know what the cause is. Maybe Sh0dan can have a look at it?

I advice to use Import instead of AviSource, like this:
Import("c&c.avs").trim(13844,23717)

Brougs78
23rd October 2002, 19:41
Thanx for the advice Wilbert. Now it works fine without this detour.

Buy,
Brougs78