1

I want to set up a webcam for a fish tank on the LAN at my office. I set up a Raspberry Pi model 3B with a camera and used https://github.com/jacksonliam/mjpg-streamer to stream it locally. It works great, but every time an additional client opens up the URL in a browser, the frame rate drops.

I would like to set up a server that would take the feed from the Pi and distribute it to multiple clients, so each new connection loads the server and not the Pi. Is there a tool available for doing this type of thing? My searches have been fruitless so far.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Sep 18, 2021 at 15:31

1 Answer 1

1

You can live stream video to YouTube:

ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -preset veryfast -tune zerolatency -f flv rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx

Alternatively, you can run your own rtmp service: owncast.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.