Kodi Community Forum
Playing multiple video streams at once - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Playing multiple video streams at once (/showthread.php?tid=379794)



Playing multiple video streams at once - OpenTAKServer - 2024-12-15

I'm not sure if this is the right place for this question but I'm developing an addon that can view RTSP streams from a security camera system. It's working fine but I was wondering if I could have multiple streams going at once like in professional security systems? Here's a picture of what I mean.

Image


RE: Playing multiple video streams at once - izprtxqkft - 2024-12-16

what you're looking for is called a Video Multiplexer, which Kodi doesn't do on it's own, you would need to multiplex then stream to Kodi

https://www.versitron.com/blogs/post/all-important-questions-on-video-multiplexers-answered


RE: Playing multiple video streams at once - OpenTAKServer - 2024-12-16

Thank you, that was the piece of information I was missing. Do you know of any software multiplexers, preferably open source?


RE: Playing multiple video streams at once - izprtxqkft - 2024-12-16

(2024-12-16, 01:43)OpenTAKServer Wrote: Do you know of any software multiplexers

i don't


RE: Playing multiple video streams at once - jbinkley60 - 2024-12-16

(2024-12-15, 23:45)OpenTAKServer Wrote: I'm not sure if this is the right place for this question but I'm developing an addon that can view RTSP streams from a security camera system. It's working fine but I was wondering if I could have multiple streams going at once like in professional security systems? Here's a picture of what I mean.

Here's a security camera addon which might do what you want.  Here's the link to the addon itself.


Thanks,

Jeff


RE: Playing multiple video streams at once - izprtxqkft - 2024-12-16

(2024-12-16, 06:34)jbinkley60 Wrote: Here's a security camera addon which might do what you want.

take a quick overview of the code

downloads a snapshot from an http server
- https://github.com/RyanMelenaNoesis/XbmcSecurityCamOverlayAddOn/blob/master/script.securitycam/default.py#L64

here it loops that download
- https://github.com/RyanMelenaNoesis/XbmcSecurityCamOverlayAddOn/blob/master/script.securitycam/default.py#L50

during the loop it sets an image in the dialog
- https://github.com/RyanMelenaNoesis/XbmcSecurityCamOverlayAddOn/blob/master/script.securitycam/default.py#L85

dialog code is here and amounts to about 1 floating image
- https://github.com/RyanMelenaNoesis/XbmcSecurityCamOverlayAddOn/blob/master/script.securitycam/default.py#L34


from what i can see it simply puts a snapshot on screen, changes it with a new snapshot every ~1 second
i don't think this is what was being asking for as it doesn't even deal with video playback


RE: Playing multiple video streams at once - jbinkley60 - 2024-12-16

(2024-12-16, 06:56)izprtxqkft Wrote: from what i can see it simply puts a snapshot on screen, changes it with a new snapshot every ~1 second
i don't think this is what was being asking for as it doesn't even deal with video playback

Thanks for looking at the code.  I had just remember this thread and thought it might be of use.  Yeah, I wasn't trying to say it was a replacement for a professional security system .  If that's what is needed then that's likely the best solution.  If the ask is for Kodi to provide a real time view into multiple cameras then this might work.  I haven't looked at the code for a while but does it allow you to select and stream from a specific camera if you see something interesting during the 1 second snapshots ?  


Thanks,

Jeff


This forum uses Lukasz Tkacz MyBB addons.