Vstarcam C24S
Posted: Wed Aug 23, 2017 10:32 am
Greetings
Thought I'd share my experience and tips for getting the VstarCam C42S working with Zoneminder - PTZ inclusive.
http://www.vstarcam.com/VStarcam-C24S-2 ... a-199.html - basic IP camera with PTZ and IR, supporting ONVIF and P2P.
Discovery
The windows ONVIF Device Manager tool was an excellent debugging aid along with Firefox network capture. The camera does have an HTTP web application interface but the HTTP port seems to float until you statically set it.
PTZ controls seem to be based around a variant of the IPCAM protocol (decoder_control.cgi). Attached is my Vstarcam_C24S.pm control file for installation in perl5/ZoneMinder/Control. I cloned this from the Foscam FI8918W module which has most of the same control commands and operation principles.
Zoneminder setup
Zoneminder's ONVIF discovery works nicely and sets up the device using FFmpeg source type. The camera also works fine using manually set remote source type and RTSP settings, you just have to get the authentication and port sytnax correct.
Sourcetype: FFMpeg
SourcePath (example): rtsp://admin:XXXXXX@192.168.XX.YY:10554/tcp/av0_1
Capture Width: 640
Capture height: 480
Higher resolutions worked ok. Using the windows tool I could set the video stream type and resolution: h264, mjpeg4 etc. h264 works fine.
Control setup
Added a new camera control (Vstarcam_C24S).
Control Type = Vstarcam_C24S
Control Device = loginuse=admin&loginpas=XXXXXX
Control Address = 192.168.XX:YY:47785 - need to discover your own port and use with the window app or the browser app to statically set the IP
Auto stop timeout = 0.10 - camera PTZ is based around start continuous movement and explicit stop. Over the internet this is too slow. The autostop give a click incremental movement.
PTZ Control Details
Name = Vstarcam_C24S
Type = Remote
Protocol = Vstarcam_C24S, i.e. the perl module file name less extension
Can Wake
Can Sleep
Can Reset
Can Move
Can Move Diagonally
Can Move Continuous
Can Pan
Can Tilt
Can White Balance (Contrast)
Can White Bal Absolute
Min White Bal Range = 1
Max White Bal Range = 238
Min White Bal Step = 1
Max White Bal Step = 10
Can Iris (Brightness)
Can Iris Absolute
Min Iris Range = 1
Max Iris Range = 238
Min Iris Step = 1
Max Iris Step = 10
Has Presets
Num Presets = 16
Has Home Presets
Can Set Presets
Thought I'd share my experience and tips for getting the VstarCam C42S working with Zoneminder - PTZ inclusive.
http://www.vstarcam.com/VStarcam-C24S-2 ... a-199.html - basic IP camera with PTZ and IR, supporting ONVIF and P2P.
Discovery
The windows ONVIF Device Manager tool was an excellent debugging aid along with Firefox network capture. The camera does have an HTTP web application interface but the HTTP port seems to float until you statically set it.
PTZ controls seem to be based around a variant of the IPCAM protocol (decoder_control.cgi). Attached is my Vstarcam_C24S.pm control file for installation in perl5/ZoneMinder/Control. I cloned this from the Foscam FI8918W module which has most of the same control commands and operation principles.
Zoneminder setup
Zoneminder's ONVIF discovery works nicely and sets up the device using FFmpeg source type. The camera also works fine using manually set remote source type and RTSP settings, you just have to get the authentication and port sytnax correct.
Sourcetype: FFMpeg
SourcePath (example): rtsp://admin:XXXXXX@192.168.XX.YY:10554/tcp/av0_1
Capture Width: 640
Capture height: 480
Higher resolutions worked ok. Using the windows tool I could set the video stream type and resolution: h264, mjpeg4 etc. h264 works fine.
Control setup
Added a new camera control (Vstarcam_C24S).
Control Type = Vstarcam_C24S
Control Device = loginuse=admin&loginpas=XXXXXX
Control Address = 192.168.XX:YY:47785 - need to discover your own port and use with the window app or the browser app to statically set the IP
Auto stop timeout = 0.10 - camera PTZ is based around start continuous movement and explicit stop. Over the internet this is too slow. The autostop give a click incremental movement.
PTZ Control Details
Name = Vstarcam_C24S
Type = Remote
Protocol = Vstarcam_C24S, i.e. the perl module file name less extension
Can Wake
Can Sleep
Can Reset
Can Move
Can Move Diagonally
Can Move Continuous
Can Pan
Can Tilt
Can White Balance (Contrast)
Can White Bal Absolute
Min White Bal Range = 1
Max White Bal Range = 238
Min White Bal Step = 1
Max White Bal Step = 10
Can Iris (Brightness)
Can Iris Absolute
Min Iris Range = 1
Max Iris Range = 238
Min Iris Step = 1
Max Iris Step = 10
Has Presets
Num Presets = 16
Has Home Presets
Can Set Presets