I can't add a cameras

Forum for questions and support relating to the 1.30.x releases only.
Locked
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

I can't add a cameras

Post by Nesti »

Hi, my language not is English, I'm sorry by this.
I'm new in this forum and it's the first time I'm use this software.

I have a problem, I have installed zoneminder in a clean version of ubuntu server 16.04 and it seems to work, but when I go to adding a camera doesn't work, the log file informs to me of several errors and I don't know how to solve it.
Can someone help to me?

I upload a picture of the log file
Image

The version of ZM
Image

when I'm trying see the camera
Image

Thanks u and best regards
digital-gnome
Posts: 17
Joined: Mon Sep 04, 2017 12:47 am

Re: I can't add a cameras

Post by digital-gnome »

Try using ffmpeg as your source instead of remote.
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: I can't add a cameras

Post by bbunge »

What camera are you using? What install instructions did you use?
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

digital-gnome wrote: Wed Nov 29, 2017 9:04 pm Try using ffmpeg as your source instead of remote.

Hi, I have done what you have indicated to me, this is what the log file indicates

but this no work :'(

Image

bbunge wrote: Wed Nov 29, 2017 9:57 pm What camera are you using?
Dlink DCS2121
bbunge wrote: Wed Nov 29, 2017 9:57 pmWhat install instructions did you use?
I used the instructions on the official website

http://zoneminder.readthedocs.io/en/lat ... untu-16-04
digital-gnome
Posts: 17
Joined: Mon Sep 04, 2017 12:47 am

Re: I can't add a cameras

Post by digital-gnome »

Test the camera with VLC if you can, or some other rtsp viewer. It looks like the url should be

Code: Select all

rtsp://[username]:[password]@[IPADDRESS]/play2.sdp
without the brackets. Using VLC to test helps eliminate any problems there might be with your zoneminder install. It looks like it's getting a login message instead of a stream.
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: I can't add a cameras

Post by bbunge »

Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

digital-gnome wrote: Wed Nov 29, 2017 10:26 pm Test the camera with VLC if you can, or some other rtsp viewer. It looks like the url should be

Code: Select all

rtsp://[username]:[password]@[IPADDRESS]/play2.sdp
without the brackets. Using VLC to test helps eliminate any problems there might be with your zoneminder install. It looks like it's getting a login message instead of a stream.
Ok, i going to test it.
And other things, somebody know the direction web of a free camera whit work fine for make a test?

Thanks u
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: I can't add a cameras

Post by bbunge »

Nesti wrote: Thu Nov 30, 2017 10:11 am
digital-gnome wrote: Wed Nov 29, 2017 10:26 pm Test the camera with VLC if you can, or some other rtsp viewer. It looks like the url should be

Code: Select all

rtsp://[username]:[password]@[IPADDRESS]/play2.sdp
without the brackets. Using VLC to test helps eliminate any problems there might be with your zoneminder install. It looks like it's getting a login message instead of a stream.
Ok, i going to test it.
And other things, somebody know the direction web of a free camera whit work fine for make a test?

Thanks u
Spain Camera.jpg
Spain Camera.jpg (49.19 KiB) Viewed 14733 times
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

does not work in VLC and no work in ZM :cry:

Log ZM:
Image

VLC:
Image

Image

The VLC is in windows, I can't in ubuntu because it is ubuntu server without graphic mode, sorry :oops:
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: I can't add a cameras

Post by bbunge »

Sure does work
Clipboard01.jpg
Clipboard01.jpg (51.08 KiB) Viewed 14723 times
This is what you use in VLC even Windows version: http://212.170.22.153:8080/mjpg/video.mjpg
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: I can't add a cameras

Post by bbunge »

With your DCS-2121 camera you have two options in Zoneminder

1- JPG Stills:
Source Type: Remote
Remote Host Name: username:password@cam_ip
Remote Host Port: 80
Remote Host Path: /image/jpeg.cgi?profileid=1

or

2- MJPEG:
Source Type: Remote
Remote Host Name: username:password@cam_ip
Remote Host Port: 80
Remote Host Path: /video/mjpg.cgi
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

Hello, at now VLC work fine, but I don't understand one thing.

In the VLC, if I put the ip address just doesn't work, example:
212.170.22.153

If I put the address of the website just like on the web doesn't work, example:
http://212.170.22.153:8080/view/viewer_ ... html?id=22
Image


But if I put 212.170.22.153:8080/mjpg/video.mjpg it's works fine.
Image

why?
I'm sorry for my ignorance :oops:
mikb
Posts: 655
Joined: Mon Mar 25, 2013 12:34 pm

Re: I can't add a cameras

Post by mikb »

It is probably because "212.170.22.153:8080/mjpg/video.mjpg" is the raw video stream, which is what Zoneminder wants,

and

"212.170.22.1453:8080/view/viewer/...?id=22" is serving up an HTML page which surrounds the raw video stream, and Zoneminder has no idea what to do with all that HTML -- it is not a web browser.
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

The test has already done, in the VLC works perfect but in Zoneminder I still have problems.
Can someone help to me?

Thanks u



Image
Nesti
Posts: 15
Joined: Wed Nov 29, 2017 5:52 pm

Re: I can't add a cameras

Post by Nesti »

Hi all, I think I have solved the problem, in part. I did not complete the zoneminder installation, I lacked to establish the path of the files.
Image

But now I have another problem, I think it's something from the FSR, can someone help me?
Image
Locked