Streaming to Twitch, Youtube or some other live streaming service

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
ktt
Posts: 10
Joined: Sun Oct 28, 2012 10:14 am

Streaming to Twitch, Youtube or some other live streaming service

Post by ktt »

I'm administrating Zoneminder in local animal shelter. It is used to monitor certain animal cages. Every now and then, we would like to stream some of these video feeds to public using e.g. Twitch or Youtube. This is for example when we have kittens or fox puppies which we like to show to public audience. On those occassions, I have disconnected these cameras from Zoneminder and performed the streaming separately.

Anyway, this is not very practical, as animal shelter's own personnel can't make these changes. They know how to move cameras between cages and how to adjust the camera picture through Zoneminder monitor, so if there would be a button "stream this feed to channel #01", they could make also the streaming changes themselves.

So, what do you think, would it be possible to have a streaming plug-in, which could stream selected monitor feed to some streaming service?
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Streaming to Twitch, Youtube or some other live streaming service

Post by iconnor »

I think it would be awesome. We need someone to fund it though.
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Streaming to Twitch, Youtube or some other live streaming service

Post by dougmccrary »

Maybe I misunderstand what you said, but:
I wonder if it’s really necessary to disconnect the camera from ZM. Many cameras can support multiple connections. Have you tried just connecting the camera to whatever service without respect to ZM?
User avatar
burger
Posts: 434
Joined: Mon May 11, 2020 4:32 pm

Re: Streaming to Twitch, Youtube or some other live streaming service

Post by burger »

You can always just embed the stream in a webpage. I don't know how many viewers ZM can handle (i.e. if you have 100's of people.). Maybe something like OBS would be better suited for it. There are notes on setting up a website here:
https://wiki.zoneminder.com/External_Li ... eams_(API)
I see some guides online that refer to streaming to twitch from OBS, so what you are saying is not to difficult / possible outside of ZM. But of course it could be easier to use with ZM if someone funds it.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply