Moxa Technologies VPort 2140 Capturing Up-to-date Still Images, Getting snapshot via URL

Page 64

Capturing Up-to-date Still Images

Getting snapshot via URL

Administrators and users can use a specific URL to capture the current still image.

Video Channel

URL

Video 1

http://<IP of Video Server>/cgi-bin/video1.jpg[?<param>=<value>]

Video 2

http://<IP of Video Server>/cgi-bin/video2.jpg[?<param>=<value>]

Video 3

http://<IP of Video Server>/cgi-bin/video3.jpg[?<param>=<value>]

Video 4

http://<IP of Video Server>/cgi-bin/video4.jpg[?<param>=<value>]

Quad of all

http://<IP of Video Server>/cgi-bin/videoall.jpg[?<param>=<value>]

Additional Parameters:

param

Value

Description

Quality

1

Medium

 

2

Standard

 

3

Good

 

4

Detailed

 

5

Excellent

Size

1

Half

 

2

Standard

 

3

Double

Getting snapshot via FTP

Administrators and users can log in to the Video Server FTP daemon to download the refreshed JPEG image. The user name and password are the same as for web access. The zero file size in file directory means it is captured by request.

Video Channel

File Name

Video 1

Video1.jpg

Video 2

Video2.jpg

Video 3

Video3.jpg

Video 4

Video4.jpg

Quad of all

Videoall.jpg

Video Embedded in Customers’ Homepage

In addition to the URL, some scripts should be added to download a plug-in for video images. The following example simply displays title text and a real-time video window in Internet Explorer or Netscape. The user name and password should be configured in advance. Those who are familiar with HTML can easily add more components or rewrite the code to create a more vivid and useful homepage.

<html>

<head><title>Video Server Sample Page</title></head> <body>

<h2>Video Server Sample Page</h2> <script language="JavaScript"> <!--

if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))

{

document.write("<OBJECT ID=\"MjpegControl\" WIDTH=352 HEIGHT=240");

5-2 VPort 2140 User’s Manual

Image 64
Contents VPort User’s Manual First Edition, MarchTrademarks Copyright NoticeDisclaimer Before getting started Table of Contents Chapter Advanced Applications Page Introduction Overview Package Checklist Product FeaturesEthernet Connection Typical ApplicationsModem Dial-up Connection Product Descriptions Front PanelNetwork LEDs ACTIVE, LINK, and FDX Mode ConditionName Description Work Status Rear Panel COM1 & COMGeneral I/O terminal block Pin description Regulation11 10/100 Mbps Ethernet Input 12 VDCBefore Getting Started Setting up an Ethernet Environment Getting StartedSetting up an Ethernet Environment Before Getting StartedCable Connection Front PanelRunning the IP Installer Program Rear PanelUsing the IP Installer Program Powering on the VPort 2140 Video ServerAssigning an IP Address to VPort 2140 Video Server Getting Started Accessing VPort 2140 Video Server for the First Time Using DOS Commands under WindowsSetting up a Modem Environment Null ModemPowering on VPort 2140 Video Server ModemConfiguring a Modem Under Windows 2000 Environment Installing a new modemVPort 2140 User’s Manual Setting up a new connection Modem Mode Click on Start Control Panel ModemsVPort 2140 User’s Manual Getting Started Null Modem Mode Modem ModeMounting VPort Panel MountingAccessing VPort 2140 Video Server for the First Time Authentication Accessing VPort 2140 Video ServerOpening Your Browser Functions Featured on the Main Installing the Plug-in ApplicationImage Mode and Text Mode Image ModeVideo Quality Selection Logo and Host NameImage Size Selection System Configuration Custom Camera CommandsCamera View selection Relay Output ControlPage System Configuration Restore facotry default settings Reset system System Configuration Via Web Access Using Setup WizardUsing the Application Wizard SystemHost name Surveillance SystemSecurity Root passwordDate and Time Snapshot mode Reset network at next bootNetwork Add userGeneral HttpFTP Save the modificationImage setting Color, Default size, and Default qualityVideo Show Time stamp in image and Text on imageCamera Setting Preset position setting of Motorized PTZ cameraMotion Detection Camera typeDefault Video Source COM 1 & COMModulation RS-232 RS-485 SpeedPort Settings Interface modePurpose Custom command ApplicationWeekly schedule LevelEvent operation Show alert in imageTrigger Condition Trigger ActionSequential Mode Send Snapshot by Email or FTPView Snapshot SaveHomepage layout DemoLogo graph Web page display mode View log fileLogo link Background graphFactory default View parametersSystem Configuration Via FTP Video Server Initial Configuration fileFrom 12 to Lime, 10-aqua, 11-fuchsia, 12-silver Or 1024 to String of max characters Or RS485 Or YES to activate external script System Configuration Via Telnet Telnet CommandsSystem core debugging Monitor changed status of digital inputsSkip installation at next boot Reset network for new settingsRestore factory default settings Reset systemURL Commands for DI/DO & Camera’s Actions Setting Advanced ApplicationsCapturing Up-to-date Still Images Video Embedded in Customers’ HomepageGetting snapshot via URL Getting snapshot via FTPFile name Pre-alarm Upon alarm Post-alarm Download Event-triggered SnapshotsGetting triggered snapshots via URL Getting triggered snapshots via FTPCustomizing Graphics in Homepage Command Script for DI/DO & Camera’s Actions SettingObject File name Maximal size Command format Parameter ExplanationsEvent OperatorCommand line Description Practical ExamplesURL Commands for DI/DO & Camera’s Actions Setting Drive digital outputsMoving motorized camera in PTZ direction Recalling camera positionURL Commands for System Maintenance Restore Factory Default Settings via URLDownload System Log via FTP Restart System via URLUpgrading System Firmware Using Upgrade Wizard to Upgrade Firmware Easily Using FTP to Upgrade Firmware Page Troubleshooting Frequently Asked Questions Power On Self Test PostLED pattern after Post Failed function Troubleshooting Troubleshooting VPort 2140 User’s Manual URL Commands of Video Server URLResource name Reference URL Name Value DescriptionNetwork Configuration URL Video Configuration URL COM 1 Configuration URL Camera custom command configuration URL Custom camera configuration URL Motion detection configuration URL VPort 2140 User’s Manual A-9 Page Settings of Supported PTZ Cameras Camera model Baud rate Data bits Stop bit Parity bitPage Camera Control Cable Page Time Zone Table VPort 2140 User’s Manual Technical Specifications General I/O Service Information Moxa Internet Services Following services are providedProblem Report Form Moxa Product VPort Serial NumberProduct Return Procedure