Start Flash Media Live Encoder in command-line mode

You can start Flash Media Live Encoder using a batch file that will contain your username and password.  With this method, there is no requirement to enter the streaming Name and Password each time.  The batch file can look like this depending on where your startup.xml and program is located:

"C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2/FMLECmd.exe" /p "C:\Users\User\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2\Startup.xml" /ap mystreamname:mypassword


 

 From a command prompt in your Flash Media Live Encoder installation directory, enter the following:
FMLEcmd [/p [path\]profile.xml] [/l [path\]log_file] [/ap userID:password] 
       [/ab userID:password] [/t dd:hh:mm] [/r] /d [/s fmle_uid] [/u fmle_uid] 
        [/dvrstart[fmle_uid]| /dvrstop fmle_uid | /dvrstate fmle_uid]

Parameter

Description

/h

Shows a list of all parameters and their usages.

/p [path\profile.xml]

(Optional) Specifies the path and filename of an XML profile to use. If you do not use this parameter, Flash Media Live Encoder uses the default profile, startup.xml. For more information, see Saving encoding profiles.

/g

Starts Flash Media Live Encoder in GUI mode. This option cannot be used with any parameters except for /p.

/l

(Optional) Specifies the path and filename of an encoding log file. The settings in the log file override the settings specified in the currently loaded profile. For more information, see Using the Encoding Log.

/apuserID:password

(Required if the primary server requires authentication) Specifies an authenticating user ID and password for the primary server. Because the password is shown in plain text, take care when entering your password.

/abuserID:password

(Required if the backup server requires authentication) Specifies an authenticating user ID and password for the backup server. Because the password is shown in plain text, take care when entering your password.

/t dd:hh:mm

(Optional) Instructs Flash Media Live Encoder to restart after the time interval specified by dd:hh:mm. For more information, see Scheduling automated maintenance restarts.

/r

(Optional) Registers the encoding session to restart at an operating system relaunch after a system closure or crash. For more information, see Configuring Flash Media Live Encoder to launch at system startup.

/d

(Recommended) Validate the encoding profile and, if any values are invalid, use the default values instead.

/s fmle_uid

Stops the Flash Media Live Encoder session (instance) specified by the identifier fmle_uid. Prints a list of all running sessions if the identifier is invalid or unspecified.

/u fmle_uid

Un-register the Flash Media Live Encoder session (instance) specified by the identifier fmle_uid. Unregistered sessions do not start automatically when the operating system is launched. Prints a list of all registered sessions if the identifier is invalid or unspecified.

/dvrstart [fmle_uid]

/dvrstop fmle_uid

/dvrstate fmle_uid

Controls recording during streaming. For more information on these options, see Start or stop digital video recording from the command line.

Flash Media Live Encoder launches without displaying the GUI and immediately starts an encoding session.