Moxa VPort P06 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Moxa VPort P06, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Moxa VPort P06 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Moxa VPort P06. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Moxa VPort P06 should contain:
- informations concerning technical data of Moxa VPort P06
- name of the manufacturer and a year of construction of the Moxa VPort P06 item
- rules of operation, control and maintenance of the Moxa VPort P06 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Moxa VPort P06 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Moxa VPort P06, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Moxa service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Moxa VPort P06.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Moxa VPort P06 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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.[...]

  • Page 2

    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. Reprodu ction w ithout p ermissio n is proh ibite d. Trademarks The MOXA logo is a registe red tr[...]

  • Page 3

    Table of Conte nts 1. Overview ........................................................................................................................................... 1-1 Release Notes .................................................................................................................................... 1-2 General CGI URL Syntax a[...]

  • Page 4

    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. Comma nds are in cluded for s et/get confi guration pa rameters and PTZ control. The following t opics are cover ed in this chap ter:  Release N otes  General CGI URL Syntax and Par[...]

  • Page 5

    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. Version 2.1 Fixed incorre ct descript ion, and updated to accou[...]

  • Page 6

    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  systemio  security/acco unt  network  http  telnet  smtp  ft p  ipfilter  upnp  ddns  snmp  httpevent  modbus  ethport[...]

  • Page 7

    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. Every section has one or many items. Detailed i nform[...]

  • Page 8

    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.cgi?sy stem_ti mem ethod=3 &[...]

  • Page 9

    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.yyy.z[...]

  • Page 10

    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 server IP or URL port01, port02 G/S 1 to 65535 Port Number of first an d second FTP server username01, username02 G/S Max 60 char (UsernameS t ring) Us[...]

  • Page 11

    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 char (Exten siveString ) V1,V2c Read Community rwcomm G/S Max 40 char (ExtensiveStr ing) V1 ,V2c W rite/Read C ommuni ty adminauthtype G/S 1: No - Auth[...]

  • Page 12

    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 mode of Ether nets Models with d ual Ethernet po rt supported activeport G/S 1: Enab le Ethe rnet Port 1 2: Enable E thernet Port 2 The link mode is s[...]

  • Page 13

    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.168.127.100/m oxa - cgi/udp stre[...]

  • Page 14

    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 Name VPort 251/351/25/ 15 MPEG4 mod e: (support ed by RTS P protoc ol) updstream or udpstream_ch1 or udpstrea m_ch1_str eam1 or udpstream_ch1_st ream1_m[...]

  • Page 15

    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# or udpstrea m_ch#_str eam1 or udpstream_ch#_st ream1_h264 Table of Multicast Access Names, for all products Models Access Name VPort 251/351/25/ 15 M[...]

  • Page 16

    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.yyy.zzz.www Media multicast IP address v[...]

  • Page 17

    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 the video imprintt imestamp G/S 0: Not Shown 1: Shown in the caption 2: Shown in the image The location of the shown vid eo information codectype G/S 1[...]

  • Page 18

    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) 640x480(NTSC) 640x576(PAL) 352x240(NTSC) 352x288(PAL) 320x240(NTSC) 320x28 8(PAL) B1 600 Kbps 570 Kbps 534 Kbps 144 Kbps 132 Kbps B2 1200 Kbps 1140 Kbps[...]

  • Page 19

    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. quality01_mp[...]

  • Page 20

    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 video imprintt imestamp G/S 0: No t Shown 1: Shown in the caption 2: Shown in the image The location of shown video information codectype G 1 ,[1,2,(1,[...]

  • Page 21

    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 video encod er (01 to 04), for example: To get the information about the channel 2 video, the CGI command format: http://< server >/mox a - cgi/get [...]

  • Page 22

    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. bitrate G/S 20: B1 Kbps 40: B2 Kbps 60: B3 Kbps 80: B4 Kbps 100: B5 Kbp s 120: B6 Kbp s 140: B7 Kbp s 160: B8 Kbp s 180: B9 Kbp s *Refer to the “VP ort 254/VPM 7304 [...]

  • Page 23

    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: NTSC 2: PAL The auto detection result of video input Modulation forma t frameratetype G 1 : default v alue For identifying the frame rate setting mo[...]

  • Page 24

    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. Item Action Value Des cription mode S Save Save the adjusted image set ting to the serve r brightness G/S - 5 to 5 Video brightness adjustment contrast G/S - 5 t o 5 Video contrast ad justm[...]

  • Page 25

    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. W hen the PTZ camer a receives PTZ co [...]

  • Page 26

    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. 8 char (BasicStri[...]

  • Page 27

    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. A suitab le PTZ driver must be used fo r[...]

  • Page 28

    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. For Real - COM dr iver detai ls, pleas[...]

  • Page 29

    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. These comman ds can be use d for extended PTZ control. speedlinkcmd 01 to speedli[...]

  • Page 30

    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. VLC media pla yer is also com patible with the MJPEG HTT [...]

  • Page 31

    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. The CG Is are organized by function - related directories under the moxa - cgi directory, and are followed by one of two acti ons: se[...]

  • Page 32

    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 . ?[...]

  • Page 33

    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.cgi?chind ex=2 Item Value Description chindex 1 to 4 Specify channel ind ex. Defaul t value is 1[...]

  • Page 34

    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. DO[...]

  • Page 35

    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 ,(S1, C odectype , Mod e ),(S2, C odecType , M ode )…],[Channel2, S treams ,(S1, Codec type , Mode ),(S2, Cod ecType , Mod e )…],……… Streami[...]