Page 1 of 1

Accessing V4L cameras on *other* devices!!

Posted: Thu Jan 03, 2019 3:33 pm
by Kamoshiyaan
What kind of sorcery must I endure?

I have a few systems on my network. 1- with a geovision 4-port encoder card, and 2- raspberry pi with a USB webcam. Both devices have a /dev/video0 node supported by v4l.

I'd like to connect to these cameras from my main zoneminder box. Is there some way to make those cameras network-accessible without installing zoneminder on those, also?

Re: Accessing V4L cameras on *other* devices!!

Posted: Thu Jan 03, 2019 4:37 pm
by rockedge
there is a way to stream the cameras that would be accessible over the LAN using FFSERVER. I have used this method successfully with ZM but I have not done this in a while so I am rusty. Here is a link that has info to get you started.
https://organicdesign.nz/Simple_video_s ... h_ffserver

But I found out ffserver is depreciated and is replace by this promising program
https://github.com/klaxa/mkvserver_mk2

Re: Accessing V4L cameras on *other* devices!!

Posted: Thu Jan 03, 2019 5:16 pm
by rockedge
there is also a way to stream with VLC that can be captured by ZM

Re: Accessing V4L cameras on *other* devices!!

Posted: Sat Jan 05, 2019 11:02 pm
by Sigge
I was experimenting with v4l2rtspserver on SBC:s and USB cams. My goal was to stream 3 Logitech C930e from RAW max resolution through v4l2tools.

This worked well at moderate resolutions but I had some problems at highest settings. Unfortunately my cams were fried by lightning so I never finished the setup. Also my MB got toasted. Might want to avoid USB stuff on top of roofs :)


https://github.com/mpromonet/v4l2rtspserver
https://github.com/mpromonet/v4l2tools