Log in

View Full Version : ColorYUV gives me unexpected exception!


video_qc
26th December 2003, 01:00
Hi, I am using Avisynth 2.5.3 with VirtualDub 1.5.8, and everytime I use ColorYUV it will give me an unexpected exception! I tried using it with VirtualDubMod 1.5.4.1 but it still gives me an error. Does anyone have an idea whats wrong with my system? :confused:

Wilbert
26th December 2003, 01:54
:script: Btw, welcome to this forum!

video_qc
26th December 2003, 10:16
Thanks Wilbert. Here's the script (Based on this site's postprocessing with AVISynth guide):


AVISource("Video 1.avi")
ColorYUV(off_y=0, gain_y=0)
ConvertToYV12()
Histogram()


It says there's an unexpected exception at line 2.

sh0dan
26th December 2003, 11:53
Convert to YV12 before applying ColorYUV.

stickboy
26th December 2003, 12:00
When given a clip in an unsupported colorspace, it would be better if ColorYUV reported an error message more informative than "Unrecognized exception".

sh0dan
26th December 2003, 12:21
@stickboy: Tell me something I don't know ;)

It _should_ report an error (the code is there) - but for some reason it crashes before it can deliver the error. Not a high-priority issue, but it's on the list.