beautypg.com

Multiple requests, Third party applications like wget – Epiphan Pearl Mini Live Video Production System User Manual

Page 398

background image

Pearl Mini User Guide

Controlling Pearl Mini using

HTTP/HTTPS commands

To start recording on channel 2:

wget --http-user=admin --http-passwd=pass123 http://192.30.23.45/admin/channel2/set_
params.cgi?rec_enabled=on

To stop recording on channel 2:

wget --http-user=admin --http-passwd=pass123 http://192.30.23.45/admin/channel2/set_
params.cgi?rec_enabled=""

To start recording on recorder 2:

wget --http-user=admin --http-passwd=pass123 http://192.30.23.45/admin/channelm2/set_
params.cgi?rec_enabled=on

Multiple requests

You can include multiple key/value pairs in a single command by separating the statements with

&

. For

example, the key for product name is

product_name

and the key for firmware version is

firmware_version

.

The command to request both the product name and the firmware version is:

http://<

address

>/admin/channel1/get_params.cgi?product_name&firmware_version

To turn off publishing (i.e. set to 0) and set the bitrate (vbitrate) to 256,000:

http://<

address

>/admin/channel1/set_params.cgi?publish_type=0&vbitrate=256K

You can substitute

https

for

http

in the urls.

Third party applications like wget

If you’re using a third party application like wget to send commands to Pearl Mini, always include the admin
username and password when viewing or setting configuration items.

387