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. Set focus on auto focused camera (Alek Usovich) 2. Re: Adding text to photos/videos (tosiara) 3. Re: Set focus on auto focused camera (tosiara) 4. Re: Adding text to photos/videos (bobby) ---------------------------------------------------------------------- Message: 1 Date: Mon, 2 Nov 2020 17:32:00 +0000 (UTC) From: Alek Usovich <ove...@yahoo.com> To: "Motion-user@lists.sourceforge.net" <Motion-user@lists.sourceforge.net> Subject: [Motion-user] Set focus on auto focused camera Message-ID: <1358438920.744500.1604338320...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Hi. Just wondering if this subject ever popped up on this forum. If yes, please, guide me in the right direction. I use 5 mega pixels auto focus usb camera on Motion. It's auto focus adjustments make false motion events and very annoying. Is there a way to set focus manually in config? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 2 Nov 2020 20:04:05 +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: <cachtdwrt2iq3sesydmjhwcnpxs4dzlolwfcpabjmnj+wmr2...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" And also update to 4.3.2 On Mon, Nov 2, 2020, 19:26 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 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Mon, 2 Nov 2020 20:05:43 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Set focus on auto focused camera Message-ID: <CACHTdwSRTfQ9CNeg5WaP=iYeVrr_9dY3qX3VRL0Zv2=5akt...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" What is the model? And what V4L2 controls it exposes? Should be seen in a -d 7 log On Mon, Nov 2, 2020, 19:33 Alek Usovich via Motion-user < motion-user@lists.sourceforge.net> wrote: > Hi. Just wondering if this subject ever popped up on this forum. If yes, > please, guide me in the right direction. I use 5 mega pixels auto focus usb > camera on Motion. It's auto focus adjustments make false motion events and > very annoying. Is there a way to set focus manually in config? Thank > you._______________________________________________ > 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: 4 Date: Mon, 2 Nov 2020 13:13:25 -0500 From: bobby <architectofthefut...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Adding text to photos/videos Message-ID: <caebhf_cwvdrcb-u95ajxmxb_4z6wb1nwdp87xwhqcj-udg+...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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 -------------- 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 3 *******************************************