Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd May 2007, 21:50   #21  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,335
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 online now   Reply With Quote
Old 24th May 2007, 13:32   #22  |  Link
Ignus2
Registered User
 
Join Date: Dec 2005
Posts: 249
Yep, it creates Y8 frames, and that's only available in 2.6

About the parameters, look in the source. It's explained at the top of the file in comments.

--
Greets,
I.
Ignus2 is offline   Reply With Quote
Old 24th May 2007, 23:53   #23  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,171
@Ignus2,

And why doesn't you plugin test that it has a Y8 capable host and respond appropriatly in the constructor. It's really bad form to wait until the first frame is rendered to fall apart at the seams.

You chose to violate the API, its your job to validate your extensions.
IanB is offline   Reply With Quote
Old 26th May 2007, 20:24   #24  |  Link
Ignus2
Registered User
 
Join Date: Dec 2005
Posts: 249
I don't care who or what I violate, there's the source, go ahead and fix it, if it's annoying you that much.

If you have questions about using the plugin, I'll gladly answer them.

Just don't complain please.

--
Greets,
I.

Last edited by Ignus2; 26th May 2007 at 20:27.
Ignus2 is offline   Reply With Quote
Old 26th November 2007, 20:51   #25  |  Link
Ignus2
Registered User
 
Join Date: Dec 2005
Posts: 249
Made some minor fixes.

I removed the earlier attachment, here is the new one.

--
Greets,
I.
Attached Files
File Type: zip colordiff.zip (240.3 KB, 150 views)
Ignus2 is offline   Reply With Quote
Old 28th November 2007, 01:47   #26  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,547
just to throw a spanner in, generally Red is at 122 degrees. ie, on a 601 vectorscope it will sit there, and on most colour correctors this is the angle you push the joyballs to go toward red.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 29th November 2007, 00:06   #27  |  Link
Ignus2
Registered User
 
Join Date: Dec 2005
Posts: 249
What do you mean by "generally"?
As you can see, I have found as many variations of this, as there are places it is mentioned at
Ignus2 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.