Difference between revisions of "Grandstream"

From ZoneMinder Wiki
Jump to navigationJump to search
(The same H264 streaming (rtsp) method worked fined with my GXP3610_HD camera.)
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
[[:File:Zoneminder_and_grandstream.pdf|Setup instructions]] Instructions provided by Grandstream to set up one of their cameras on a VMS Zoneminder install.   
[[:File:Zoneminder_and_grandstream.pdf|Setup instructions]] Instructions provided by Grandstream to set up one of their cameras on a VMS Zoneminder install.   


== GXV-3672-FHD IP Camera ==
== GXV-3672-FHD, GXV-3672-FHD-36 and GXP3610_HD IP Cameras ==
[[File:Gxv3672_sideview_1.jpg|150px]]
[[File:Gxv3672_sideview_1.jpg|150px]]




[http://www.grandstream.com/products/ip-video-surveillance/gxv3672 GXV-3272-FHD] Full HD camera, nighttime capability, supports a power over ethernet connection.  
[http://www.grandstream.com/products/ip-video-surveillance/gxv3672 GXV-3272-FHD] Full HD camera, nighttime capability, supports a power over ethernet connection.   FHD model uses an 8mm lens, FHD-36 model uses a 3.6 mm lens for a wider field of view.  FHD model has a BNC video connector.  FHD-36 has audio input and output connectors.


=== Notes ===
=== Notes ===
Line 21: Line 21:


==== Hardware ====
==== Hardware ====
Using three GXV-3672-FHD cameras on home built Core i7-3770 CPU @ 3.40GHz, 16GB, Asus P8Z77-V motherboard, at idle (monitoring the three low def feeds, no alerts) I see a load average about 0.6.
Using two GXV-3672-FHD cameras and two GXV-3672-FHD36 cameras on a home built Core i7-3770 CPU @ 3.40GHz, 8 core, 16GB, Asus P8Z77-V motherboard, at idle (monitoring the four low def feeds, no alerts) I see a load average right around 1.5.


=== Camera Settings ===
=== Camera Settings ===
Line 100: Line 100:


Link from Cam1 to Cam1-low.  Cam1-low is where the motion detection happens.  When it alarms and starts recording the HiDef feed also starts recording.
Link from Cam1 to Cam1-low.  Cam1-low is where the motion detection happens.  When it alarms and starts recording the HiDef feed also starts recording.
'''Leave "Maximum FPS" and "Alarm Maximum FPS" fields empty!'''.  If you match the frame rate as set in the camera you'll likely get false events due to image smearing.  I made that mistake and it took me a week to realize that I had inadvertently entered 10 for fps to match the camera.


[http://www.grandstream.com/products/surveillance/general/documents/grandstream_http_api.pdf API Document].
[http://www.grandstream.com/products/surveillance/general/documents/grandstream_http_api.pdf API Document].
=== Sample snapshot ===
[[File:Cam1.png|150px]]
== Grandstream GXV 3611 HD dome IP camera ==
=== Notes ===
==== Testing camera functionality ====
From Slackware 13.37 using vlc:
* '''firefox http://<ip addres>/snapshot/view0.jpg''' - The HiDef stream
* '''firefox http://<ip addres>/snapshot/view4.jpg''' - The LowDef stream
There you can see the sent frame.
==== ZM Version ====
I started out using zm 1.27.0 after some configuration issues things are working smooth now.
==== Hardware ====
Using two GXV-3611_HD cameras for now and two GXVxxxx cameras on a home built AMD Phenom 9400 CPU @ x.xxGHz, 4 core, 2GB, Asus P8Z77-V motherboard, at idle (monitoring the four low def feeds, no alerts) I see a load average right around x.x.
=== Camera Settings ===
Camera settings that appear to work well:
{| class="wikitable"
|-
| colspan="2" style="text-align: center;"| '''Primary Stream'''
|-
|Codec
|H264
|-
|Resolution
|1920x1080
|-
|Bit Rate
|4096
|-
|Max Frame Rate
|10
|-
| colspan="2" style="text-align: center;"| '''Secondary Stream'''
|-
|Codec
|H264
|-
|Resolution
|352x288
|-
| Bit Rate
| 384
|-
|Max Frame Rate
|10
|}
To enter into the camera and set the setting open a browser and go to the http://<CAM IP ADDRESS>, click on Configurations and enter the user and password,
the default is:
User: admin
Pass: admin
After that click on the Video&Audio link in the left side menu, and click on Primary Stream, adjust the resolution and save.
** Please note, that the selected resolution of the stream should be set exactly the same in the Monitor set up, otherwise you will not get a picture. **
=== ZM Monitors ===
Create two monitors, one for each of the streams.
{| class="wikitable"
|-
| colspan="2" style="text-align: center;"| HiDef
|-
| Name
| Monitor-1
|-
| Source Type
| Remote
|-
| Function
| Monitor
|-
| Source Path
| <cam ip address>
|-
| Remote Method
| Simple
|-
| Remote Host port
| 80
|-
| Remote Host path
| /snapshot/view0.jpg
|-
| Width & Height
| Match the camera's Primary stream settings
|
|}


[[Category:Cameras]]
[[Category:Cameras]]
[[Category:Network Cameras]]
[[Category:Network Cameras]]

Latest revision as of 20:33, 31 March 2016

Grandstream Networks produces a line of IP cameras, many with full HD capabilities.

Setup instructions Instructions provided by Grandstream to set up one of their cameras on a VMS Zoneminder install.

GXV-3672-FHD, GXV-3672-FHD-36 and GXP3610_HD IP Cameras

Gxv3672 sideview 1.jpg


GXV-3272-FHD Full HD camera, nighttime capability, supports a power over ethernet connection. FHD model uses an 8mm lens, FHD-36 model uses a 3.6 mm lens for a wider field of view. FHD model has a BNC video connector. FHD-36 has audio input and output connectors.

Notes

Testing camera functionality

From Fedora 20, CentOS 6.5 or Scientific Linux 6.5 using vlc:

  • vlc rtsp://<ip addres>/0 - The HiDef stream
  • vlc rtsp://<ip addres>/4 - The LowDef stream

That showed me the camera was working well, had a stable stream with good resolution on both streams.

ZM Version

I started out using zm 1.26 and had a few minor issues that I was working through. Then I got ahold of the 1.27beta and pretty much all my minor issues were fixed. Now running under 1.27 things are working smooth.

Hardware

Using two GXV-3672-FHD cameras and two GXV-3672-FHD36 cameras on a home built Core i7-3770 CPU @ 3.40GHz, 8 core, 16GB, Asus P8Z77-V motherboard, at idle (monitoring the four low def feeds, no alerts) I see a load average right around 1.5.

Camera Settings

Camera settings that appear to work well:

Primary Stream
Codec H264
Resolution 1920x1080
Bit Rate 4096
Max Frame Rate 10
Secondary Stream
Codec H264
Resolution 352x288
Bit Rate 384
Max Frame Rate 10

One oddity: the HiDef stream is detected by vlc as 1920x1088, that is what needs to be set for the monitor.

ZM Monitors

Create two monitors, one for each of the streams.

HiDef
Name Cam1
Source Type Ffmpeg
Function Nodect
Source Path rtsp://<ip address>/0?tcp
Width & Height Match the camera's Primary stream settings
LowDef
Name Cam1-low
Source Type Ffmpeg
Function Modect
Source Path rtsp://<ip address>/4?tcp
Width & Height Match the camera's Secondary stream settings

Link from Cam1 to Cam1-low. Cam1-low is where the motion detection happens. When it alarms and starts recording the HiDef feed also starts recording.

Leave "Maximum FPS" and "Alarm Maximum FPS" fields empty!. If you match the frame rate as set in the camera you'll likely get false events due to image smearing. I made that mistake and it took me a week to realize that I had inadvertently entered 10 for fps to match the camera.

API Document.

Sample snapshot

Cam1.png

Grandstream GXV 3611 HD dome IP camera

Notes

Testing camera functionality

From Slackware 13.37 using vlc:

  • firefox http://<ip addres>/snapshot/view0.jpg - The HiDef stream
  • firefox http://<ip addres>/snapshot/view4.jpg - The LowDef stream

There you can see the sent frame.

ZM Version

I started out using zm 1.27.0 after some configuration issues things are working smooth now.

Hardware

Using two GXV-3611_HD cameras for now and two GXVxxxx cameras on a home built AMD Phenom 9400 CPU @ x.xxGHz, 4 core, 2GB, Asus P8Z77-V motherboard, at idle (monitoring the four low def feeds, no alerts) I see a load average right around x.x.

Camera Settings

Camera settings that appear to work well:

Primary Stream
Codec H264
Resolution 1920x1080
Bit Rate 4096
Max Frame Rate 10
Secondary Stream
Codec H264
Resolution 352x288
Bit Rate 384
Max Frame Rate 10

To enter into the camera and set the setting open a browser and go to the http://<CAM IP ADDRESS>, click on Configurations and enter the user and password, the default is: User: admin Pass: admin

After that click on the Video&Audio link in the left side menu, and click on Primary Stream, adjust the resolution and save.

    • Please note, that the selected resolution of the stream should be set exactly the same in the Monitor set up, otherwise you will not get a picture. **


ZM Monitors

Create two monitors, one for each of the streams.

HiDef
Name Monitor-1
Source Type Remote
Function Monitor
Source Path <cam ip address>
Remote Method Simple
Remote Host port 80
Remote Host path /snapshot/view0.jpg
Width & Height Match the camera's Primary stream settings