this post was submitted on 20 Jul 2023
10 points (100.0% liked)

raspberrypi

3243 readers
1 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 4 years ago
MODERATORS
 

Hey everyone!

So I have a chicken coop and wanted to be able to see the inside of it to make sure predators don't get in at night, etc.

I installed my Pi3 and this webcam into the coop -

I am currently using Motion with motion detection turned off to get a simple stream of jpgs. Its not great.

I have a number of security cameras that I capture video from using ffmpeg to save their RTSP stream. Ideally I would like to run an RTSP server on the Pi and interact with its stream in the same way (I also look at them via HomeAssistant).

I've been beating my head against the wall with MediaMTX / ffmpeg (and its current lack of ffserver) for a bit now. Is there a smarter way to do this?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

After a bit more research it seems that the Pi is just a poor choice for this project. I'm already somewhat committed, so I imagine I'll just stick with my hacky Motion solution until something better comes along.

Thanks again, everyone!

[–] [email protected] 1 points 1 year ago (1 children)

You can try using MotionEyeOS. It's a purpose-built OS with a nice interface around Motion. In your case, you can set it to "Fast network camera" mode (disables motion detection) and enable the RTSP stream. One nice thing about this OS is that it's quite resilient to power going down, so it's safer to deploy in "computer-hostile" environments.

[–] [email protected] 1 points 1 year ago

Turns out a reolink ip cam was cheaper and worked much better, so I ended up just doing that