You may be able to send files from the camera to your local machine using FTP. If you can get access to the files on the camera, through telnet, or through exploiting a vulnerability in the camera, then you can look around for paths. You may also come across a telnet or ssh password, which can be used to gain access to the camera OS. Ispyconnect has a large database of URLs available for cameras. You can also use other Onvif probe programs. Starting with Zoneminder 1.30.4 there is an onvif probe option in the camera configuration.
If you bought an unbranded cheap camera or one of the proprietary cameras sold in retail stores then you must move onto the other options.
Reputable name brand cameras ( Axis, Arecont Vision, Foscam, many others) will offer stream paths in the user manual or website. Note that the results you get from cameras will differ depending on how you connect to the camera (whether you choose, remote, ffmpeg, or libvlc in ZM).
If you are unsure how to fill in the information into Zoneminder, refer to the Hardware Compatibility List for other cameras, and copy them. Most cameras require username/password.Not all fields are required to be filled in for Zoneminder. See the Hardware Compatibility List for more details. Note that the above are examples for RTSP. If the stream connects, it will provide you with some information about the stream encoding, and also the resolution. If you want to test from the terminal without X, you can use ffmpeg Port for RTSP is usually but not always 554. use the info that works in ffmpeg or vlc in zm.Įasy tools to quickly check whether a stream path works in ZM or not are VLC and Ffmpeg.Īs an example, VLC from the gui (file -> connect to network stream) would connect with a path possibly the hardware compatibility lists for more details.Verify that ffmpeg / vlc works (see below for examples of usage).Important!!!: While doing this testing, you want to keep in mind the following:
For new users who install using the recommended install guides, this should not be a concern.
The following settings are from a github thread. Using FFMPEG appears to be alot more flexible when tweaking the camera's capture dimensions.įor the FI9821P the following FFMPEG settings work in Zoneminder 1.28.1 It appears that when one seeks the information for the Foscam FI9821P you only get detail for the FI89XX seriesįor the FI9821P the following HTTP settings work in Zoneminder 1.28.1įor Source type = Remote and using Remote Protocol "HTTP", Remote Method "Simple", Remote Host Name "IP of Cam, Remote Host "Port # of Cam" Then Remote Host Path isĬgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=username&pwd=password This camera uses the same firmware as many other Foscam cameras, which means one of the PTZ control scripts already included in ZoneMinder will likely work. I changed my camera from the default http port of port 88 to the normal default of port 80, the URL must be changed accordingly. or for 320x240 resolution to conserve bandwidth. The Foscam FI9821P is a H.264 Pan/Tilt camera with a default resolution of 1280x720.Ĭonnecting to the camera is via FFMpeg in Zoneminder, using the URL i.e.