System Configuration
VBrick H.264 Appliance Admin Guide
17
configure a parameter on an appliance (or more likely a set of parameters) you simply point
the URL to a server with an .xml configuration file. This is useful, for example, to set the
audio and video rates when the VBrick appliance is behind a firewall and cannot be accessed
remotely.
The VBrick reads the URL field (e.g.
www.myserver.com/config.xml
) via HTTP protocol and
executes the script depending on the
VBEXECUTE
tag. If a
VBEXECUTEFORCE
tag is present in
the .xml file (see example below), the script runs every time at the poll interval even if it has
not changed. If a
VBEXECUTEIFDIF
tag is present the script runs only if it is different from the
last executed file.
One of these tags is required.
If the VBrick is in
Edit
mode, the script file will not run until the edit session is ended. The
auto config script will run
before
any external event scripts. In
Edit
mode, you can press
Run
Script
to execute the script on demand. After a reboot, the VBrick checks for a script URL
and will run the script immediately, regardless of the
VBEXECUTE
tag value.
Sample Script
The auto config script file (
config.xml
) is an .xml file with the following syntax. It can set any
VBrick parameters and force an "apply" as needed. This example shows how to set various
recorder parameters. Note that a
VBEXECUTE
tag is required and all commands must be
preceded by an
svar
(set variable) command.
<?xml version="1.0"?>
<?VBEXECUTEFORCE?>
<VBRICK>
SVAR vbrickEncoderVideoCommonAspectRatio.1.1=2
SVAR vbrickEncoderVideoH264Resolution.1.1=15
SVAR vbrickEncoderVideoH264TargetBitRate.1.1=5000000
SVAR vbrickEncoderVideoCommonApplySet.1=2
</VBRICK>
Feature License
Use these fields to enter license keys for specific add-on features purchased from VBrick. For
example you can purchase a license for an HD-ready H.264 appliance that will enable HD
resolutions.
URL
Valid path to a URL script file, for example:
www.myserver.com/
config.xml
. Default = blank.
Poll Rate
The rate at which the appliance checks the config file. 0–1440
minutes. Default = 0.
Auto Config Status Shows auto config status including when the script was last run, URL
connection errors, etc.
Run Script
Edit mode only. Run the script now.
Note
The script file must have DOS/Windows style line endings. Text files created on
Windows machines have different line endings than those created on Unix or Linux
machines. Windows machines use a carriage return and line feed (
\r\n
) whereas Unix
machines use line feed (
\n
) only.
Содержание 7000 Series
Страница 3: ......
Страница 7: ...vi Contents ...
Страница 41: ...32 2009 VBrick Systems Inc ...
Страница 65: ...56 2009 VBrick Systems Inc ...
Страница 77: ...68 2009 VBrick Systems Inc ...
Страница 83: ...74 2009 VBrick Systems Inc ...
Страница 84: ......
Страница 85: ...VBrick Systems Inc 12 Beaumont Road Wallingford Connecticut 06492 USA ...