|
|
Configuring Flash Media Live Encoder to launch at system startupImagine that you intend to run an encoding session continuously, but during the session the computer on which Flash Media Live Encoder is running crashes. As soon as that computer restarts, you’ll want Flash Media Live Encoder to restart and continue encoding in the same session. You can configure Flash Media Live Encoder to restart automatically at system startup by registering the encoding session. Any crash-related errors are noted in the log file when the encoding session restarts. For more information on log files, see Using the Encoding Log. Note: The registration of encoding sessions with the
operating system are stored in a file called OsLaunch.dat. Restricted
users cannot edit this file if it was created by another user. For
example, when a user registers an encoding session, that user creates
the OsLaunch.dat file. A restricted user cannot then register or
unregister an encoding session on the same computer because they
do not have permissions to edit OsLaunch.dat.
Register an encoding session
Show a list of all registered encoding sessions From a command prompt in your Flash Media Live
Encoder installation directory, enter the following:FMLEcmd /u Unregister an encoding session From a command prompt in
your Flash Media Live Encoder installation directory, enter the
following:FMLEcmd /u fmle_UID If the session is streaming to a server, use the format fms_URL+stream_name for fmle_UID. For example, to unregister an encoding session that is running on the server fms.myserver.com with a Flash application named live, and the stream livestream, you would enter the following: FMLEcmd /u rtmp://fms.myserver.com/live+livestream Note: When using the /u option, the stream_name portion
of fmle_UID cannot contain a plus sign (+), because
+ is used as a delimiter in fmle_UID.
If the session is being saved to a file but is not streaming to a server, use the FLV or F4V path and filename for fmle_UID. For example: FMLEcmd /u "C:\Documents and Settings\abc\My Documents\My Videos\sample.flv" The entry for the encoding session that you specify is removed from the OsLaunch.dat file in Drive:\Documents and Settings\All Users\Application Data\Adobe\Flash Media Live Encoder 3. At the next system startup, the encoding session does not restart. |