Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Motion setup (Barry Martin)
2. Re: Motion setup (Billy Rey)
----------------------------------------------------------------------
Message: 1
Date: Sun, 29 Aug 2021 07:34:10 -0500
From: Barry Martin <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Motion setup
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Billy:
> Is there any setup for the cams with Motion? All I see is permissions.
> Where do I set my cams up?
>
They hid it out in the open!? At the very end of motion.conf there are
several lines which are commented, ending in camera*.conf.? If you have
one camera you uncomment camera1.conf and configure that that file; if
two cameras uncomment camera1.conf and camera2.conf -- it's one
configuration file for each camera.? I also 'moved' the location of the
camera configuration files to the same directory motion.conf is is, just
easier for my brain cells.
And to potentially help with a later question, be sure to increment your
website ports:? motion.conf uses 8080, camera1 8081, camera2 8082....?
AFAIK you can use any port number, just don't duplicate on the same IP
Here's a copy of the Camera 1 configuration file for my 'second' Motion
unit.? I'm using USB cameras.
pi@raspberrypi:~ $ cat /etc/motion/camera1.conf
# Videodevice to be used for capturing? (default /dev/video0)
# for FreeBSD default is /dev/bktr0
videodevice /dev/video0
# The video input to be used (default: -1)
# Should normally be set to 1 for video/TV cards, and -1 for USB cameras
input -1
# Draw a user defined text on the images using same options as C
function strftime(3)
# Default: Not defined = no text
# Text is placed in lower left corner
text_left Driveway CAMERA 1 - fps: %fps-
# Target base directory for pictures and films
# Recommended to use absolute patch. (Default: current working directory)
target_dir /mnt/NSA320/Unit_2/Camera_1
# File path for motion triggered images (jpeg, ppm or webp) relative to
target_dir
# Default: %v-%Y%m%d%H%M%S-%q
# Default value is equivalent to legacy oldlayout option
# For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-%q
# File extension .jpg, .ppm or .webp is automatically added so do not
include this
# Set to 'preview' together with best-preview feature enables special naming
# convention for preview shots. See motion guide for details
picture_filename CAM1_%v-%Y%m%d%H%M%S-%q
v4l2_palette 8??? # MJPG palette??? ??? 21 (H.264) doesn't work
width 1280
height 720
############################################################
# Live Stream Server
############################################################
# The mini-http server listens to this port for requests (default: 0 =
disabled)
stream_port 8081
# Command to be executed when a picture (.ppm|.jpg|.webp) is saved
(default: none)
# The filename of the picture is appended as an argument for the command.
#on_picture_save /usr/local/motion-extras/camparse2.pl
# Command to be executed when a movie file (.mpg|.avi) is closed.
(default: none)
# Filename of movie is appended as an argument for the command.
#on_movie_end /usr/local/motion-extras/mpegparse2.pl
Hope that gets you going int he right direction!
Barry
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sun, 29 Aug 2021 14:06:23 -0600
From: Billy Rey <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Motion setup
Message-ID:
<cagwk7xpt7_pw+ydd0yq39ahhkckhdzutuwyuegbcmmp0n+-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Barry!
Thank you, so much, for taking the time to explain how to get it going. It
looks like the developer Oliver Grawert update it yesterday. He is calling
it Motion-orga. Are we talking about the same app? My brain cells really
get messed up. I'm an old... I mean real old Windows user that had
everything done for me except how much money does it cost and where to send
it. Where do I find the configs you are talking about? I found this:
[image: motion1.png]
Is that config in one of the files there? There are a hole lot of files in
the directories.
Thanks
Dan Hickman
[email protected]
Somewhere in Colorado...
Create your own email signature
<https://chrome.google.com/webstore/detail/free-email-signature-gene/adabkammndnejioekmmdhgdnlfenpkci>
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion1.png
Type: image/png
Size: 56978 bytes
Desc: not available
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 182, Issue 26
********************************************