Use parameters in filenames and stream names

When saving encoded streams to file, you can use parameters in filenames and stream names. During multi-bit rate encoding, it is especially helpful to include the bit rate or other information in the name to distinguish the content.

Note: For stream names, you can use either parameters or separate unique stream names with a semicolon, but not both together. If you use both parameters and semicolons, Flash Media Live Encoder treats the characters used to represent parameters as literal characters in the stream name.

To use parameters, enter an optional identifier (name) of your choice, followed by one or more parameters.

Parameter

Description

%i

The index of the bit rate. This value is meaningful when encoding streams at multiple bit rates. The first index value is 1. Flash Media Live Encoder supports up to three streams at a time, so the index values are 1, 2, and 3.

Adobe recommends that you include the index parameter in the stream name. The index parameter can differentiate streams/files that otherwise have identical values for bit rate, sample rate, and so on.

%v

The video bit rate.

%f

The output frame size.

%a

The audio bit rate.

%s

The audio sample rate.

%b

The total bit rate (that is, %v+%a).

You can use multiple parameters in a single name. When using multiple parameters, if desired, you can separate parameters with underscores to make the resulting names easier to read. For example, say that you want to create an FLV file whose name reflects the video bit rate of 156 Kbps and the output frame rate of 24 fps. In the Save To File box, enter myFLVFile_%v_%f. The resulting filename is myFLVFile_156_24.

Note: While it is not required to enter an identifier, such as the identifier myFLVFile used in the example, an identifier of your choosing can help differentiate files and streams.