Motion - Support Question 2004x 12x 20x 160810

Adding variable text into picture


I would like to add text into a picture from a file so that the text could change. For example: a temperature reading from a temp probe, a binary reading such as "Gate Open".

Ideally this could be read from a file on the PC as specified in the conf file.

Can this be done or is someone intersted in doing this?


Motion version: 3.1.17
Libraries: curl, xmlrpc, ffmpeg, mysql, postgresql
Server OS: Redhat9

-- GarethThomas - 20 Dec 2004


This is very easy to implement using a small script that send the needed xmlrpc command to change the text.

I use this when someone rotates my cameras. While the camera is rotating the text_left is change from "CAMERA 1" to "CAMERA 1 ROTATING" and then back when the rotating is over.

If you need to do it over time start the script via a cron job.

This is not a feature I would integrate into Motion. The remote control interface is made exactly for this type of job. We are currently changing from XMLRPC to HTTP but this feature will also be fully supported in 3.2 (http interface will enter in 3.2.1 probably 1-2 months from now as development allows.

-- KennethLavrsen - 20 Dec 2004
Topic revision: r2 - 20 Dec 2004, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.