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: remote usb webcam (folkert)
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Aug 2020 13:12:12 +0200
From: folkert <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] remote usb webcam
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
You could run constatus on that other system and let it export that USB
camera as an MJPEG stream ( https://vanheusden.com/constatus/ ).
Motion can then pick it up via netcam_url and do with it whatever you
require.
e.g. constatus configuration:
logfile = "camera.log";
log-level = "info";
instances = (
{
instance-name = "some usb cam";
source = {
id = "1-1";
descr = "my usb camera cam";
type = "v4l";
device = "/dev/video0";
# resolution of your camera
width = 1280;
height = 720;
max-fps = -1.0;
prefer-jpeg = true;
}
}
)
global-http-server = ({
id = "2-1";
descr = "http interface";
listen-adapter = "0.0.0.0";
listen-port = 8080;
# here I limit the output to 15fps
# set to -1.0 for same fps as source
fps = 15.0;
quality = 75;
stylesheet = "stylesheet.css";
})
the url would then be:
http://my-ip-adres:8080/stream.mjpeg?inst=some%20usb%20cam
e.g.:
netcam_url http://my-ip-adres:8080/stream.mjpeg?inst=some%20usb%20cam
On Thu, Aug 06, 2020 at 04:24:25AM -0400, fugee ohu wrote:
> I wanna use a usb webcam on a remote machine Which directive to use
> I'm thinking I should use the netcam_url and the netcam_userpass
> directives Although the camera doesn't require a username and
> password, the remote machine does
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 170, Issue 2
*******************************************