beautypg.com

Playing individual files, Mpgload – FOCUS Enhancements 3.2 User Manual

Page 137

background image

External Control Commands

123

Playing Individual Files

To accurately control the playback of individual videos, the
following commands are used:

The channel parameter is required for certain commands. These same
External Control Command parameters are also used in Visual Circuits
multi-channel products. The default channel for the Firefly-SC (single
channel player) should always be ‘0’.

mpgLoad

This command loads an MPEG file for playback on the specified
channel. This command does not play the file.

Syntax

mpgLoad 0

channel videoname

Parameters

channel

The channel on the Firefly (0)

videoname

The storage path and video name of the MPEG file to load. If no path is
designated, Firefly will default to local storage.

Return Values
This command returns ACK if the file load was started
successfully, or NAK if the file could not be loaded (e.g., the file
was not found).