Hi Everyone.
Sorry for a typically noob question that is probably quite simple to work out! I am looking for a way to schedule FME to only broadcast live at a certain time of day. More specifically everyday from 11.30pm - 7.30am, but not outside of these times. The host computer runs all day and being connected to the host URL all day wouldn't be a problem, just only encoding and uploading at these times... Firstly is this even possible? Secondly I have little to zero programming knowledge so am looking for a simple way around this problem?
Any help would be really great
Regards, Ben.
Hi,
Do you have to be frame acurate with the start/stop times? If not I could provide you with a simple application which would start and stop the FMLE at times of day you require.
All you would need to do is create the Encoding profile via the FMLE Gui application. Point my app at the FMLE install directory and the profile you created. set the start and stop time and enable it. PC clock would need to be time synched to an accurate source of Time.
Also you could make a couple of batch files: 1 to start the FME and one to stop the FME and schedule the running of these files in windows as a scheduled task.
john.
Hi John,
Thanks very much for your reply. The time does not have to be frame accurate to the best of my knowledge?! Just a start time of 11.30pm and a stop time of 7.30am that's all! Batch files and the such don't really mean anything to me?! I have tried to schedule it with the built in windows scheduler but all that seems to do is open the application at a certain time, it doesn't start the encoding process.
Ben
open window notbook
paste in the following
CD "C:\Program Files\Adobe\Flash Media Live Encoder 3"
FMLEcmd.exe /p c:\Profiles\my_profile.xml
note: the quotes in the first line above should be included.
save the file as "Start.bat" minus quotes to the root of your C drive. Make sure wiindows does not apend .txt to the end of the filename.
You have to create c:\Profiles\my_profile.xml
Create the folder "Profiles" in the root of your C drive
Open FMLEGui application. Set up the encoding parameters FMS details etc and save the profile as "my_profile.xml" to the folder you just made.
from the start button look in Programs/Accesories and find and start "Command Prompt"
when cmd.exe starts: type "cd /" minus quotes and press enter.
The cmd.exe should now read: C:\>
type
Start.bat and press enter: you will observer the command line version of FMLE start and it will provide you information of the status.
Many thanks for that. I did all that you said to do but I think I must be missing something as it still doesn't give any options to start/stop at certain times? Sorry for being completely useless at this! If it's not possible I will just have to start and stop it manually each day!
Thanks again
Ben
create two batch files. One for starting new fmle session and second to stop it using FMLE_UID. Place both the batch files in schedule tasks and configure them to start and stop on its own after desired time say at 11:30 PM and 7:340 AM.
For eg: create one start.bat file and put following lines in it:
"C:\Program Files\Adobe\Flash Media Live Encoder 3\FMLECmd.exe" /p "C:\Documents and Settings\neha\Application Data\Adobe\Flash Media Live Encoder 3\test.xml"
Create another stop.bat file and put following lines in it:
"C:\Program Files\Adobe\Flash Media Live Encoder 3\FMLECmd.exe" /s rtmp://localhost/live+livestream
Now goto Windows "Schedule Tasks" from All programs->Accessories->System tools->Schedules Tasks" and create two tasks for each batch file and set the time as per your needs so that FMLECmd can start and stop on its own at 11:30 PM and 7:30 AM daily. You can also set these tasks to repeat themselves on their own using Advance properties of Scheduled tasks on daily basis at fixed times.
Please let me know if this works for you.
Thanks,
Neha
I hate to resurect an old thread, but this is exactly what im trying to do. I need FMLE to broadcast at (12PM) and to stop at (12am) I am using this code all copied into my ....
For eg: create one start.bat file and put following lines in it:
"C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2\FMLECmd.exe" /p "C:\Users\Missy\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2\test.xml"
Create another stop.bat file and put following lines in it:
"C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2\FMLECmd.exe" /s rtmp://localhost/live+livestream
I am changing the TXT file to BAT and double clicking it after. I see a CMD window pop up for a few seconds then dissapear. The Start.Bat file is in my C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2 folder. I am using windows7 (64bit). I guess im trying to verify this still works with 3.2 as I can see this was last posted in 09. Thank you for the help,
I might have answered my own question.... After doing the above steps I realised if I run FMLEcmd.exe it open the previous saved streaming session I was in last. I set up win7 task manager to run FMLEcmd.exe at 12pm daily and to kill the task if its run longer than 12hours. Running the task starts it, I just need to make sure it will go off at 12AM now =)
North America
Europe, Middle East and Africa
Asia Pacific