Skip navigation
Currently Being Moderated

FMS4.5 live stream with multiple video files as single source?

Jan 27, 2012 3:02 AM

Tags: #video #live #files #iphone #hls #fms #4.5 #multiple #streaming #rtmp #stream #single

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. 

(e.g. clientA boardcast on http://xxxx.com/live123, clientB boardcast on http://xxxx.com/live124....)

 

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.

 

Thank you!

 
Replies
  • Currently Being Moderated
    Jan 27, 2012 7:24 AM   in reply to paymok

    Hi,

     

    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 !

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2012 9:54 PM   in reply to paymok

    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)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points