I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices.
But in my case i have multiple video files keep received from another program and place it on file system (server),
my goal is use the Flash Media server to perform a live boardcasting with these video file one by one.
That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
You can imagine i am trying to boardcast a live footage say for 60sec,
but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file,
so that when client watching the live by HLS (e.g. http://xxxx.com/live123)
when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.
when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.
and so on...
Also can FMS dynamically create a new streaming session (invoke by code),
so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?
the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server.
so is that possible to use FMS perform such ideas? or is there any appraoches?
I am very new to FMS, if i have any misconcept on the FMS or media (live) encoder, please feel free to correct me.
To have FMLE load some videos from file sources, to be published, at this point, you need third party softwares like ManyCam.
Alternatively, FMS can use file sources and do a playlist-kind publishing, from the server side.
So, you need to make application scripting on the server, to have server read from the files, and publish them (server side publish) to be subscribed by clients. Essentially we are asking the server to replace FMLE/encoder published stream with server-read file sources to have the publishing stream.
http://help.adobe.com/en_US/flashmediaserver/ssaslr/index.html should give more info about how to do this.
Thank you !
thanks for your reply Nikhil!
So are you suggesting i dont have to use FMLE or other third part software like Manycam.
Simply i just need to use FMS, and make some script to read the files and publishing the stream?
Also quote your words "Alternatively, FMS can use file sources and do a playlist-kind publishing, from the server side."
For the playlist-kind publishing, the playlist you are saying should prepared at the very beginning?
or i can modify the playlist while publishing the stream?
Because i am concerning if i modify the playlist while streaming, will FMS know the playlist is updated? will it cause i stop of publish or black screen?
You can script or write the code in such a way that your playlist is dyanamic. Basically any Stream.play call can add to playlist depending upon your "reset" parameter in the call.
Just check this tutorial : http://fmsguru.com/showtutorial.cfm?tutorialID=12 - it might help you (its not about playlist but for single file but forms basis of live play from recorded file)
This method seems works for me! I have tried to follow the instruction but the tutorial shows how to connect it with rtmp, instead i would like to connect it through HLS-live, is that possible?
i tried to input the link like this,
but it seems not working...
Europe, Middle East and Africa