![background image](http://html.mh-extra.com/html/vbrick/9000-series/9000-series_admin-manual_857502036.webp)
28
© 2015 VBrick Systems, Inc.
Auto Configuration lets you perform a configuration via a URL script file.
It is typically used
for remote configuration and troubleshooting or to configure encoders behind a firewall. To
configure a parameter on an encoder (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 encoder is behind a firewall and cannot be accessed
remotely.
The encoder 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 encoder 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 encoder checks for a script URL
and will run the script immediately, regardless of the
VBEXECUTE
tag value.
Sample Auto Config Script
The auto config script file (
config.xml
) is an .xml file with the following syntax. It can set any
encoder 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=2
SVAR vbrickEncoderVideoH264Resolution.1.1=15
SVAR vbrickEncoderVideoH264TargetBitRate.1.1=5000000
SVAR vbrickEncoderVideoCommonApplySet.1=2
</VBRICK>
Field
Description
URL
Valid path to a URL script file, for example:
www.myserver.com/
config.xml
. Default = blank.
Poll Rate (minutes) The rate at which the encoder 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.
Содержание 9000 Series
Страница 1: ...VBrick 9000 Encoder Encoder v4 3 Admin Guide August 2015 ...
Страница 118: ...110 2015 VBrick Systems Inc ...
Страница 124: ...116 2015 VBrick Systems Inc ...
Страница 138: ...130 2015 VBrick Systems Inc ...
Страница 146: ...138 2015 VBrick Systems Inc ...
Страница 159: ...Monitor VBrick 9000 Encoder Admin Guide 151 ...
Страница 170: ...162 2015 VBrick Systems Inc ...
Страница 186: ...178 2015 VBrick Systems Inc ...
Страница 190: ...182 2015 VBrick Systems Inc ...
Страница 191: ......
Страница 192: ...VBrick Systems Inc 2121 Cooperative Way Suite 100 Herndon Virginia 20171 ...