Adobe Flash Media Encoder Autolaunch Script
2 posters
Stay Informed :: TECH :: Other :: Software
Page 1 of 1
Adobe Flash Media Encoder Autolaunch Script
Ok, for a year now, I have been using the Flash Media Live Encoder 3.2 to stream church services and other events. A week ago i had thought, wouldn't be nice if the stream could start on its own some how? Well, then i tryed to search for msdos command to start possibly in a windows batch file. To my surprise there is one "fmlecmd" located in the main directory of the program. If you are intrested in outmating the streaming to start on a timed schedule, then here are the two scripts i created to take care of just that. The startstream.bat needs to be configured with windows scheduler to start at specific times ofcourse.
startstream.bat - used to open stream.bat in a minimized dos prompt and then exit out of itself.
cd "C:\Users\Power Point\Scripts"
start /MIN stream.bat
exit
stream.bat - launches flash media encoder using the specified xml profile in minimized dos prompt and restart itself after a minute to make sure voice and video are synched. Then it will run for 2 and half hours and close itself out.
cd "C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2"
start /MIN /REALTIME fmlecmd /p "C:\Users\Power Point\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2/watershed.xml"
ping 127.0.0.1 -n 60
taskkill /IM fmlecmd.exe
start /MIN /REALTIME fmlecmd /p "C:\Users\Power Point\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2/watershed.xml"
ping 127.0.0.1 -n 8100
taskkill /IM fmlecmd.exe
exit
startstream.bat - used to open stream.bat in a minimized dos prompt and then exit out of itself.
cd "C:\Users\Power Point\Scripts"
start /MIN stream.bat
exit
stream.bat - launches flash media encoder using the specified xml profile in minimized dos prompt and restart itself after a minute to make sure voice and video are synched. Then it will run for 2 and half hours and close itself out.
cd "C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2"
start /MIN /REALTIME fmlecmd /p "C:\Users\Power Point\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2/watershed.xml"
ping 127.0.0.1 -n 60
taskkill /IM fmlecmd.exe
start /MIN /REALTIME fmlecmd /p "C:\Users\Power Point\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2/watershed.xml"
ping 127.0.0.1 -n 8100
taskkill /IM fmlecmd.exe
exit
Last edited by Romanovski on Sun May 06, 2012 9:05 pm; edited 1 time in total
Re: Adobe Flash Media Encoder Autolaunch Script
Genius. Seen this in action. Now I gotta do that for my network at home to replicate files between my laptop and desktop. Dropbox is only 2gb so I don't keep pics, movies, and music in it.
Ambush- {VoIP} Administrator
- Join date : 2009-12-09
Location : In a galaxy far far away
Posts : 587
Reputation : 7
Re: Adobe Flash Media Encoder Autolaunch Script
ill create another thread post for the backup script.
Stay Informed :: TECH :: Other :: Software
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum