|
From: Barry M. <bar...@gm...> - 2023-07-14 12:36:26
|
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 |