Log in

View Full Version : RGB Colourspace not working


Si
10th May 2003, 22:19
I seem to be experiencing errors if I put ConvertToRGB (24 or 32) in scripts.

I found it while testing my latest version of View/UnViewFields but I think its not my filter (brave words I know :) )

If I revert to an earlier version of Avisynth (the original 2.51 I think but who can tell :p ) I don't encounter any problems in testing/using RGB colourspace.

I'm getting problems with the 30th April and 10th May builds but not one dating back to March

I open my scripts in VirtualDubMod 1.4.13.1

Can anyone else confirm any problems?

regards
Simon

morsa
10th May 2003, 23:22
the same happens for me.

Guest
11th May 2003, 01:45
What is the nature of the errors?

Si
11th May 2003, 10:36
I'm getting the

This program has caused an illegal operation and will be shut down

msg from VirtualDubMod when I load a script like


LoadPlugin("c:\av\avisynth\myplugins\ReverseFieldDominance.dll")
AVISource("d:\vtest\test1.avi")
ConvertToRGB32()
ReverseFieldDominance()
return last


I'm trying to find a 2.5 plugin (not written by me) that works in YUY2/RGB to try out.

regards
Simon

Si
11th May 2003, 10:46
MSharpen comes to the rescue :)

Same error in VirtualDubMod if I put a ConvertToRGB32 before MSharpen.

Does it work on your setup Donald?

regards

Simon

Guest
11th May 2003, 13:20
I have avisynth_300403.exe. No problems here.

Athlon XP 1900. VirtualDubMod 1.4.13.

Si
11th May 2003, 14:08
mm Good news for you - bad news for me :(

Just tried using MSharpen script and feeding into TMP2.53 and that seems to work :confused:

@morsa
What's happening on your setup?

regards
Simon

sh0dan
11th May 2003, 19:11
I need some more information:

Input Size / Colorspace.

Preferably a short clip and a script that can reproduce this error.

morsa
11th May 2003, 21:21
The same happens for me.Vdubmod crashes when I use convert to rgb.
But there are some other cases I don't remember now, with the same results.
My scripts are so simple that I don-t remember them now.I always use directshow source (ffdshow)

Si
11th May 2003, 21:39
LoadPlugin("c:\av\avisynth\oldplugins\MSharpen.dll")
AVISource("d:\vtest\stest.avi")
ConvertToRGB32()
MSharpen()
return last
My Stest avi is 480x576 Huffyuv (so my input is YUY2) - can't upload it - too big for my webspace - can't post attachments here :( (I've tried 352x576 as well - same result)

I can replace MSharpen with at least 2 of my own filters and the same thing happens - all works fine if just using a simple Avisource followed by ConvertToRGB32() - its needs a plugin to cause the failure :confused:

I think we'll need more input from others who get same problem since it doesn't happen to Donald - therefore its not universal.

regards
Simon

sh0dan
11th May 2003, 21:48
Sorry I cannot reproduce.

CPU? OS?

If you could just upload a huffyuv of 2 frames that would help.

morsa
12th May 2003, 07:01
Athlon 2000 XP.
Windows 98 SE.
Same happens on W2K.

Si
12th May 2003, 07:50
STest.avi available here (need to right-click and use save as) (http://www.geocities.com/siwalters_uk/STest.avi)

I use Win98SE.

@morsa

Could you publish the smallest script that doesn't work for you.

regards
Simon

sh0dan
13th May 2003, 13:51
@siwalters: Even your test file works on 2000/XP - I'll find a Win98 machine and test ASAP.