Live stream and codecs

Hello.
Here is described how to use different codecs for different
clients (Sorenson Spark for Flash Player 7- and On2 VP6 for Flash
Player 8+).
http://livedocs.adobe.com/fms/2/docs/00000081.html
But as I can see, it is only suitable for recorded .flv
files.
Is there any possibilities to customize stream delivery or
live streams?
Can FMS2 transcode streams on the fly?
Thank you.

FMS can't transcode or do any sort of recompression. It's
bits in, bits out.
If you publish through the Flashplayer, you will alwaus have
sorenson spark encoded video (the flashplayer only has the decoder
half of the VP6 codec). If you want to publish live VP6 video, look
into the Adobe Flash Video Encoder, or On2 Flix Live.

Similar Messages

  • Capture the live stream and than play it as vod

    Hi guys,
    Could anyone explain how can I record the live stream and than play it as a vod at later time?
    Is it possible to achive it?
    Can you give any tips guys?

    Hi Mark,
    You can record a livestream by doing a server side record in you application. For example :
    1. Create a folder called test under applications
    2. Within this folder create a main.asc in any text editor and add :
    var pubCount = 0;
    application.onConnect=function(clientObj){
              trace("          on connect ");
              return true;
    application.onDisconnect=function(clientObj){
              trace("          on disconnect "); 
    application.onPublish = function(clientObj,streamObj){
      trace("          in application publish : " + streamObj.name);
      if(pubCount <= 1)
           streamObj.record("record");
      else
           streamObj.record("append");
      pubCount++;
    application.onUnpublish = function(clientObj,streamObj){
    trace("on unpublish : " + streamObj.type + ":" + streamObj.name);
    streamObj.record(false);
    3. You can then publish a stream with the container. If you're using FMLE publish as : mp4:sample.mp4, then the stream sample.mp4 will be recored.
    You can then either host the recorded stream directly in AMS and use as vod file or run the post processor tool f4vpp and use it to play in vlc or other players.
    Hope this hepls. Let me know if you have any other query.
    Thanks,
    Apurva

  • HTTP Live Streaming and 3rd party servers.

    I have a working HTTP Live Streaming (HLS) setup on my Snow Leopard server, where I have the live stream embedded in a Safari page via HTML5. I want to setup a very basic kind of CDN with something like a Microsoft 2003 Server, where the encoding and segmenting of the stream is handled by the Snow Leopard Server  but the hosting / distribution of the stream / site is handled by the Microsoft server.
    I'm looking for documentation on how to go about doing this. I know that it's possible to configure HLS to work with commercial CDNs like Amazon Cloudfront and Akamai, but my needs are much smaller as I'm looking to serve very few clients.
    Thanks

    https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware

  • Recording live streams and streaming them through VOD service

    We have a licenced FMS interactive 4.5. Currently we have a one time per day Live stream event which is streamed by FMLE to livepkgr application. As far as I understand the event is recorded on the server. We want to share that record on FMS vod service. Sadly I cannot find any real information how to do this? Do we have to code our custom Flash application for FMS for that, like livepkgr2 ? How to get the record and copy the file exactly the moment the record finished? Maybe somebody already did this?

    you can creat an app folder in fms folder which is inside of
    ur setup folder,
    for details u can mail at [email protected]

  • Live Streaming and server ressources

    Sorry, double post because of error message.

    using cable tv connection to take the signal into my
    computer, using a tv tuner card or video card.
    i need to buy a H.264 hardware encoder. i want multiple video
    streams in my FMS server so that i can serve my clients according
    to their taste,
    i want to know about some functionalities of FMS server.
    can i stream all the channels from the cable to the FMS server
    which is encoded using H.264
    If that is possible how can i select each channels from the FMS
    server,
    also want to buy a descent H.264 encoder and a video card or Tv
    tuner card to support all these functions Can you suggest
    one?

  • Flash player for online live streaming and whats app for Yoga 8 tab

    I have baught this Lenovo yoga tab 8 and I was trying to watch the live cricket matches online. But unfortunately an error message appearing on the video window on the web page saying that I need to upgrade the Flashplayer. So I tried to get the Adobe flash player from Google Play store but it says that this device does not support the application. Same has happened when I tried to install "Whatsapp" from play store. Is it because of the lower Android version? If, so is it possible to upgrade the Android version? Please suggest me the solution or alternative.
    Thanks in advance.

    Thanks rmbrkfld but....... is this link to be opened only in Tab or what?
    Because I just tried it on my computer and its not installing. The zipped folder has been downloaded, I unzipped it but there is no option/file to say Install, neither it was automatically installed  ........ (what's the name of this player?) .......... Please clear this.
    And you don't have any idea about whatsapp? Please leave a comment on this too.
    And another question I asked in the original message, is it possible to upgrade the android version of this Lenovo Yoga Tab 8?? .... if yes, please guide me ...... 
    Thannks again!

  • Archiving live stream at FMS and injecting metadata: VP6 good h264 not

    When I record a live stream at FMS, one in which I've injected  metadata in my main.asc file, the archived file plays back fine.  The  metadata plays back too.  I'm able to retreive it just fine - if I  encode VP6.
    If I encode h.264 the file plays back but  the metadata does not.  The fact that the archived file is created and  plays back tells me things are wired correctly.  The only thing I  changed is the format.
    According to FMS docs (http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc9 5e-7e42.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7f35)
    ..."The recording format is determined by the filename you pass to the Stream.get()
    method."
    So my record code looks like the following:
    application.onPublish = function(client, stream) {
         trace("onPublish");
         s = Stream.get("mp4:streamname.f4v");
         if(s){
             s.record();
         this.doRepublish(this.nc, stream);
    My code that injects the data in to the stream looks like this:
    Client.prototype.sendDataEvent = function(data) {
         trace("Call to sendDataEvent...");
         this.newStream = Stream.get("mp4:streamname.f4v");
         this.newStream.send("onTextData",data);
    All must be wired  correctly because the metadata comes through during the live stream.  On  play back of the archive though, the metadata doesn't appear to be  there.
    Any thoughts?
    Thanks

    My apologies on the s.play() confusion.  I had been trying different versions of the code and posted the one without it.
    Whether I include s.play() or not the file gets created.  Here are the various versions of the onPublish() function I've tried (differences in red):
    1.
    application.onPublish = function(client, stream) {
        trace("onPublish");   
        s = Stream.get("mp4:streamname.f4v");
        if(s){
            s.record();
            s.play("mp4:streamname.f4v");
        this.doRepublish(this.nc, stream);
    2.
    application.onPublish = function(client, stream) {
        trace("onPublish");   
        s = Stream.get("mp4:streamname.f4v");
        if(s){
            s.record();
            s.play(stream);
        this.doRepublish(this.nc, stream);
    3.
    application.onPublish = function(client, stream) {
         trace("onPublish");   
         s = Stream.get("mp4:streamname.f4v");
         if(s){
             s.record();
         this.doRepublish(this.nc, stream);
    All produce the same result - an archived file called mp4:streamname.f4v in my streams folder.  This file plays back fine but does not play back the commands.
    On your other question, about things working fine for VP6, it works fine for FLV.  A file called streamname.flv is produced.  This file plays back fine and does indeed play back commands baked into the file as well.  This is what makes me believe the code is not the problem.  If it works perfectly for one format, there would seem to be very little I could do in my code to break things for the other.
    Can you try this using the record() code snippets in the live docs Stream.record() section?
    http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc9 5e-7e42.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7f35
    All you'd need is the code snippets there to record your live stream and another server side function to inject commands into that live stream. Here is that function:
    Client.prototype.sendDataEvent = function(data) {
        trace("Call to sendDataEvent...");
        this.newStream = Stream.get("mp4:streamname.f4v");
        this.newStream.send("onTextData",data);
    Do something simple like call onTextData and pass some text in the data parameter.  Then on the client side viewer, handle the onTextData method.  It will receive the text.  Display it in a text area or something.
    If you record while injecting this text into your stream, the text should display on playback of the archived file.  It will if you encode VP6/FLV, but not if you encode H.264/F4V.
    Let me know what you discover.

  • Live stream HDS and HLS with one webpage.

    Hello,
    First off, I am not a web developer, but I can put together a page if I have to. I have been tasked with setting up our Adobe Media Server 5 for live streaming and have successfully gotten the HDS and HLS streams running. I have created the two pages on our webserver to link to the HDS and HLS streams and I wanted to be able to integrate them into one page so the users don't have to choose the appropriate stream. Can anyone point me to a site or maybe an adobe help on how to do this simply and effectively? Does adobe have some prewritten code for this somewhere?

    Hi,
    One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
    Hope this helps.
    Thanks,
    Apurva

  • Start/stop/restart live stream - do stream files need to be removed first?

    When streaming a live event if something happens and we need to stop our encoder and then restart it again.
    Do we need to delete the stream files created in the 'application/event/' directory and also delete the f4f stream,bootstrap, etc... files too?
    If we don't delete the stream files before restarting the live stream. It will only play about 10 seconds of the stream then just hang buffering.
    What is causing this?
    My application log shows no access when I restarted the stream.
    2013-09-04
    09:02:21
    3960
    (s)2641173
    onPublish : cfhsstream4
    2013-09-04
    09:02:21
    3960
    (s)2641173
    Stream name is: cfhsstream4 and live event is: cfhs
    2013-09-04
    09:02:21
    3960
    (i)2611173
    Event level recording configuration: General[flags: 3, keyframe interval: 60000, max size: -1, max length: -1, io buffer size: 0], Fragment[frag duration: 4000, seg duration: 0, duration precision: 0, allowed drift: 1000, frame rate: 0.000000, frames per interval: 0, intervals per frag: 1, frame precision: 1, disk management duration: 0.000000], ContentProtection[enabled=false(overridable)]
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Publish.Start
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Play.Reset
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Data.Start
    2013-09-04
    09:02:22
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.Start
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.NoAccess
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.Stop
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.NoAccess
    Thanks,
    Dave

    I have a similar issue like Mr Dave explained. If need to stop, start, stop and restart again, the encoder is sending, but in player not shows nothing. Then we need to stop and disconnect in encoder, and remove the stream file in /event and the cache files in livestream folder for after then restart the streaming. Only after this action, the streaming works fine and the streaming shows again in player.
    Have other way to solve this issue without need all that actions? Note that I use the Adobe FME to live streaming and encoding in HDS http streaming
    I hope for a help
    Thanks
    Pedro
    Message was edited by: asaweb2013

  • Realtime delay of 'live' stream

    Hello,
    I'm speccing a job for a client who wants to use live streams
    and have cutomers phoning in to direct the show as it happens in
    the studio. One consideration is how 'live' is live streaming in
    flash. Does anyone know roughly what the delay from studio camera
    to end users machine is? I intend using a high-spec machine with
    good video card, flash media encoder, and Limelight Networks as the
    server provider.
    Thanks in advance
    Mike

    yes, we too have a very small delay in distributing the
    signal.
    But remember the buffer settings in the client. Typically
    that would be 3 seconds and anything smaller than that may result
    in a jiggly video stream.
    The internet itself was not meant as areal-time delivery
    medium, so delays may vary, opposite to classic media like tv or
    radio, where there were no varying delays (until dvb-t came up (=
    jan

  • Live streaming just stopped

    The server is up and running, the VOD items work fine. The server recognizes the streaming application when I output to the server, but we cannot view the stream. ? This was working fine and all of a sudden, nothing. Any ideas?

    Yes, our live streams were working fine than just stopped. When I start to broadcast a live feed. The server sees the input but not able to view the live stream. VOD works fine. We are looking into the server itself. There was a pushed update and after that this issue popped up. All the FMS application services look to be started and running, but still nothing. FMS sees when a user connects to the live stream and is outputting, but nothing on the Flash player end.?
    Jason

  • How to secure Flash Media Streaming Server 3.5 (live stream connection)

    I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.
    All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?
    How can I setup the server to require a user and password to stream live media to the server?
    Any help would be great, I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.
    I am using the Adobe FMS Apache install, what files need changing?
    I have the following files:
    /opt/adobe/fms/applications/live
    total 44
    -rwxr-xr-x 1 fms fms 1035 Jul 27 14:52 allowedHTMLdomains.txt
    -rwxr-xr-x 1 fms fms  992 Jul 27 14:52 allowedSWFdomains.txt
    -rwxr-xr-x 1 fms fms 1550 Jul 27 14:52 Application.xml
    -rwxr-xr-x 1 fms fms 4371 Jul 27 14:52 main.far
    -rwxr-xr-x 1 fms fms 2292 Jul 27 14:52 readme.txt
    I want to lock down a person from connecting to the server on the public internet and starting a live stream?
    Can this be done with a user name and password?

    If you are concerned about anyone starting publishing to your stream then we have security update on this. Please upgrade to 3.5.4 and now you can use FMS Authentication Add-in (used with FMLE as publisher). If you are facing problems with publisher which are not FMLE, please enable SWF Verification so that only valid SWF's connect to your FMS.
    You can find 3.5.4 update here : http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
    You can find FMS Authentication Add-in on FMLE Download page: https://www.adobe.com/cfusion/entitlement/index.cfm?e=fmle3 (when you click on Agree - it will prompt for your Adobe ID - then when you reach Download page - you will get Optional Download of Authentication Add-in)

  • Simple HTML example on how to display a live stream?

    Hi all
    Is there anyone who has a HTML example (or can give an URL with a page) that has the Adobe Flash player displaying a live stream (and not a file)?
    There is one in the installation under "Flash Media Server Start Screen" but it was too complex for me to understand. I just need a simple example on how to display a live flash stream in Adobes own web player.
    Thank you very much :-)

    Hi,
    Here is the html code.
    <html>
    <head>
    <title>Flash Media Player</title>
    </head>
    <object width="550" height="400">
    <param name="movie" value="player.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>
    </body>
    </html>
    And here is the action script code of player.swf.
    import flash.net.NetConnection;
    import flash.events.NetStatusEvent;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.events.MouseEvent;
    import flash.media.Camera;
    startBtn.addEventListener(MouseEvent.CLICK,mouseHandler);
    var nc:NetConnection;
    var ns:NetStream;
    var vid:Video;
    var cam:Camera=Camera.getCamera();
    function mouseHandler(evt:MouseEvent){
        nc=new NetConnection();
        nc.addEventListener(NetStatusEvent.NET_STATUS,statusHandler);
        nc.connect("rtmp://localhost/sample");
    function statusHandler(evt:NetStatusEvent){
        trace(evt.info.code);
        if(evt.info.code=="NetConnection.Connect.Success"){
            ns=new NetStream(nc);
            ns.addEventListener(NetStatusEvent.NET_STATUS,streamHandler);
            ns.play("LiveStream");
            vid=new Video();
            vid.attachNetStream(ns);
            vid.height=400;
            vid.width=600;
            addChild(vid);
    function streamHandler(evt:NetStatusEvent){
        trace(evt.info.code);
    Please do the following before using the actionscript code:
    Add a button called start in fla and keep its instance name startBtn.
    create an application called sample in FMS and publish a live stream called "LiveStream".

  • Re-Start a Live Stream using AMS 5 through Cloudfront

    We have AMS 5 running on an Amazon EC2 instance. We send a Live Stream from an FMLE encoder using H.264/AAC.
    If we do an Origin Pull from that instance running the AMS 5 and Live steam through one of our commercial CDN accounts, we can stop and re-start our Live stream without issue. It stops and re-starts as it should. When we re-connect to the AMS using FMLE, using the Origin Pull, the stream re-starts in either the OSMF or JW Player 6 in under 30 seconds.
    If we use that same AMS 5 on the same EC2 instance and Live stream through an Amazon Cloudfront distribution, if we stop our Live stream, when we re-start the stream it takes an unacceptably long time for the stream to refresh - if ever. Basically, after the re-start of the Live stream through FMLE, the Live stream at the player plays the first 10 or 15 seconds of the intial Live stream and then stops. If you refresh the player, it will play that same 10 or 15 seconds again - and stop again.
    It would seem that the AMS 5 is setup correctly. It works through our commercial CDN.
    It also would seem that the issue is with the cache on Amazon Cloudfront. Our assumption is that the Cloudfront cache is not properly updating. But we have tried about every variable in every setting for Cloudfront that we can find. We can't get past this.
    Any suggestions?
    Thanks
    As a followup to this discussion, you can follow the issue through the AWS.Amazon forums at https://forums.aws.amazon.com/thread.jspa?threadID=120448&tstart=0

    We also have other threads going.
    http://forums.adobe.com/thread/1180721?tstart=0
    https://forums.aws.amazon.com/thread.jspa?threadID=120448&tstart=0
    There appears to be 2 different issues - one issue with Amazon Cloudfront and a second issue with Adobe Media Server. Unfortunately, they are tied together in the real world application of these programs.
    In AMS. when we use the adbe-record-mode=record, then the AMS works fine because the AMS is clearing the streams on each re-publish. Unfortunately, this causes a status code error on Amazon Cloudfront. And that particular status code error from a custom origin server causes Cloudfront to "override the minimum TTL settings for applicable cache settings". As the programmers explained, basically what happens is that Cloudfront overrides our 30 second cache settings and goes into a standard cache setting of 5 minutes. And waiting 5 minutes to re-start a Live stream just doesn't work in the real world for real customers.
    We can fix that Cloudfront status code error issue by using adbe-record-mode=append on the AMS. If we use that AMS setting, then we can stop a Live stream, re-start the stream, the Cloudfront cache clears and everything works - unless you also change the stream settings in your FMLE. If you stop the stream and change the video input or output size in the FMLE, then the AMS server gets stuck and can't/won't append to the f4f record file.
    Does anyone have any ideas about how we can adjust all of this so that it works together?
    Thanks

  • Live stream problem with FMS 4.5 + FMLE

    Hi,
    I've got a live stream (and DVR) setup using FMS 4.5 and FMLE.
    The hardware for the FMS server we use is 2x Xeon E5645 2.4GHz, 32GB RAM, OCZ RevoDrive R3 X2 PCI-e SSD. Installed OS is CentOS 5.8.
    We have 6 workstation PCs, each equiped with 4 BlackMagic Intensity PRO capture cards and FMLE 3.2. Using these PCs we stream Live video to FMS server.
    Video stream is grabbed from HDMI cable, to BlackMagic Cards, which are encoding by FMLE using H.264 format, 700kbps bitrate per stream.
    Video stream is published to server through RTMP stream, which is later saved for DVR in RAW format. We only keep 3 days of recording and delete the old ones.
    Server and Encoder PCs are in the same network, connected by gigabit managed switch.
    The problem I'm having is that after 10-15 hours FMLE starts to drop frames, because video buffer is increased. What I observed is that this happens immediately when Server CPU load increases above 60%.
    Based on the above observation I decreased the number of channels streamed by the server to 10, which reduced CPU load. But the problem still persists.
    Whenever I restart FMS and delete all DVR data, the CPU load (when streaming 10 live channels) is only 1%, but after 2 days CPU load increases to 50-60%.
    Whenever I restart FMS and don't delete DVR data, the CPU load is 5-10%, and after 2 days it still increases to 60-70%.
    Another thing I observed is that there is only single fmscore process running, but it has lots of threads which are switched on and off in split seconds. These threads are launched on different CPU cores, but at any given point in time the distribution of the load isn't equal among CPU cores. This leads certain CPU cores being loaded by more than 60% and frame drops start to occur.
    For the moment there are just 10 users watching this service, so I don't think this load accounts for the problem.
    Has anybody had similar problem, or know how can I optimize or finetune the system to run without problem? I would appreciate any suggestions.
    Another thing I noted through last couple of days:
    When I was restarting FMS the CPU load was reduced to 30%, but after 1 week past when I restart it CPU load only goes down to 75%. Everything is the same, nothing has been changed and there is no disk IO issues involved.
    P.S. I've modified application.xml using these values:
    <Scope>vhost</Scope>
    <Distribute numprocs="5">app</Distribute>
    <LifeTime>
    <RollOver></RollOver>
    <MaxCores></MaxCores>
    </LifeTime>

    Hi
    How many channels are you publishing?
    If there are too many channels, it is recommended to have one  FMSCore process start for each of them. To do so, you will have to change the scope to app.
    ---snippet---
    <Application>
    <Process>
        <Scope>app</Scope>
       <Distribute numprocs="3">inst</Distribute>
    </Process>
    </Application>
    Also, to delete older content, you will have to enable disk management. Refer http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSec225f632fa00875-23954b6f1300b641158-8000 for more info.

Maybe you are looking for

  • Migrate files, etc. to new user?

    I just had to create a new user acct with admin privileges to solve a problem with Adobe Bridge. Is there a way to carry over all of the settings from my original user acct? Thanks Peter

  • Epson r320 and airport express

    does anyone know if the r320 works with airport express? i see the r300 is on the compatibility list but would love to know if anyone has firsthand experience that the r320 works! ibook g4   Mac OS X (10.3.9)  

  • Applet to Applet socketeering

    Hi, I'm almost totally new to networking programming so I have a really simple question to ask: How can I have an applet running in a browser on one computer open a socket to another instance of that applet running on another computer? I guess I just

  • How to generate the primary key item automatically in form region?.

    Hi, The primary key item is generated automatically in report region.I already give the pl/sql function for generating of primary key.but I want to generate the primary key value automatically in form region only?.how to do this?.Pls help me.. Thanks

  • Library deleted - Record iPod tracks on cd

    I deleted all my itunes library (and all downloaded tracks), and now, I have all these tracks in my iPod, but I can´t record it on cd, or copy at new iTunes library... Any ideas?