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: RPi Camera stream over network to Motion (Barry Martin) 2. Re: RPi Camera stream over network to Motion (spindles seven) 3. Re: RPi Camera stream over network to Motion (Barry Martin) ---------------------------------------------------------------------- Message: 1 Date: Fri, 14 Jul 2023 07:36:18 -0500 From: Barry Martin <barry3mar...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] RPi Camera stream over network to Motion Message-ID: <5656f13e-077f-2e96-dcf3-9141d732a...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi spindels7! > Have got a Raspberry Pi with the RPi Camera V.2 which I have just installed > RaspberryPi OS Bullseye from an image. Trying to use the built-in > libcamera-vid command to stream the video to another machine (running Debian > Bookworm and Motion 4.5.1). I can view the stream using VLC on my Windows > machine with the string: > > tcp/h264://192.168.2.254:3000 > > where 192.168.2.254 is the IP address of the Raspberry Pi and 3000 is the > port specified in the libcamera-vid command which is: > > libcamera-vid -t 0 --inline --listen -o tcp://0.0.0.0:3000 > > Have tried various netcam_url settings, but none of the will work. Anybody > any clues as to what the correct settings in motion.conf could be to allow > the stream to be captured coirrectly? I use Raspberry Pi's but with USB cameras so this is guesswork. First thing that popped out with the 0.0.0.0 IP address; seems like it should be the local address (192. ...) My second suggestion? is more of a caution.? I tend to write my notes in a (temporary) text document so use copy and paste.? I've found the punctuation doesn't always copy correctly, most common being the double hyphens will convert to a single long hyphen. I've also come across where a space character at the end of a command will invalidate: 3000space is not the same as 3000. Hope this helps point to fixing your problem -- Motion is a great utility! Barry -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Fri, 14 Jul 2023 14:13:25 +0100 From: "spindles seven" <spindl...@gmail.com> To: "'Barry Martin'" <barry3mar...@gmail.com>, <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] RPi Camera stream over network to Motion Message-ID: <002301d9b654$f91fcfe0$eb5f6fa0$@gmail.com> Content-Type: text/plain; charset="utf-8" Hi Barry, Many thanks for those suggestions. The 0.0.0.0 means all interfaces, but yes I could use the actual IP address of the box. However, the fact that I can see the stream from another machine mans that it is sending it to the correct IP address. On your other point, I also have experienced this ? especially when using Microsoft Word ? for example it replaces the ?dash? character with ?smart dash? which is different and the command fails. However in this case I typed the commend directly into the terminal so I can rule this particular issue out. Thanks, spindles7 Hi spindels7! Have got a Raspberry Pi with the RPi Camera V.2 which I have just installed RaspberryPi OS Bullseye from an image. Trying to use the built-in libcamera-vid command to stream the video to another machine (running Debian Bookworm and Motion 4.5.1). I can view the stream using VLC on my Windows machine with the string: tcp/h264://192.168.2.254:3000 where 192.168.2.254 is the IP address of the Raspberry Pi and 3000 is the port specified in the libcamera-vid command which is: libcamera-vid -t 0 --inline --listen -o tcp://0.0.0.0:3000 Have tried various netcam_url settings, but none of the will work. Anybody any clues as to what the correct settings in motion.conf could be to allow the stream to be captured coirrectly? I use Raspberry Pi's but with USB cameras so this is guesswork. First thing that popped out with the 0.0.0.0 IP address; seems like it should be the local address (192. ...) My second suggestion is more of a caution. I tend to write my notes in a (temporary) text document so use copy and paste. I've found the punctuation doesn't always copy correctly, most common being the double hyphens will convert to a single long hyphen. I've also come across where a space character at the end of a command will invalidate: 3000space is not the same as 3000. Hope this helps point to fixing your problem -- Motion is a great utility! Barry -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Fri, 14 Jul 2023 09:09:38 -0500 From: Barry Martin <barry3mar...@gmail.com> To: spindles seven <spindl...@gmail.com>, motion-user@lists.sourceforge.net Subject: Re: [Motion-user] RPi Camera stream over network to Motion Message-ID: <efbdf364-1cea-ebb2-bfc8-7a1d86524...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi spindels7! > Many thanks for those suggestions.?? The 0.0.0.0 means all interfaces, > but yes I could use the actual ?IP address of the box.? However, the > fact that I can see the stream from another machine mans that it is > sending it to the correct IP address. > Thanks for the information.? Here's another WAG based on my USB cameras: try prefacing with "http://" -- I think most utilities are automatically using "https://"? (no quotes, of course!). As you're able to view on another machine this probably won't help but will mention anyway: my configurations use camera numbers and this number needs to be added to the end: "http://192.168.4.221:8081/1".? That '/1' is derived from the configuration file: ??? # Numeric identifier for the camera. ??? camera_id 1 > On your other point, I also have experienced this ? especially when > using Microsoft Word ? for example it replaces the ?dash? character > with ?smart dash? which is different and the command fails.?? However > in this case I typed the commend directly into the terminal so I can > rule this particular issue out. > OK -- hope someone else replies so you can get a better suggestion. :) Barry -------------- 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 203, Issue 7 *******************************************