RTSP works in VLC, not Zoneminder

Forum for questions and support relating to the 1.30.x releases only.
Locked
tjoynt
Posts: 5
Joined: Sun May 28, 2017 4:06 pm

RTSP works in VLC, not Zoneminder

Post by tjoynt »

I have an Amcrest IPM-743es camera, and I'm trying to set it up on Zoneminder.
Using the details here:
https://wiki.zoneminder.com/Amcrest

I can successfully watch my stream in VLC. However once I put it in Zoneminder, it does not work.
I did notice that under Source>Remote Method> there is no RTSP settings to choose, its just TCP/UDP/etc.

Is there something I am doing wrong?
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: RTSP works in VLC, not Zoneminder

Post by rockedge »

You said that it works in VLC. So, in Zoneminder use Source ffmpeg and enter the string you used in VLC/Network Stream in Zoneminder Source Path.

VLC will show the resolution of the camera in Tools/Media Information/Codec/Display Resolution. Use what is shown or reduce that value by half. For example my camera can do 1280X720, 640x360, 320x180

there has been changes to the "Remote" method involving RTSP.
Maybe some insight hopefully.
tjoynt
Posts: 5
Joined: Sun May 28, 2017 4:06 pm

Re: RTSP works in VLC, not Zoneminder

Post by tjoynt »

Thanks, but thats what I've done.
Tried 1280x962, 1280x960, 640x481,640x480. Nothing.
ttaha
Posts: 2
Joined: Mon May 29, 2017 12:30 pm

Re: RTSP works in VLC, not Zoneminder

Post by ttaha »

Same thing is happening to me with a Hikvision Camera!
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: RTSP works in VLC, not Zoneminder

Post by bbunge »

If you get a blue screen then your resolution setting in Zoneminder is not right. The resolution is not what the camera says it is set at but what you see from VLC: VLC will show the resolution of the camera in Tools/Media Information/Codec/Display Resolution. Use what is shown or reduce that value by half.

Use the FFMPEG and the source path of: rtsp://[username]:[password]@[deviceIP]:554/cam/realmonitor?channel=1&subtype=0 (omit brackets) or use the source path you used in VLC

Remote method should be left to TCP and options blank. Use 32 bit color

and make sure you have the capture width and height correct!!!
tjoynt
Posts: 5
Joined: Sun May 28, 2017 4:06 pm

Re: RTSP works in VLC, not Zoneminder

Post by tjoynt »

No blue screen, I get this:

Image
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: RTSP works in VLC, not Zoneminder

Post by rockedge »

If you select Zones to edit the settings, can you see an image?
that may be a /cgi-bin problem. Meaning the config with Apache and ZM concerning the path to the /cgi-bin does not match some other settings dealing with the path of /cgi-bin. Check your Options->Paths->PATH_ZMS setting as well.
Failing to run zms or nph-zms in the /cgi-bin gives results like your seeing when looking at a stream. This will more than likely be the problem if when Editing a zone you can see an image.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: RTSP works in VLC, not Zoneminder

Post by bbunge »

So, I guess we should ask what install instructions you used for Zoneminder?
tjoynt
Posts: 5
Joined: Sun May 28, 2017 4:06 pm

Re: RTSP works in VLC, not Zoneminder

Post by tjoynt »

Nothing shown in Zones.

@bbunge, i used the guide on the wiki.

I just noticed ONVIF and the camera shows up there, so i ran the command that it has at the of the error

/usr/bin/zmonvif-probe.pl profiles http://192.168.1.4/onvif/device_service 1.1 user pass

and get this:

e_service 1.1 user pass
ERror cannot add_IPFilter
ERror cannot add_ZeroConfiguration
ERror cannot add_IPVersion6
ERror cannot add_DynDNS
ERror cannot add_Extension
ERror cannot add_DiscoveryResolve
ERror cannot add_DiscoveryBye
ERror cannot add_RemoteDiscovery
ERror cannot add_SystemBackup
ERror cannot add_SystemLogging
ERror cannot add_FirmwareUpgrade
ERror cannot add_SupportedVersions
ERror cannot add_SupportedVersions
ERror cannot add_SupportedVersions
ERror cannot add_SupportedVersions
ERror cannot add_SupportedVersions
ERror cannot add_Extension
ERror cannot add_TLS1__1
ERror cannot add_TLS1__2
ERror cannot add_OnboardKeyGeneration
ERror cannot add_AccessPolicyConfig
ERror cannot add_X__509Token
ERror cannot add_SAMLToken
ERror cannot add_KerberosToken
ERror cannot add_RELToken
ERror cannot add_Extension
Nothing returned ffrom get_PTZ
<Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"/>
tjoynt
Posts: 5
Joined: Sun May 28, 2017 4:06 pm

Re: RTSP works in VLC, not Zoneminder

Post by tjoynt »

the ZMS thing worked. thanks guys!!
Locked