View Single Post
Old 22nd May 2007, 21:50   #21  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I'm using latest v2.58, but your filter doesn't work for me:
Code:
LoadCPlugin("F:\Plugins3\Colordiff\colordiff\colordiff.dll")

ImageSource("F:\Plugins3\Colordiff\colordiff\linuXP.jpg").ConvertToRGB32()
ColorDiff(c1=100, c2=100, c3=100, w1=2.0, w2=2.0, w3=2.0, colorspace="RGB")
Code:
LoadCPlugin("F:\Plugins3\Colordiff\colordiff\colordiff.dll")

ImageSource("F:\Plugins3\Colordiff\colordiff\linuXP.jpg").ConvertToYUY2()
ColorDiff(c1=100, c2=100, c3=100, w1=2.0, w2=2.0, w3=2.0, colorspace="YUV").ConvertToYUY2()
In both cases I get no image, and the following error message: Filter attempted to create VideoFrame with invalid pixel_type.

Btw, what do the cj and wj parameters do?
Wilbert is offline   Reply With Quote