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

Page 64
Image 64
Moxa Technologies VPort 2140 user manual Capturing Up-to-date Still Images, Video Embedded in Customers’ Homepage