]> git.sesse.net Git - vlc/commit
Added simple motion detect filter.
authorJérome Decoodt <djc@videolan.org>
Thu, 13 Jan 2005 23:28:36 +0000 (23:28 +0000)
committerJérome Decoodt <djc@videolan.org>
Thu, 13 Jan 2005 23:28:36 +0000 (23:28 +0000)
commit70a4f2e234d3fd6df15f983c0347022891b7b81e
tree1d2b031d553569602813d84a75f369c963da6bbc
parentcf6e33afe3728fe6cac1f54285f72a8f4f6744bc
Added simple motion detect filter.
This filter uses a description file which follows this format :
x1,y1,x2,y2,level,downspeed,upspeed,mrl
...
where x1,y1,x2,y2 describe a sensible rectangle, level is the minimum difference for an active pixel, downspeed an upspeed are to integers.
mrl is a mrl to go when the filter has detected movement in the rectangle.

This is fun with vlm. For example, you should try to launch vlc normaly with vlm and then type :
new camera broadcast
setup camera enabled
setup camera input mrl to your camera
setup camera option filter=motiondetect,transform
#setup camera option transform-type=vflip
#indeed, I did not reach to make this working
control camera play

Have fun ;)
configure.ac
modules/video_filter/Modules.am
modules/video_filter/motiondetect.c [new file with mode: 0644]