Log in

View Full Version : What plugin or filter do I need?


blk
30th August 2013, 04:07
I am looking for a way to count the number of frames that a pixel was set to a particular color at a fixed location then output some counter either top right or in message box after dub/task complete.

Can somebody give me some pointers? Should I be using a AVS, Virtualdub filter, VB script (after exporting whole video as imgs)?

Can I get value of pixel via AVS? thanks

StainlessS
30th August 2013, 20:11
You could take a look at Showchannels():
http://forum.doom9.org/showthread.php?t=163829&highlight=showchannels
Can set Global Vars within scriptclip.

set counter to zero
Using scriptclip, test color at location (x,y,w,h all == 1), increment counter if changed, if current_frame==FrameCount-1, then eg Subtitle counter on frame.

Something like that.

Could instead use GScript (probably how I would do it), and output result via RT_Stats RT_Debug or RT_SubTitle