how to send coordinate to other program
sry for my english
im writing a simple program controling 2 stepper motors via lpt. how can i send coordinates from motion to my own program?
Please put your console output, config file text, text from logs etc
between the two VERBATIM tags and not outside to ensure that you get
the text shown with line breaks.
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
- 26 Apr 2006
I'm not sure what do you need exactly ... but i guess that you want that motion sends you coordinates when motion is detected.
For that you need to use on_motion_detection event .
Here there's all the options :
Mainly i think you will be interested in :
%K - X coordinate in pixels of the center point of motion. Origin is upper left corner.
%L - Y coordinate in pixels of the center point of motion. Origin is upper left corner and number is positive moving downwards (I may change this soon).
- 22 Nov 2006