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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th March 2006, 11:47   #21  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
we want that filter A (pget) reads the rgb values of a given pixel. These values should be stored in script-variables (r,g,b). Then other filters can use these values to do whatever you wish.
hanfrunz is offline   Reply With Quote
Old 24th March 2006, 14:45   #22  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Probably you want
Code:
int n = 42;
env->SetGlobalVar("name", (AVSValue)n);
PushContext/PopContext would have to be involved but I am not quite sure why in this case. Are you env->Invoke'ing a 2nd chain? A single GetFrame chain should all be in the same context.

You may have to debug trace your way thru the code chain from the child->GetFrame() call in filterB down thru to the Set(Global)Var call in filterA::GetFrame.

There be dragons in that there code
IanB is offline   Reply With Quote
Old 2nd April 2006, 16:03   #23  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,867
Other people need this

How is the plugin coming?

I noticed:
http://forum.doom9.org/showthread.ph...982#post674982
Quote:
HighInBC: Is there a way for avisynth to return the color of a specific pixel into an int?
Someone wants to use it for a whitebalance script. It proves my point that this is a needed function, as there's people with great ideas that can only script and not write a full plugin.
jmac698 is offline   Reply With Quote
Old 3rd April 2006, 10:54   #24  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
Quote:
Originally Posted by jmac698
How is the plugin coming?

I noticed:
http://forum.doom9.org/showthread.ph...982#post674982


Someone wants to use it for a whitebalance script. It proves my point that this is a needed function, as there's people with great ideas that can only script and not write a full plugin.
I still think, that it is not possible to for a filter to change a scriptvariable, but i will investigate if i have time. A new version with a preview-window will be uploaded the next days!

hanfrunz
hanfrunz is offline   Reply With Quote
Old 4th April 2006, 04:40   #25  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,867
I don't understand the problem, but I asked IanB to give you a hand, has his suggestions not helped? If you can explain clearly I'm sure you can get help....
There's also the source code I left for you.
jmac698 is offline   Reply With Quote
Old 4th April 2006, 11:01   #26  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
Quote:
Originally Posted by jmac698
I don't understand the problem, but I asked IanB to give you a hand, has his suggestions not helped? If you can explain clearly I'm sure you can get help....
There's also the source code I left for you.
The main problem is time, i hope i find some time the next days to analyse all that stuff...
hanfrunz is offline   Reply With Quote
Old 7th August 2006, 09:39   #27  |  Link
Backwoods
ReMember
 
Backwoods's Avatar
 
Join Date: Nov 2003
Posts: 416
Have you found any time to work on this filter hanfrunz?
Backwoods is offline   Reply With Quote
Old 7th August 2006, 19:55   #28  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
i worked a little bit on the pget() filter, but it's too buggy right now. I try to release a new version in a few days.

hanfrunz
hanfrunz is offline   Reply With Quote
Old 8th August 2006, 16:04   #29  |  Link
windcool
my English is very poor
 
Join Date: Jul 2006
Location: China
Posts: 5
I can't download this filter.
Please check the adress,.
windcool is offline   Reply With Quote
Old 10th August 2006, 10:58   #30  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
@windcool: please try again, works fine for me. Geocities is sometimes down...
hanfrunz is offline   Reply With Quote
Old 24th September 2006, 06:07   #31  |  Link
yashar
Registered User
 
Join Date: Aug 2006
Posts: 1
are you still working on this filter hanfrunz?
yashar is offline   Reply With Quote
Old 25th September 2006, 10:51   #32  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 536
sometimes, i will release a new version soon.
hanfrunz is offline   Reply With Quote
Old 17th September 2007, 00:05   #33  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,335
@jmac698,

Something like this:

Code:
LoadPlugin("F:\CompilingPlugins\PixelValue\Release\PixelValue.dll")

w = ColorBars(pixel_type="RGB32")
#w = ScriptClip(w, """Subtitle(String(RGB(200, 40, "B")))""")
#w = ScriptClip(w, """Subtitle(String(RGB(500, 40, "BGR")))""")
w = ScriptClip(w, """Subtitle(String(RGB(500, 40, "R")))""")
return w
See readme for further information and examples.

http://www.geocities.com/wilbertdijk...lValue_v01.zip
Wilbert is offline   Reply With Quote
Old 26th February 2015, 17:32   #34  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,381
Anybody got the source for either PixelInfo or PixelValue, Geocities closed down.
Thought it might be handy to have a v2.6 colorspace compatible version.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 26th February 2015, 17:40   #35  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,148
Quote:
Originally Posted by StainlessS View Post
Anybody got the source for either PixelInfo or PixelValue, Geocities closed down.
Thought it might be handy to have a v2.6 colorspace compatible version.
could be done by simple scripts

yv12 - pointresize to yuy2
yv16 - converttoyuy2
yv24 - mergergb (y,u,v)
y8 - mergergb (last, last, last)
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated
feisty2 is online now   Reply With Quote
Old 26th February 2015, 17:48   #36  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,381
I believe PixelInfo has a GUI.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 26th February 2015, 17:56   #37  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,148
if you are interested, avspmod got a pixelinfo like function, available for all avisynth supported colorspaces, it very self is a GUI program, just put your mouse pointer at any pixel and it will show its info at the status bar
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated
feisty2 is online now   Reply With Quote
Old 26th February 2015, 18:37   #38  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,117
Quote:
Originally Posted by StainlessS View Post
Anybody got the source for either PixelInfo or PixelValue, Geocities closed down.
Thought it might be handy to have a v2.6 colorspace compatible version.
Here you go: pixelinfo0_3.zip

archive.org does not seem to have PixelValues archived. Maybe Wilbert still has it?

Last edited by Reel.Deel; 26th February 2015 at 19:27.
Reel.Deel is offline   Reply With Quote
Old 26th February 2015, 19:47   #39  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,381
Many thanks rd, you seem to have a copy of everything.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 26th February 2015, 22:02   #40  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,117
Actually I got PixelInfo from Wilbert's plugin package here: http://forum.doom9.org/showthread.ph...hlight=package
Reel.Deel 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:33.


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