Instruction/ maintenance manual of the product VPort P06 Moxa
Go to page of 35
VPort CGI Commands User’s Manual Fourth Edition, July 2012 www.moxa.com/product © 2012 Moxa Inc. A ll rights reser ved. Reprodu ction w ithout p ermissio n is proh ibite d.
VPort CGI Commands User’s Manual The software described in this man ual is furn ished und er a license agree ment and may be used only in accordance with the terms of that agree ment. Copyright Not ice Copyright ©2012 Moxa Inc. All rights reser ved.
Table of Conte nts 1. Overview ........................................................................................................................................... 1-1 Release Notes ..............................................................
1 1. Overview This document describes the CGI command s that are used with Moxa VP ort 1 - chann el video encoder s, 4- channel vid eo encoders , and IP camer as.
VPort CGI Commands Overview 1-2 Release Notes Version 1 .0 Includes CGI comm ands for the VP ort 251/351/25. Version 1.1 Includes CGI comma nds for the VPort 451 /461. Version 2.0 Includes CGI commands for all VPort models, 1 - channel and 4 - cha nnel video en coders, and I P cameras.
2 2. VPort Set/Get Configu ration CGI URL and Parameter Items The fol lowing topics are co vered in th is chapter: VPort Set/G et Configu ration CGI URL and Parameter it ems system systemi.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-2 VPort Set/G et Configuratio n CGI URL and Parameter it ems These parameters are used for different VPort functi on sections. The parameters include system in formation, security, network, vide o, audio, and alarm.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-3 firmwar ebuild time G yymmddhh Firmware b uild time serialnumber G xxxxx Product serial number macaddress G aa:bb:cc:dd:ee:ff Mac address modelname G EX: VPort 351 Model name Example: Change Ser ver Time: http://i p/moxa - cgi/setParam.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-4 network Item Action Value Description networktype G/S 1: Get IP addre ss auto matic ally 2: Use fixed IP address 3: DHCP with Auto configur e Method used to get the IP address • Auto configure is based on DHCP option 66/67 • Auto configure ipaddress G/S xxx.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-5 ft p Item Action Value Description serverip01, serverip02 G/S Max 40 char (HostAddressString) First and secon d FTP s.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-6 snmp Item Action Value Description versions G/S 1: V1, V2c, V3 2: V1, V2c 3: V3 only SNMP version rocomm G/S Max 40 c.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-7 ethport Item Action Value Description Mode G/S 1: Cascade Mode 2: Redundant Mode 3: Single Port Mode Select the link .
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-8 Setting an RTSP URL in VLC media player RTSP ov er HTT P Tunnel access nam e: HTTP URL Syntax Format: rtsp://<ip >:<htt p port>/mo xa - cgi/ a ccess n ame_(chan nel index)_ (stream index)_(cod ec type) example: rtsp:/ /192.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2-9 VLC medi a pla yer works with RTSP using an HTTP URL. Table of Unicast Access Names, for all models: Models Access Na.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 10 VPort 364 H264 codec: updstrea m(defau lt value = u dpstream_ ch1_str eam1) Channel #: (# = 1/2/3/4 ) udpstream_ch#.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 11 multicast This section d escribes th e RTSP multicas t address gro up parame ter settings for Moxa VPort 1 - channel video encoders and I P cameras. VPort 251/ 351/25/15 it ems Item Action Value Description ipaddress G/S xxx.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 12 VPort 251/ 351/25 items Item Action Value Descript ion text G/S Max 14 char (Ex tensiveString ) Information about t.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 13 VPort 251/ 351/25 bit - r ate mapping: Video Size Bit rate 720x480(NTSC) 720x576(PAL) 704x480(NTSC) 704x576(PAL) 64.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 14 quant01_h264, quant02_h264, quant02 _mjpg G/S 13: Medi um 11: Standard 8: Good 6: Detail ed 4: Excellent Video quality quant01_mp4v, quant02_mp4v, quant02_mjpg quality01_h264, quality02_h264 G/S 1: Fix ed bit rat e 2: Fixed q uality Video quality type.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 15 VPort 06/ 36 items: Item Action V alue Description text G/S Max 14 char (E xtensiveStr ing) Information about the v.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 16 video## This section ap plies to 4 - cha nnel video en coders; “##” indica tes the chann el number of th e vide.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 17 keyinterval01_h264 G Defa ult Value: 15 Key frame interval for VPort 364 Read only , fixed value.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 18 modulat ion G/S 0: Auto (auto d etection ) 1: NTSC 2: PAL Select video input modulation format actualmodulation G 1.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 19 Image This section ap plies to 1 - ch annel video e ncoders or IP ca meras.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 20 VPort 351 and VPort 25 1 serial and PTZ control configuration serial This section co vers PTZ port s ettings of the VPort 251 and VPort 351 video encoder s . Selecting the PT Z driver requires choo sing the related PTZ camera.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 21 05: “Zoom In ” command 06: “Zoom Out” command 07: “Focus Near” com mand 08: “Focus F ar” command 09: “Home” command 10: “Stop” co mmand custcommand Item Action Value Description speedlinkna me01 to speedlinkna me10 G/S Max.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 22 VPort 451/461/254/ 354/364/364A /VPM7304 serial and PTZ control configuration ptzport This section covers PTZ po rt settings for video encod ers; 2 different mode s are used: Sp ecific PTZ dr iver mode and Transparent M ode.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 23 comport Some VPorts have a DB9 COM port, which can act as the NPort’s COM port. Thi s port can be used to control the PTZ camera, or for pure Serial – to - Ethernet communi cations, just like a Moxa NPor t series pro duct.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 24 6: Cohu controlmode G/S 0: Transparent PTZ Control 1: Specif ic PTZ Driver PTZ control mode. speedlinkna me01 to speedlinkna me24 Max. 8 char (BasicString) User defin ed command name.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 25 MJPEG Mode Media Stream CGI URL JPEG video str eaming is imp lemented usi ng HTTP push t echnology ( http://en.wikipedia.org/wiki/Push_t echnology#HTTP_server_push ), which is popular for IP vide o products.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 26 PTZ Control of CGI URL Command Se ts and Parameters PTZ Control C GIs are used to control the P TZ action of camera s and device s.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 27 setpreset.cgi This function is used to edit the p reset posit ion of the PTZ camera. Th ere are three “move” va lues, cle arpreset , and addpreset . • addpreset is used to add the curr ent PTZ posi tion to a prese t position w ith a specified presetindex .
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 28 Get Snapshot CG I URL The Get Snapshot CGI is u sed to get a JPEG snapsho t from a Moxa VPort. getsnapshot. cgi Example: http://192.168. 127.100/moxa - cgi/getsnapsho t.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 29 1: data trans mit VIDEO 0 : no video signal 1: video signal de tected Status of video signal SD 0: no SD card inser ted 1: SD card insert Status of SD insertion DI 0: non - act ive 1: active DI1 to DI# Note: Depends on the number of digital inputs on th e VPort.
VPort CGI Commands VPort Set/G et Configur ation CGI U RL and Paramet er Items 2- 30 Description: format of Strea ming Support and StreamingNowCodec: Stream ingSu pport: Channels ,[Channel1, Stream s .
An important point after buying a device Moxa VPort P06 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Moxa VPort P06 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Moxa VPort P06 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa VPort P06 you will learn all the available features of the product, as well as information on its operation. The information that you get Moxa VPort P06 will certainly help you make a decision on the purchase.
If you already are a holder of Moxa VPort P06, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Moxa VPort P06.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa VPort P06. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa VPort P06 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center