Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring commands #240

Closed
Redferne opened this issue Jul 2, 2016 · 6 comments
Closed

Monitoring commands #240

Redferne opened this issue Jul 2, 2016 · 6 comments
Labels

Comments

@Redferne
Copy link

Redferne commented Jul 2, 2016

Hi,

Please help getting the monitoring command working, followed the example below but I get nothing overlayed on the stream. No usable information in the debuglog.
https://github.com/ccrisan/motioneye/wiki/Monitoring-Commands

BR,
Rickard

@ccrisan
Copy link
Collaborator

ccrisan commented Jul 3, 2016

  1. What version?
  2. Where have you placed the file?
  3. What name did you give the file?
  4. Did you make it executable?
  5. If you run it manually from the command line, does it return immediately and output the expected text? If yes, which is the text?

@maglub
Copy link

maglub commented Jul 3, 2016

You will get the output of the monitoring command in the "border" of the camera, when you click on the camera in question.

image

@Redferne
Copy link
Author

Redferne commented Jul 3, 2016

Ah, now I see. It works here aswell, but I was expecting it to be "burnt
into the stream/screenshot".
Is it possible to add this functionality? Cameraname and Timestamp is
currently beeing "burnt into the image".
That would be a very powerful option, we can have a small table on the
topleft with all kind of information :-)

BR,
Rickard

On 3 July 2016 at 17:22, Magnus Lübeck [email protected] wrote:

You will get the output of the monitoring command in the "border" of the
camera, when you click on the camera in question.

[image: image]
https://cloud.githubusercontent.com/assets/2961018/16546178/c0472198-4142-11e6-98e4-560d2987a426.png


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#240 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACRQLVrQz3S9DZs10TwbFD8u-LlCg3A8ks5qR9PHgaJpZM4JDw94
.

@ccrisan
Copy link
Collaborator

ccrisan commented Jul 3, 2016

Nope, that's not possible as it would require changing the source code of motion.

@ccrisan ccrisan closed this as completed Jul 3, 2016
@ccrisan ccrisan added the wontfix label Jul 3, 2016
@maglub
Copy link

maglub commented Jul 4, 2016

A workaround would be to use the MotionHttpApi, sending the text you would like to burn in per "curl".

I did this:

  • On the motioneye, find the "webcontrol_port" which should be 7999
[root@meye-77c702cd etc]# grep control *
motion.conf:webcontrol_localhost on
motion.conf:webcontrol_html_output on
motion.conf:webcontrol_port 7999
  • Use "curl" to send a new text to the text you want:
[root@meye-77c702cd etc]# curl http://localhost:7999/2/config/set?text_left="my%20text"

Before:

image

After:

image

@ccrisan
Copy link
Collaborator

ccrisan commented Jul 4, 2016

@maglub actually that is a great idea indeed. I never thought of that. Thanks for sharing it with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants