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: motion capture for rtsp sdp format streaming camera (James Smith) 2. Re: motion capture for rtsp sdp format streaming camera (mylin) 3. Re: Building motion for Yocto (MrDave) ---------------------------------------------------------------------- Message: 1 Date: Sat, 27 Mar 2021 08:51:05 +1000 From: James Smith <gry...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] motion capture for rtsp sdp format streaming camera Message-ID: <CAK21x7tz5Kid58jXX8p=w3g0zwu6saznurff_kzcho6nxyj...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Try forcing motion to use UDP by setting the netcam_use_tcp option to off On Sat, Mar 27, 2021 at 6:25 AM mylin <my...@ix.netcom.com> wrote: > I'm trying to run motion from a sdp formatted streaming from an outdoor > ip camera. > > rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > > But,I only see a gray screen when I try to view it in the browser. > > > But I can stream it using vlc, > > vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > > > Here is the motion camera config file contents. Any ideas how to make it > work in motion? > > Thanks. > > ---------------------- > > camera_id = 98 > > ########################################################### > # Capture device options > ############################################################ > > # 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 > > target_dir /home/mydrive/motion_ipcamoutdoorcam > > ############################################################ > # Live Stream Server > ############################################################ > > # The mini-http server listens to this port for requests (default: 0 = > disabled) > stream_port 8098 > > #--------------------- > > # URL to use if you are using a network camera, size will be > autodetected (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or file:///) > netcam_url rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > > # Username and password for network camera (only if required). Default: > not defined > # Syntax is user:password > ; netcam_userpass value > netcam_userpass admin:mypassword > > > # The setting for keep-alive of network socket, should improve > performance on compatible net cameras. > # off: The historical implementation using HTTP/1.0, closing the > socket after each http request. > # force: Use HTTP/1.0 requests with keep alive header to reuse the same > connection. > # on: Use HTTP/1.1 requests that support keep alive as default. > # Default: off > ##netcam_keepalive off > netcam_keepalive on > > # Set less strict jpeg checks for network cameras with a poor/buggy > firmware. > # Default: off > netcam_tolerant_check off > #--------------------- > > > > > _______________________________________________ > 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 -- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s+:+ a C+++ US++++ P++ L++ E--- W-- N++ o+ K w--- O M-- V-- PS PE+ Y+ PGP t+ 5+ X+ R tv+ b+ DI++ D+ G e h---- r+++ y++++ ------END GEEK CODE BLOCK------ -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Fri, 26 Mar 2021 19:35:36 -0400 From: mylin <my...@ix.netcom.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] motion capture for rtsp sdp format streaming camera Message-ID: <796bdb35-f48d-c32e-448a-a725d4aad...@ix.netcom.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Thanks for the suggestion but setting the netcam_use_tcp option to off , did not work either. On 2021-03-26 6:51 p.m., James Smith wrote: > Try forcing?motion to use UDP by setting the netcam_use_tcp option to off > > > > On Sat, Mar 27, 2021 at 6:25 AM mylin <my...@ix.netcom.com > <mailto:my...@ix.netcom.com>> wrote: > > I'm trying to run motion from a sdp formatted streaming from an > outdoor > ip camera. > > rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp> > > But,I only see a gray screen when I try to view it in the browser. > > > But I can stream it using vlc, > > vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp> > > > Here is the motion camera config file contents. Any ideas how to > make it > work in motion? > > Thanks. > > ---------------------- > > ??camera_id = 98 > > ########################################################### > # Capture device options > ############################################################ > > # 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 > > target_dir /home/mydrive/motion_ipcamoutdoorcam > > ############################################################ > # Live Stream Server > ############################################################ > > # The mini-http server listens to this port for requests (default: > 0 = > disabled) > stream_port 8098 > > #--------------------- > > # URL to use if you are using a network camera, size will be > autodetected (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or > file:///) > netcam_url > rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp > <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp> > > # Username and password for network camera (only if required). > Default: > not defined > # Syntax is user:password > ; netcam_userpass value > netcam_userpass admin:mypassword > > > # The setting for keep-alive of network socket, should improve > performance on compatible net cameras. > # off:?? The historical implementation using HTTP/1.0, closing the > socket after each http request. > # force: Use HTTP/1.0 requests with keep alive header to reuse the > same > connection. > # on:??? Use HTTP/1.1 requests that support keep alive as default. > # Default: off > ##netcam_keepalive off > netcam_keepalive on > > # Set less strict jpeg checks for network cameras with a poor/buggy > firmware. > # Default: off > netcam_tolerant_check off > #--------------------- > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > <mailto: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 > > > > -- > -----BEGIN GEEK CODE BLOCK----- > Version: 3.12 > GIT d? s+:+ a C+++ US++++ P++ L++ E--- W-- N++ o+ K w--- > O M-- V-- PS PE+ Y+ PGP t+ 5+ X+ R tv+ b+ DI++ D+ > G e h---- r+++ y++++ > ------END GEEK CODE BLOCK------ > > > _______________________________________________ > 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: Fri, 26 Mar 2021 18:28:29 -0600 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Building motion for Yocto Message-ID: <c61c1c4c-d963-7267-eaf4-930c23b22...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" To my knowledge, there are not any static builds available. If you build from source you would be able to reduce (but not eliminate) the dependencies.?? Reducing the dependencies of course would also reduce functionality.? The various packages are listed here. https://motion-project.github.io/motion_build.html#Preparation_For_Building Dave On 3/26/2021 8:15 AM, Kaiwan N Billimoria wrote: > Hi all! > > Am new to this list.. > I'm working on a side project, building a Yocto-based embedded Linux > on the Raspberry Pi. I intend to run the superb motion software for a > motion-activated security camera... > > However, a little googling failed to turn up any useful resources on > building motion for Yocto (poky). Particularly, I've reached the point > where I can get the deb package > (https://github.com/Motion-Project/motion/releases/download/release-4.3.2/bionic_motion_4.3.2-1_arm64.deb > > <https://github.com/Motion-Project/motion/releases/download/release-4.3.2/bionic_motion_4.3.2-1_arm64.deb>) > > onto the board & run a script to install it via dpkg; but it fails due > to there being many dependencies ... > Is there a static build of motion for arm64 available? > > Any tips / suggestions on how to do this will be very much?appreciated, > > Thanks, > Kaiwan. > > > > _______________________________________________ > 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 177, Issue 13 ********************************************