Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Adding text to photos/videos (tosiara) 2. Re: Set focus on auto focused camera (Alek Usovich) 3. Re: Set focus on auto focused camera (Alek Usovich) ---------------------------------------------------------------------- Message: 1 Date: Mon, 2 Nov 2020 20:47:49 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Adding text to photos/videos Message-ID: <CACHTdwQ8ekQV0XBn5kAx=09dkf0pg27mewkovv1sd5op3ms...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Can you paste the exact full curl command that does not work for you using 4.3.2 version? On Mon, Nov 2, 2020 at 8:14 PM bobby <architectofthefut...@gmail.com> wrote: > I did all of this. The only difference I did was that I set > webcontrol_parms to 2. > It still does not work - same error. > > On Mon, Nov 2, 2020 at 12:26 PM Babau <ba...@mail.com> wrote: > >> In motion.conf add or edit: >> >> /# Webcontrol configuration parameters// >> //############################################################// >> // >> //# Port number used for the webcontrol.// >> //webcontrol_port 8080// >> // >> //# Restrict webcontrol connections to the localhost.// >> //webcontrol_localhost off// >> // >> //# Type of configuration options to allow via the webcontrol.// >> //webcontrol_parms 1/ >> >> >> in camera1.conf or motion.conf add or edit: >> >> /# Numeric identifier for the camera.// >> //camera_id 1/ >> >> /# The port number for the live stream.// >> //stream_port 8081// >> / >> >> in the script >> >> >> curl http://localhost:8080/1/config/set?text_left=$TEXTLEFT >> >> _for me this works_ >> >> Il 02/11/2020 14:35, bobby ha scritto: >> > I am trying to add text to photos/videos. I have the following in a >> > script that I execute: >> > #!/bin/bash >> > LOAD=`top -b -n2 | grep "Cpu(s)" | awk '{print $2+$4}' | tail -n1` >> > TEXTLEFT="" >> > TEXTLEFT=$TEXTLEFT"System at %{host}" >> > TEXTLEFT=$TEXTLEFT"\nCPU $LOAD " >> > TEXTLEFT=$TEXTLEFT"\nfps: %{fps}" >> > TEXTLEFT=$TEXTLEFT"\nDate: %Y-%m-%d" >> > TEXTLEFT=$TEXTLEFT"\n%T-%q" >> > # Replace special chars with needed urlcodes >> > TEXTLEFT="${TEXTLEFT//%/%25}" #Replace % with %25 >> > TEXTLEFT="${TEXTLEFT// /%20}" #Replace spaces with %20 >> > TEXTLEFT="${TEXTLEFT//\{/%7B}" #Replace { with %7B >> > TEXTLEFT="${TEXTLEFT//\}/%7D}" #Replace } with %7D >> > curl http://localhost:8080/1/config/set?text_left=$TEXTLEFT >> > >> > When I run it, this is the response that I get: >> > <!DOCTYPE html> >> > <html> >> > <body> >> > <h1>Not Valid</h1> >> > <p>The requested URL is not valid.</p> >> > </body> >> > </html> >> > <a href=/><– back</a> >> > </body> >> > </html> >> > >> > >> > >> > >> > _______________________________________________ >> > Motion-user mailing list >> > Motion-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/motion-user >> > https://motion-project.github.io/ >> > >> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 2 Nov 2020 20:26:12 +0000 (UTC) From: Alek Usovich <ove...@yahoo.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Set focus on auto focused camera Message-ID: <205800584.834637.1604348772...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" It's OTG camera module OV5640 1944p autofocus UVC USB.? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Mon, 2 Nov 2020 21:31:40 +0000 (UTC) From: Alek Usovich <ove...@yahoo.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Set focus on auto focused camera Message-ID: <1618420748.864495.1604352700...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" V4L2 controls:Brightness, Contrast, Exposure Absolute, Exposure Auto, Focus Absolute, Gamma, Hue, Power Line Frequency, Saturation, Sharpness, White Balance Temperature. What is the model? And what V4L2 controls it exposes? Should be seen in a -d 7 log -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 173, Issue 4 *******************************************