Difference between revisions of "Grandstream"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 7: Line 7:




[http://www.grandstream.com/products/ip-video-surveillance/gxv3672 GXV-3272-FHD] Full HD camera, nighttime capability, supports a power over ethernet connection. Still looking for a good configuration for this camera.  So far I've had little luck getting a setup that allows monitoring the camera. 
[http://www.grandstream.com/products/ip-video-surveillance/gxv3672 GXV-3272-FHD] Full HD camera, nighttime capability, supports a power over ethernet connection.  


From Fedora 20 using vlc and can get a decent streaming feed
From Fedora 20 or Scientific Linux 6.5 using vlc:
* '''vlc rtsp://<ip addres>/0''' - Codec info: Motion JPEG Video at 1280x720, Decoded format: Planar 4:2:0 YUV full scale
* '''vlc rtsp://<ip addres>/0''' - The HiDef stream
* '''vlc rtsp://<ip addres>/1''' - Codec info: Motion JPEG Video at 480x272, Decoded format: Planar 4:2:0 YUV full scale
* '''vlc rtsp://<ip addres>/4''' - The LowDef stream
* '''vlc rtsp://<ip addres>/2''' - Codec info: Motion JPEG Video at 480x272, Decoded format: Planar 4:2:0 YUV full scale
* '''vlc rtsp://<ip addres>/3''' - Codec info: Motion JPEG Video at 480x272, Decoded format: Planar 4:2:0 YUV full scale


   
Create two monitors, one for each of the streams.
[http://www.grandstream.com/products/surveillance/general/documents/grandstream_http_api.pdf API Document].
 
{| class="wikitable"
|-
| colspan="2" style="text-align: center;"| HiDef
|-
| Source Type
| Ffmpeg
|-
| Function
| Nodect
|-
| Source Path
| rtsp://<ip address>/0?tcp
|-
| Width & Height
| Match the camera's Primary stream settings
|-
| colspan="2" style="text-align: center;"| LowDef
|-
| Source Type
| Ffmpeg
|-
| Function
| Modect
|-
| Source Path
| rtsp://<ip address>/4?tcp
|-
| Width & Height
| Match the camera's Primary stream 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
|}
 
Created the HiDef stream as Cam1, LowDef as Cam1-low. Linked 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.
 
[http://www.grandstream.com/products/surveillance/general/documents/grandstream_http_api.pdf API Document].


== Some Progress ==
== Some Progress ==

Revision as of 15:06, 17 March 2014

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 IP Camera

Gxv3672 sideview 1.jpg


GXV-3272-FHD Full HD camera, nighttime capability, supports a power over ethernet connection.

From Fedora 20 or Scientific Linux 6.5 using vlc:

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

Create two monitors, one for each of the streams.

HiDef
Source Type Ffmpeg
Function Nodect
Source Path rtsp://<ip address>/0?tcp
Width & Height Match the camera's Primary stream settings
LowDef
Source Type Ffmpeg
Function Modect
Source Path rtsp://<ip address>/4?tcp
Width & Height Match the camera's Primary stream 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

Created the HiDef stream as Cam1, LowDef as Cam1-low. Linked 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.

API Document.

Some Progress

Key Value
Source Type Remote
Remote Protocol HTTP
Remote Method Simple
Remote Host Name IP or hostname
Remote Host Port 80
Remote Host Path /snapshot/view0.jpg High Res 1920x1088
/snapshot/view4.jpg Low Res 320x240

As I understand things: This is just pulling images one at a time, instead of watching a video stream. Seems like not the best way of configuring things for this camera.