NETWORK CAMERA SERVER VB150 Guide to Creating Web Pages for Video Distribution E ENGLISH
Introduction Thank you for purchasing the Canon Network Camera Server VB150 (referred to hereafter as the VB150). This manual describes how to use the VB150 for video distribution. Video can be distributed in a number of ways, including displaying multiple images and posting still images or movies on a website. Read this manual carefully before use. Exclusion of Liability If the Product is connected to a recording device (for example a VCR), Canon Inc.
Contents Web Pages for Video Distribution ............ 1 Viewer Overview........................................ 2 Viewer for Java ........................................................ 2 Viewer for PC ........................................................... 2 Viewing Sample Pages ............................. 3 Using the Viewer for Java to Distribute Videos ..... 4 Creating a Web Page that Uses the Viewer for Java .... 4 Example of a Web Page that Uses the Viewer for Java ....
Web Pages for Video Distribution To distribute live video using the VB150, you create a dedicated web page. The viewers that can be used with the VB150 are "Viewer for Java" (with or without camera control function) and "Viewer for PC", and detailed parameters can be specified for each of these. You need to determine which of these viewers is supported and create the Web page.
Viewer Overview There are two types of viewers: the Viewer for Java and the Viewer for PC. Viewer for Java The Viewer for Java provides two types of viewers: LiveApplet containing video display and camera control functions, and Glimpse containing a video display function. Because both viewers use the WebView-HTTP transfer protocol, data can pass through firewalls with no need for special settings.
Viewing Sample Pages Ready-made video distribution sample pages are provided with the VB150. Follow the procedure below to view these pages. Refer to these pages when creating your own Web pages. Viewing the Pages 1 Launch your Web browser and enter the following URL: http://192.168.100.1/sample/ * The underlined portion is a sample IP address. Enter the actual IP address set for the VB150 (→ VB150 User's Manual P.36). 2 The page shown below appears with links to the other sample pages.
Using the Viewer for Java to Distribute Videos This section describes how to use the Viewer for Java to provide videos. Application examples are also given. Creating a Web Page that Uses the Viewer for Java When you use the Viewer for Java, the viewer applet to be used must be incorporated into the Web page you provide. However, this is not especially difficult. The page can be created using the HTML normally used to include an applet. LiveApplet PAGE 8 Example of a Web Page that Uses the Viewer for Java This section describes an example in which the Viewer for Java is used to create a Web page. Use this example to create your own original Web page. Embed the Viewer for Java, and display a text in a separate frame.
Example of a Web Page that Uses the Viewer for Java This section describes an example in which the Viewer for Java is used to create a Web page. Use this example to create your own original Web page. Embed the Viewer for Java, and display a text in a separate frame.
Using the Viewer for Java to Distribute Videos 1 sample.htm
Using Glimpse and LiveApplet Together This section describes how to create a Web page that allows clients to use Glimpse to download quickly and display live video at a low frame rate, and then use LiveApplet to view video at a high frame rate and control the camera when they find videos they are particularly interested in. 1 Glimpse embedded in the page. Click the button to display the page in which LiveApplet is embedded.
Using the Viewer for Java to Distribute Videos glimps.htm
Providing "LiveApplet" without Camera Control This section describes how to create a Web page that only displays live video and has no camera control GUI for situations where you want to prohibit camera control. ................................................. Specify the camera control user interface.
Using the Viewer for Java to Distribute Videos Certain Images Specified ■Startup screen ■Disconnection screen If no particular image is specified, the "connecting to hostname" (when the hostname parameter is specified) or "now connecting" animation is displayed at startup and the "disconnected hostname" Guide to Creating Web Pages for Video Distribution (when the hostname parameter is specified) or "disconnected" is displayed at disconnection.
Displaying the Host Name, Frame Count and Other Information on the Video Screen specifies whether the frame rate is displayed on the screen. "on": Displayed. "off": Not displayed. specifies whether the frame count is displayed on the screen. "on": Displayed. "off": Not displayed.
Using the Viewer for Java to Distribute Videos Displaying Bitmap Images on the Video Screen Sample transparent GIF Guide to Creating Web Pages for Video Distribution * The underlined portion "x,y" specifies the display position. When x,y = 0,0, the image is displayed in the top left corner. If "x,y" is omitted, the image is displayed in the center of the frame. Specifying the Background Color
Viewer for Java Parameters You can specify applet parameters to provide an applet tailored to modify the behaviour or appearance of applets. Refer to the table below to ensure that you thoroughly understand the parameters. ■LiveApplet Parameter Name bg_color close_image Yes Yes Description Use this parameter to set the background color. The parameter specification format is "#RRGGBB" (values between 0 and 255 for each component color expressed as a hexadecimal). Eg.
Using the Viewer for Java to Distribute Videos Parameter Name Omissible Description bg_image Yes The picture displayed in the background of LiveApplet can be specified. A JPEG or GIF file can be specified. The WebView Livescope logo is not displayed if specified. If not specified, the default picture is used. (Refer to image_offset about the display position.) click_action Yes Specifies behavior when a moving picture display area is clicked.
■Glimpse Parameter Name 15 Omissible Description comment Yes This parameter specifies the comment text string displayed as an overlay on the applet. If this parameter is omitted, no comment is displayed. hostname Yes This parameter specifies the host name displayed in the applet. This value is used as the host name in messages displayed during connection, etc. If this parameter is omitted, no host name is displayed.
Using the Viewer for Java to Distribute Videos ■Applet Tag Descriptions Attribute Name Omissible Description No This parameter specifies the directory that contains the applet. http://HTTP server IP address: port number/directory/ If this parameter is not specified correctly, the applet (LiveApplet or Glimpse) is not downloaded. Directories are fixed for each applet.
Using the Viewer for PC to Distribute Videos This section describes how to use the Viewer for PC to provide videos. Application examples are also given. If a client is using the Viewer for PC to receive videos, the video sender must set up the Web server and create the necessary wvh files. e Tip If the VB150 is used as the Web server, the settings described below are not required. Refer to page 111 of the VB150 User's Manual for information on saving Web page data.
Creating wvh files This section describes how to create the wvh file required for launching the Viewer for PC application. Use a text editor or similar program to create a new text file and type the following type of 1 code in the file: (Example) 192.168.100.1 65310 192.168.100.1 65311 wvhttp:192.168.100.1 80 ● The first line gives the IP address (or host name) of the VB150 and the TCP port Guide to Creating Web Pages for Video Distribution number used for the video transmission service.
Using the Viewer for PC to Distribute Videos Example of a Web Page that Uses the Viewer for PC This section describes an sample Web page in which the Viewer for PC is used. 1 Click the link to launch the viewer. Include the tags that link to the wvh file in the text or images in the Web page. 1 Let's view the image e Tip 22 19 To use the sample page template in the VB150 to supply videos, specify .
Distributing Videos Using a Browser Only You can also use the WebView-HTTP protocol to provide videos from the camera directly to a Web browser. Some example of this are described in this section. Displaying the Live Video at Access as a Still Picture When a client accesses the Web page that provides videos, the video shot at that point can be supplied as a still picture. Guide to Creating Web Pages for Video Distribution
Distributing Videos Using a Browser Only Displaying Live Video from a Specified Angle as Still Pictures By specifying the camera angle as a parameter in the HTML code beforehand, you can display the picture from a specified camera angle. The example below displays a still picture shot with the camera panned right by 40° and tilted down 10°. * The underscored portion is a sample IP address. Enter the actual IP address set for the VB150.
Example of video distribution using one global address One fixed global address is required if the VB150 is being used to distribute live video on the Internet. An Internet service provider (ISP) that offers a single-address fixed global address service can be used (Note: a router with NAT function is required). Example: In this example, we use the global address 192.168.1.10 assigned by the ISP. We also set the private address 192.168.100.2 in the VB150 (and 192.168.100.1 for the router).
Log Messages The Syslog log messages are classified into the following 5 categories. Classification details are dealt with in the UNIX syslog the levels are explained on page 56 of the VB150 User's Manual.
●A010 Camera control driver start and stop (info) Message %1 driver for camera[%2] %3 %1 Camera type (Canon NU-700 | Canon VC-C3 | Canon VC-C4 | Canon VC-C4R) %2 Camera number (1-4) %3 started | stopped Explanation The camera control device was detected and the driver started up, or a camera control device error was detected and the driver stopped.
●A022 Applet archive load failure (warning) Message %1 Explanation Response archive/%1 not found Applet archive name (glimpse.cab | glimpse.zip | lvapplet.cab | lvapplet.zip | imagemap.gif | snapanim.cab | snapanim.zip | digits.gif) Applet archive file does not exist or is corrupted. Copy the missing (or damaged) file in the '/archive' applet from the CD-ROM and reboot.
Log Messages ●A026 Picture recording processing failure count (warning) Message %1 picture recording failed %1 times Number of pictures that could not be recorded Explanation This shows the number of times picture recording failed in the period between suspended and recovered in message A024. Response In addition to the responses to A025, take steps such as reducing the picture recording frequency specified in the schedule.
●A033 Invalid file detected during picture index restoration (info) Message %1 broken file detected: %1 File name Explanation A file was detected during picture index restoration that is not a recorded picture. Response Delete any invalid files. This does not affect picture index restoration processing.
Log Messages ●H015 Client request accept failure (warning) Message HTTPD: accept: (client socket) (%1) error %1 Error code %2 HTTP request Explanation Failed to accept HTTP client connection request due to server overload. ●H016 Length of the URL exceeded the limit (notice) Message HTTPD: %1:request failed for %2, reason: URI too long %1 Client host IP address %2 URL Explanation If it occurs frequently, consider the possibility that the camera server may be attacked.
●H031 HOST field not specified (notice) Message HTTPD: %1: client sent HTTP/1.1 request without hostname (see RFC2068 section 9, and 14.23): %2 %1 Client host IP address %2 URL Explanation HOST field was not specified in HTTP1.1 protocol. ●H042 Host access restriction applied (notice) Message HTTPD: client %1 denied by server configuration: %2 %1 Client host IP address %2 URL Explanation Client's access was denied due to host access restrictions.
Driver-related Log Messages ●P001 File system mounting failure (warning) Message AUTOMNT: %1 already mounted or %2 busy %1 Device name %2 Mount point Explanation Response Two memory cards are inserted together or the memory card cannot be mounted because an error occurred when it was last unmounted. If the card cannot be mounted because an error occurred when it was last unmounted, reboot.
●P009 Memory card read error (err) Message PCMCIA ATA Card (Slot%1 sector %2): Read Sector Error %1 Slot (A | B) %2 Sector number Explanation Response A sector read error occurred. The card may be damaged. Check the memory card and, if necessary, reformat the card. If there is a physical fault on the card, replace the card.
Log Messages ●S005 System settings changed (info) Message Explanation System settings updated The VB software settings were modified without a reboot. ●S006 IP address conflict detection at startup (err) Message Detected a conflict for IP address %1 with %2 %1 IP address %2 Ethernet address Explanation Response An IP address conflict was detected during startup. If there is a device running on the network that has the same IP address as the VB150, this error occurs when the VB150 starts up.
●S012 Sector size error (err) Message Explanation Response logical sector size is zero. The sector size is zero. The file system may be corrupted or it may not be formatted as a FAT file system. If this error affects the internal file system, contact an authorized Canon service representative. If it affects a memory card, replace the memory card. ●S013 FAT entry count error (err) Message file system has %1 clusters, but only space for %2 FAT entries.
Log Messages ●S018 Write error during file system checking (err) Message Explanation Response chkdsk: Disk Write Error. A write error occurred during file system checking. If this error affects the internal file system, contact an authorized Canon service representative. If it affects a memory card, replace the memory card. ●S019 Read error during file system checking (err) Message Explanation Response chkdsk: Disk Read Error. A read error occurred during the file system check.
●S025 Ethernet disconnected (info) Message Explanation Response fe0: Link Down Ethernet link is down. If it occurs frequently, check your cables or connectors. If there is nothing wrong with the cables or connectors, then you need to replace the hub.
Log Messages Guide to Creating Web Pages for Video Distribution 36
CANON INC. 30-2, Shimomaruko 3-chome, Ohta-ku, Tokyo 146-8501, Japan U.S.A. CANON U.S.A.,INC. NEW JERSEY OFFICE 100 Jamesburg Road, Jamesburg, NJ 08831 USA CANON U.S.A.,INC. CHICAGO OFFICE 100 Park Blvd., Itasca, IL 60143 USA CANON U.S.A.,INC. LOS ANGELES OFFICE 15955 Alton Parkway, Irvine, CA 92618 USA CANON U.S.A.,INC. HONOLULU OFFICE 210 Ward Avenue, Suite 200 Honolulu, HI 96814 USA ● If you have any questions, call the Canon U.S.A. Information Center toll-free at 1-800-OK-CANON (652-2666) (U.S.A.