Camera Settings for D-link DCS942L

Forum for questions and support relating to the 1.27.x releases only.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Camera Settings for D-link DCS943L

Post by TheKorn »

rodeored wrote:Doesn't the fact that its listed on this page mean its supported?
http://www.zoneminder.com/wiki/index.php/D-Link
The DCS-943L isn't listed on that page.
I tried :554/play2.sdp and /play2.sdp with and without authentication,
all four times it comes up with
live555 error: SETUP of'audio/PCMU' failed RTSP response was truncated. Increase "RTSPClient::responseBufferSize"
live555 error: no data received in 10s, aborting
No ideas, sorry. Something is failing in the audio stream. Sounds like the camera isn't sending something VLC is looking for. I'd ask on the VLC forums with that info.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

The camera is The DCS-942L, which is listed
Sorry, that was my typo in the subject
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

I did finally get it to work in vlc by removing windows firewall.
that won't help me get it working in zoneminder except to prove that the camera works for streaming.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

rodeored wrote:I did finally get it to work in vlc by removing windows firewall.
that won't help me get it working in zoneminder except to prove that the camera works for streaming.
What is the URL you used to view it in VLC?
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

rtsp://192.168.0.7:554/play2.sdp

It works without the authentication so I did learn 1 thing, that the authentication that I set up in the set up is for the web page that came with the camera and not the camera itself.

Now presumably I have to use that same url somewhere in Zoneminder. Zoneminder seems to want me to input the ip address and the path separately.

Under "General" I have
Source Type: remote

Under source I have
Remote Protocul:rtsp
Remote Method : rtp/rtsp
Remote Host Name: 192.168.0.7:554
Remote Host Path:/play2.sdp

I am also getting a message to install ffmpeg, which I thought I already had. I'm installing it again, but its taking a while, so I guess I didn't have it.

Still no picture. I'm getting
socket_sendto( /var/lib/zoneminder/sock/zms-724324s.sock ) failed: No such file or directory]
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

I would try it with libvlc and just add "rtsp://192.168.0.7:554/play2.sdp" to the "Source Path". That is how I run my rtsp cams.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

When you say "I would try it with libvlc" I have no idea what that means. How do I switch to libvlc?
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

rodeored wrote:When you say "I would try it with libvlc" I have no idea what that means. How do I switch to libvlc?
You need to have compiled zoneminder with the vlc libs installed for it to be enabled, same as ffmpeg. If you built it without ffmpeg and libvlc you will need to add the appropriate libs and build zoneminder again. If you have done that you should have an option on the monitor setup page to select ffmpeg or libvlc as the 'Source Type'.

Image
Image

Some cameras work better with libvlc and some work better with ffmpeg. For mine libvlc is pretty flawless.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

I've been trying to figure out how to build zoneminder.
Do you know why
wget http://www.zoneminder.com/downloads/Zon ... 5.0.tar.gz
results in wget: no such file or directory?

Actually I have to do it like this:
sh wget http://www.zoneminder.com/downloads/Zon ... 5.0.tar.gz
or it doesn't recognize wget
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

rodeored wrote:I've been trying to figure out how to build zoneminder.
Do you know why
wget http://www.zoneminder.com/downloads/Zon ... 5.0.tar.gz
results in wget: no such file or directory?
Yep, I know why.

Why are you attempting to download zoneminder 1.25? If you are going to be building zm from source you should be using the latest snapshot from the git repo of 1.27.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

Why doesn't it work?
wget https://github.com/ZoneMinder/ZoneMinde ... 7.0.tar.gz

Same thing, wget: no such file or directory
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

At the least your 'PATH' env var is not setup properly. Read this: https://wiki.archlinux.org/index.php/En ... _variables
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Camera Settings for D-link DCS942L

Post by TheKorn »

Are you sure you have wget installed? All three of your wget commands work here. (Along with simply fetching the file with a regular web browser!)

Try running wget with no arguments. If it fails, you don't have wget installed.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Camera Settings for D-link DCS942L

Post by linuxsense »

TheKorn wrote:Are you sure you have wget installed? All three of your wget commands work here. (Along with simply fetching the file with a regular web browser!)

Try running wget with no arguments. If it fails, you don't have wget installed.
Looks like its installed but its not in the PATH for the shell he is using.
rodeored
Posts: 74
Joined: Wed Apr 30, 2014 7:49 pm

Re: Camera Settings for D-link DCS942L

Post by rodeored »

That was the problem I didn't have wget. I thought the message was referring to the file on the internet.
Now for ./configure I'm getting
no such file or directory.

I have no idea why.
I'm in the unpacked ZoneMinder directory,
ZoneMinder-1.27.0
What could be the problem ? and
Are there some up to date instructions anywhere for building ZoneMaster (on Fedora)?
Locked