Page 2 of 4

Re: Camera Settings for D-link DCS943L

Posted: Wed May 07, 2014 5:42 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 5:54 pm
by rodeored
The camera is The DCS-942L, which is listed
Sorry, that was my typo in the subject

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 6:24 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 6:40 pm
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?

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 8:30 pm
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]

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 8:35 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 8:47 pm
by rodeored
When you say "I would try it with libvlc" I have no idea what that means. How do I switch to libvlc?

Re: Camera Settings for D-link DCS942L

Posted: Wed May 07, 2014 9:29 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 5:13 pm
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

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 5:52 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 6:33 pm
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

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 6:39 pm
by linuxsense
At the least your 'PATH' env var is not setup properly. Read this: https://wiki.archlinux.org/index.php/En ... _variables

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 6:40 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 6:44 pm
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.

Re: Camera Settings for D-link DCS942L

Posted: Tue May 13, 2014 8:16 pm
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)?