Log in

View Full Version : Error when loading multiples avis in avs with vdub and not with nandub


esby
4th November 2002, 11:21
Well i've get a strange error message

i have something like that


kf17631 = avisource("F:\timing\gb3 Enc\kf17631.avi").convertToYUY2()
kf18470 = avisource("F:\timing\gb3 Enc\kf18470.avi").convertToYUY2()
kf19425 = avisource("F:\timing\gb3 Enc\kf19425.avi").convertToYUY2()
kf21264 = avisource("F:\timing\gb3 Enc\kf21264.avi").convertToYUY2()
kf21318 = avisource("F:\timing\gb3 Enc\kf21318.avi").convertToYUY2()
kf22789 = avisource("F:\timing\gb3 Enc\kf22789.avi").convertToYUY2()
kf23435 = avisource("F:\timing\gb3 Enc\kf23435.avi").convertToYUY2()
kf23591 = avisource("F:\timing\gb3 Enc\kf23591.avi").convertToYUY2()
kf29707 = avisource("F:\timing\gb3 Enc\kf29707.avi").convertToYUY2()
kf34115 = avisource("F:\timing\gb3 Enc\kf34115.avi").convertToYUY2()
kf34367 = avisource("F:\timing\gb3 Enc\kf34367.avi").convertToYUY2()
kf34475 = avisource("F:\timing\gb3 Enc\kf34475.avi").convertToYUY2()

each file contains one frame that in uncompressed rgb ( from a .tga picture).

nandub will load the file fine.

BUT vdub will make an error and say 'Avisynth open failure'...
Avisource, could not decompress frame 0 ( .... Line X)

where X is the 4th frame loaded...

if anyone have an idea of where this error is coming.

PS : I used nandub rc2
vdub last version 1.4.11
avisynth v2.0.6


esby

Suzahara
4th November 2002, 13:43
What is the compression used on these avis? How were they made? Not sure I understand the Line X thing. Which line does it actually say? X is the 4th frame? Meaning kf21264 = avisource("F:\timing\gb3 Enc\kf21264.avi").convertToYUY2()?

esby
4th November 2002, 13:52
Well as as i said,
all sample containing one frame are uncompressed RGB ( meaning no compression)

And yeah, X just mean it happends to be the 4th, but the 4th has no problem at all...
when i m trying to load it alone and dont get any error.
I think that if you change the order of the aviload, you'll get always near the 4th an avisynth error using vdub (For me here).

for making the samples :

use vdub, capture some frames to tga ,
then load these tga in vdub, choose uncompressed RGB as codec.
and save without sound.

(Yt's a little dumb, but i havn't found any another way to load tga in avs,
my goal being to edit and correct some shitty kf before encoding)

esby

Suzahara
4th November 2002, 15:52
Well, I'm not quite sure if this works for tga, but if you save the image sequence as bmp instead of tga, you can use ImageSequence() in avisynth instead of having to save to an uncompressed RGB avi. Your way should have no problem though, as it's not really loading images, but an uncompressed avi.

esby
4th November 2002, 16:15
Thanks for the plug-in info.

but it wont change the fact there is probably a bug
somewhere between avisynth & vdub. :devil:

esby