beautypg.com

Http command examples, Third party applications like wget – Epiphan VGADVI Recorder User Manual

Page 184

background image

VGADVI Recorder User Guide

7-8 Control with HTTP Commands

Third Party Applications Like wget

If you’re using a third party application like wget to send commands to the device, always include the admin

username and password when viewing or setting configuration items.

The syntax for wget commands is shown below. Specify your device’s IP address, password and the key(s) or

value(s) you wish to query. Note your system may require use of single quotes around the password to handle

special characters such as exclamation marks.

get_param using wget:

wget --http-user=admin --http-passwd= http://

/admin/get_

params.cgi?[&]

set_param using wget:

wget --http-user=admin --http-passwd= http://

/admin/set_

params.cgi?=[&=]

HTTP Command Examples

Some configuration of the VGADVI Broadcaster Pro can be done by non-interactive http commands. The

following examples demonstrate how to use wget to exercise some of the HTTP commands supported by the

device.

For values with spaces, encode space as %20. i.e.: set_params.cgi?framesize=640%20x%20480

The examples assume a system IP address of 192.30.23.45 and admin password pass123.

1. To get the broadcast stream type and frame size:

wget --http-user=admin --http-passwd=pass123 http://192.30.23.45/admin/get_

params.cgi?streamtype&framesize

2. To set the broadcast stream to ASF and at the title “System Stream”:

wget --http-user=admin --http-passwd=pass123 http://192.30.23.45/admin/set_

params.cgi?streamtype=2&title=System%20Stream

3. To start recording:

175

This manual is related to the following products: