Adding a password protected stream to Zm (PROBLEM)

Forum for questions and support relating to the 1.30.x releases only.
Locked
mhyvarinen
Posts: 3
Joined: Tue Oct 09, 2018 11:25 am

Adding a password protected stream to Zm (PROBLEM)

Post by mhyvarinen »

Hi,

I'm having a bit of an issue with linking my stream to Zoneminder. I have a standard Raspberry Pi 3 with camera module and I'm streaming footage to Zoneminder via UV4l-server with h.264 coding.

I have Zoneminder running on an external computer and my question is: Is it a possible to add a password protected stream to Zoneminder?

Adding the stream with no password worked like a charm.

Source Type: Ffmepg
Source Path: http://raspberrypiname:8080/stream/video.h264

UV4l -servers user interface is not password protected by default and in the end this makes the stream available to anyone who knows the address and setting a password protection to the user interface naturally blocked the feed to Zoneminder and all I've left with is a blue screen.

So Is it possible to add authentication information (username, password) to source path or in some config files to make the feed available to Zoneminder once again while the stream is protected with password?

Thank you so much in advance!
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Adding a password protected stream to Zm (PROBLEM)

Post by rockedge »

Is it a possible to add a password protected stream to Zoneminder?

yes

try in your FFMPEG source path something like this with user=admin and password=admin as the example

Code: Select all

http://admin:admin@raspberrypiname:8080/stream/video.h264
or

Code: Select all

http://raspberrypiname:8080/stream/video.h264?user=admin&passwd=admin
something along those lines. you may put the user and password in the ffmpeg options field under Source as well I think.
mhyvarinen
Posts: 3
Joined: Tue Oct 09, 2018 11:25 am

Re: Adding a password protected stream to Zm (PROBLEM)

Post by mhyvarinen »

Thank you! That worked perfectly!
Locked