Difference between revisions of "Escam"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
I've tested QD300 so far. I am told QD900 will be the same


These are the settings for QD300.
=QD900 settings=
For RTSP feed, set ZM source to ffmpeg (or libvlc, but in my testing libvlc is less reliable).
 
====Configuring it via FFMPEG====
* General
**Source Type-->Ffmpeg
 
* Source
** Source Path
*** For primary stream: '''rtsp://<cameraip>:554/11'''
====Configuring it via MJPEG====
* General
**Source Type-->Remote
* Source
** Remote Protocol
*** HTTP
** Remote Method
*** Simple
** Remote Host Name
*** <camera ip>
** Remote Port
*** 80
** Remote Host Path
*** /cgi-bin/hi3510/snap.cgi?&-getstream&-chn=1
 
 
 
 
=QD300 settings=


==In camera settings==
==In camera settings==
Note: these are settings I made directly in the camera's UI - I did not install Escam's CMS software
QD300 allows you to configure both a primary and secondary stream. You can set it up in the  "device config->Encode" section of the camera
QD300 allows you to configure both a primary and secondary stream. You can set it up in the  "device config->Encode" section of the camera


In this example, I've enabled the primary stream and disabled the secondary stream. You can enable both. Note that I've set the FPS to 3 as its a good idea to reduce FPS in-camera and not ZoneMinder. Set it to a value that makes sense for you.


[[File:Qd300-settings.png]]
[[File:Qd300-settings.png]]


==ZoneMinder settings==
You can either configure the camera using FFmpeg or native RTSP
====Configuring it via FFMPEG====
* General
**Source Type-->Ffmpeg
* Source
** Source Path
*** For primary stream: '''rtsp://<cameraip>:554/user=<username>&password=<password>&channel=1&stream=0.sdp'''
*** For secondary stream: '''rtsp://<cameraip>:554/user=<username>&password=<password>&channel=2&stream=0.sdp'''
** Remote Method: RTP/RTSP
** Options: keep empty
** Target colorspace: 32 bit
** Capture Width and Height
*** For primary stream: 1280 and 720
*** For secondary stream: if you are using CIF, its 352 and 288 respectively
You don't need to change anything else
====Configuring it via native RTSP====
Note that using the native RTSP player in ZM results in error frames while decoding what seems to be key frames.
Here is the error I see (even though it actually seems to perform better than FFMPEG mode)
zmc_m7[27558]: ERR [Error while decoding frame 1116]
zmc_m7[27558]: ERR [8: 00 00 01 06 e5 01 2c 80]
* General
**Source Type-->Remote
* Source
** Remote Protocol: RTSP
** Remote Method: RTP/RTSP
** Remote Host Name: <IP address of FQDN of camera>
** Remote Host Port: 554
** Remote Host Path:
*** For primary stream: '''/user=<username>&password=<password>&channel=1&stream=0.sdp'''
*** For secondary stream: '''/user=<username>&password=<password>&channel=1&stream=0.sdp'''


You have two methods to access the images (see Remote Host Path):
** Target colorspace: 32 bit
** Capture Width and Height
*** For primary stream: 1280 and 720
*** For secondary stream: if you are using CIF, its 352 and 288 respectively


* Remote Protocol: HTTP
You don't need to change anything else
* Remote Method: Simple
* Remote Host Name: {username}:{password}@{camera ip}
* Remote Host Port: 80
* Remote Host Path: /videostream.cgi? (i need to use /videostream.cgi?resolution=32&rate=0& to get the highest resolution and fps)
* or
* Remote Host Path: /snapshot.cgi?
* Remote Image colors: 24 bit
* Capture Width: 640
* Capture Height: 480
Select the right resolution for the camera, such as 640x480.
To set the resolution for the camera, use a web browser and go to the configuration page of the camera. While in the configuration page, also set the the username and password accordingly.

Latest revision as of 10:45, 10 December 2015

QD900 settings

For RTSP feed, set ZM source to ffmpeg (or libvlc, but in my testing libvlc is less reliable).

Configuring it via FFMPEG

  • General
    • Source Type-->Ffmpeg
  • Source
    • Source Path
      • For primary stream: rtsp://<cameraip>:554/11

Configuring it via MJPEG

  • General
    • Source Type-->Remote
  • Source
    • Remote Protocol
      • HTTP
    • Remote Method
      • Simple
    • Remote Host Name
      • <camera ip>
    • Remote Port
      • 80
    • Remote Host Path
      • /cgi-bin/hi3510/snap.cgi?&-getstream&-chn=1



QD300 settings

In camera settings

Note: these are settings I made directly in the camera's UI - I did not install Escam's CMS software

QD300 allows you to configure both a primary and secondary stream. You can set it up in the "device config->Encode" section of the camera

In this example, I've enabled the primary stream and disabled the secondary stream. You can enable both. Note that I've set the FPS to 3 as its a good idea to reduce FPS in-camera and not ZoneMinder. Set it to a value that makes sense for you.

Qd300-settings.png

ZoneMinder settings

You can either configure the camera using FFmpeg or native RTSP

Configuring it via FFMPEG

  • General
    • Source Type-->Ffmpeg
  • Source
    • Source Path
      • For primary stream: rtsp://<cameraip>:554/user=<username>&password=<password>&channel=1&stream=0.sdp
      • For secondary stream: rtsp://<cameraip>:554/user=<username>&password=<password>&channel=2&stream=0.sdp
    • Remote Method: RTP/RTSP
    • Options: keep empty
    • Target colorspace: 32 bit
    • Capture Width and Height
      • For primary stream: 1280 and 720
      • For secondary stream: if you are using CIF, its 352 and 288 respectively

You don't need to change anything else

Configuring it via native RTSP

Note that using the native RTSP player in ZM results in error frames while decoding what seems to be key frames.

Here is the error I see (even though it actually seems to perform better than FFMPEG mode)

zmc_m7[27558]: ERR [Error while decoding frame 1116]
zmc_m7[27558]: ERR [8: 00 00 01 06 e5 01 2c 80]


  • General
    • Source Type-->Remote
  • Source
    • Remote Protocol: RTSP
    • Remote Method: RTP/RTSP
    • Remote Host Name: <IP address of FQDN of camera>
    • Remote Host Port: 554
    • Remote Host Path:
      • For primary stream: /user=<username>&password=<password>&channel=1&stream=0.sdp
      • For secondary stream: /user=<username>&password=<password>&channel=1&stream=0.sdp
    • Target colorspace: 32 bit
    • Capture Width and Height
      • For primary stream: 1280 and 720
      • For secondary stream: if you are using CIF, its 352 and 288 respectively

You don't need to change anything else