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 30th August 2013, 04:07   #1  |  Link
blk
Registered User
 
Join Date: Jun 2008
Posts: 1
What plugin or filter do I need?

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
blk is offline   Reply With Quote
Old 30th August 2013, 20:11   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,863
You could take a look at Showchannels():
http://forum.doom9.org/showthread.ph...t=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
__________________
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 online now   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 00:37.


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