Recording H.264 Live Stream on the Server

I have seen several questions which were close to what I am looking for, but haven't found an answer that worked. I work at a school, and we use a NewTek TriCaster to stream live events through FMS 3.5, which I am hoping to upgrade to AMS 5 to allow HLS. We have been streaming a single H.264 encoded feed through the server as a live stream which works well. They have recently asked if it is possible to archive that recording on the server. I was able to get everything to work correctly when I switched to using the VP6 codec, but as long as we were streaming with H.264, I could not get the server to record it correctly. Here's what I have tried:
This code works for the VP6, but the H.264 doesn't record the video:
application.onPublish = function (clientObj, streamObj)
     var s = new Stream("archive");
     s.record();
     s.play(streamObj.name);
This worked and created an flv file, but caused a few other issues due to the encoding of the VP6 and having to re-encode the video to H.264 before putting the file online.
Based on suggestions I was reading, I tried this with the H.264 stream:
application.onPublish = function (clientObj, streamObj)
     var s = new Stream("mp4:archive.f4v");
     s.record();
     s.play(streamObj.name);
This created an f4v file, but I could not play it. When I tried to open it in Adobe Media Encoder, it gave an error that it did not support the compression type.
Thanks.

You should use a H.264 compitable encoder..
FMS only delivery content, player only player the stream..
Flix Engine, from On2, have the H.264 encoder..

Similar Messages

  • How to store Live stream on the other Server

    Hello Everyone,
    This is very important for me to store all live streams in the archive server at F4V sormat.
    to do that I record live stream in the F4V:
    mystreams.publish('mp4:' + netstream.name + 'f4v');
    mystream.recod();
    This cods is work currently in the rootinstall directory's but I wan to store on the archive directory in other linux server.
    1- I share the archive folder in the archive server.
    2- Create folder on the AMS linux server in the applications/livepkgr/streams/_definst_/archive
    3- mount archive folder to the archive folder in other server:
    mount -t cifs -o administrator=root,password=myams //192.168.1.100/Archive /opt/adobe/ams/applications/livepkgr/streams/_definst_/Archive
    So Archive Server is: 192.168.1.100/Archive.
    Now I have problem to store live streams in the Archive server...!!!
    When I start publish live events on the Flash Media Server, AMS is make video file with f4v format in the Archive server (ams have access to write in other server) But this file has 0kb. there is no capacity.
    Please advise me to solve this problem.
    Many Thanks.

    This seems like a good guide:
    http://www.marcoach.nl/index.php/nl/tech-tips/55-os-x-mountain-lion-webmail.html
    Lion Server (10.7) does still have webmail on board, although this is not the forum, this is.

  • Use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP

    I have created a live stream of a video and it gets stored in live folder.
    Now i need to use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP, publish the streams to the HTTP Live Packager service on Flash Media Server.
    So what necessary steps do I  need to follow to do that ??

    You need to generate a manifest file using Configurator tool and placed it under the webroot directory.
    C:\Program Files\Adobe\Flash Media Server 4.5\tools\f4mconfig\configurator

  • How to connect flash video player(like youtube)  to live streaming video the programm like                             

    How to connect flash video player(like youtube) to live
    streaming video the programm like webcamXP?
    Or through a browser to look in a videoplayer video from
    other usual personal computer with the program for a video
    broadcasting from the web chamber.

    you can use google to search for tutorials on skinning the component.

  • Access is not inserting, updating or deleting records in my database table on the server

    I am having a problem with an application I developed using Dreamweaver 8 and Access 2000 several years ago which is no longer working correctly. The problem is that Access is not inserting, updating or deleting records in my database table on the server but is reflected in changes to my Web site. I used the Dreamweaver server behaviors: insert record, update record and delete record to make the changes to my Access table on the server. My Access table on the server shows all of the records I inserted or updated in the past, but not any of the newly inserted on updated records.
    does any one have any ideas as to what my problem is?
    Jim

    No, that has nothing to do with your problem. Let's make sure I understand the symptoms.
    1) Your site is online at a remote host.
    2) You use a dynamic page in your online site to update a database record (insert, delete, or update)
    3) The update then appears correctly on your dynamic content page.
    4) You download the mdb and it appears to not have any of the upates you just made.
    Please correct any of these statements if they are wrong.
    If the above is correct, then you must be looking at a cached mdb, or the mdb you are looking at is in the wrong location. Do this: search your entire drive for copies of the mdb, including in the Windows temp directories which is likely where the cached copy is located. Delete any extra copies and download again.

  • Running CS6 on a Macbook. Can anyone help me figure out how to record audio that is streaming on the Macbook? Under "Audio Hardware," my input choices are "Built in Mic" and "Built in Input." Neither does this.

    Running CS6 on a Macbook. Can anyone help me figure out how to record audio that is streaming on the Macbook? Under "Audio Hardware," my input choices are "Built in Mic" and "Built in Input." Neither does this.

    Please repost on the CS6 part of the Audition Forums.

  • Unable to stop browser streaming to the server

    Hi All,
    I am having a problem when using apache fileupload framwork. However I don't think it has to do with this framwork. It's more general upload issue.
    When I upload a file I do the check for its size. I am streaming the request from the browser. If the file gets to large I stop the streaming by closing the streams including the ServletInputStream. Still the browser streams to the server. While my response is ready to be returned to the browser. And is returned when the stream is ready. I think you need to stop the SocketInputStream somehow. I am trying to find out on how to do this. Any suggestions are welcome.
    By the way if close the browser early I get java.net.SocketException: Connection reset
    I am using Websphere Portal. But any example with other server in portlet or non portlet context are okay too.
    Does anyone know a solution to stop the portal from reading the request? In other words stopping the browser from streaming to the server?

    Is there any missing features in your server, see here for mitigation-
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/11edc5d4-c362-4293-86d0-22be5130d448/unable-to-load-workflow-actions-from-server-please-contact-your-server?forum=sharepointcustomizationlegacy
    http://blogs.technet.com/b/rajbugga/archive/2013/04/12/unable-to-load-workflow-actions-from-the-server-please-contact-your-server-administrator.aspx
    http://sharepoint.stackexchange.com/questions/34405/sharepoint-designer-2010-unable-to-load-workflow-actions-from-the-server
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c2f6e646-c753-4bca-baaa-c5da2a05546e/unable-to-load-workflow-actions-from-the-server-in-sharepoint-designer-2010?forum=sharepointcustomizationprevious
    http://www.sharepointed.com/2011/08/16/unable-to-load-workflow-actions-from-the-server/
    http://sharepointconnoisseur.blogspot.com/2013/06/tips-to-resolve-error-unable-to-load.html
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Why is a recorded stream getting delete when a live stream with the same name is received?

    i have an application that plays prerecorded streams. The streamnames are loaded from a xml file an put into an array on the server side. The streams were changed with an Interval.
    Thats all works fine.
    i want that as soon as a livestreams with the same name as a prerecorded stream in the array is received the livestream is played in the playlist.
    I know if i use the starttime -2 in the stream.play-method that the livestream is played instead of the prerecorded stream. But if i use this, the prerecorded streams in the streamfolder getting deleted.
    the sequence of my code:
    var StreamArray  = new Array();
    var location_xml = new XML();
    var xmlfileObj = new File("Location_list.xml");
    location_xml.onLoad = function( success ) {
    if(location_xml.loaded == true) {
    if (location_xml.firstChild.hasChildNodes()) {
    for (var aNode = location_xml.firstChild.firstChild; aNode != null; aNode=aNode.nextSibling) {
    if (aNode.nodeType == 1) {
    StreamArray[aNode.attributes.id] = aNode.attributes.name ;
    location_xml.load(xmlfileObj);
    my xml doc:
    <?xml version='1.0' encoding='utf-8'?>
    <location>
    <loc id="0" name="home1" />
    <loc id="1" name="home2" />
    <loc id="2" name="home3" />
    <loc id="3" name="home4" />
    </location>
    Also it would be very helpfully if i could set the names of the prerecorded streams with the name-attribute.
    For example:
    for(var i = 0; i < StreamArray.length; i++) {
    StreamArray[i].name = StreamArray[i];
    because i also only can get the livestreams(detected on the application.onPublish-function) with streamObj.name.
    many many many thanks for any replies or solutions,
    Arvit

    Hey Ronald Everett,
    Thanks for the question. Are these CD’s that you purchased or created yourself? If it is the latter, Gracenote media database information will not appear. For more information on Gracenote, see this resource:
    iTunes 11 for Mac: If you don’t see song information
    http://support.apple.com/kb/PH12280
    Thanks,
    Matt M.

  • Publish H.264 live stream

    Hi all,
    I'm currently trying Flash Media Server 3.0 with CS3 and
    Flash Player 9.0.115. Our goal is to implement a videoconferencing
    application with H.264 encoded video.
    In the feature list, it's clearly stated that the server
    allows live publishing of H.264 content. I haven't seen any
    documentation on how to do this yet. I don't know if the player
    publish in H.264 by default or not?
    Is it possible to do this?

    You should use a H.264 compitable encoder..
    FMS only delivery content, player only player the stream..
    Flix Engine, from On2, have the H.264 encoder..

  • Generating a PDF of what the user sees, and sending it as a binary stream to the server

    Hi All,
    On the final page of our Flex app, we allow the user to print out a copy of everything they've entered for their own records.
    I'm wondering if there is a way for me, programmatically, to generate a PDF document that is the same as their printout (I pass a particular container to the "print" button I've got for the user), and send those bytes back to the server.  We can store this PDF along with all the rest of their data, and it would be useful as a "snapshot" of exactly what the user saw when they submitted their application.
    I'm looking into Flex PDF generation, but so far haven't gotten this figured out.  I thought some folks here might be able to point me in the right direction.
    Thanks!
      -Josh

    Here is how you can take a snapshot.
    import mx.graphics.ImageSnapshot;
    import mx.graphics.codec.IImageEncoder;
    import mx.graphics.codec.PNGEncoder;
    import mx.utils.Base64Encoder;
    private function uploadImage(rSource:IBitmapDrawable):void
                        var tBitmapData:BitmapData = ImageSnapshot.captureBitmapData(rSource);
                        var tEnc:IImageEncoder = new PNGEncoder();
                        var tBA:ByteArray = tEnc.encode(tBitmapData);
                        var tB64:Base64Encoder = new Base64Encoder();
                        tB64.encodeBytes(tBA);
                        // send tB64.toString() using POST to the server to save the image.
    // call
    uploadImage(this) // where parameter is an object to get the snapshot of. Can be anything including Application. ("this" in my case).

  • Live streaming to FMS server from analog cable?

    Need to stream an analog cable signal (may consist of 60-70
    channels in VL and VHF)to FMS server. im doing a small scale
    project. so i want some hardwares supporting these. please suggest
    me some reasonable ones..
    is it possible to do the same with a tv tuner card.?

    For HLS streaming, only aac/heaac are supported audio codec. Though FMS do not disallow packaging mp3, but its mostly depnds upon ios devices to play back them.. We don't recommend mp3 as codec for ios playback.
    Thanks

  • DMP-4400 5.1 When Live stream drops the DMP requires reboot

    We are using the Exterity TV Gateway to stream live TV to our DMP's when the Signal drops on the Exterity as it does several times a day the TV looses Audio and the screen goes blank for 5 seconds shows video and then blank again. This continues until we reboot the DMP. Has anybody come across this issue and does anybody have any ideas on a cure? The network connections are ok at the Exterity and DMP as far as speed and duplex are concerned with no errors seen. I am thinking its something to do with the multicast and the time its taking to re-join the stream but not sure how I can make any ajustments if it is.

    Hi,
    Do you have a resolution for this?
    I'm getting a similar issue running the DMP 4400 and DMM 5.1 except I have and issue where I could get 2 channels ok but could not get others and getting the blank screen repeatedly. Rebooting the DMP does not seem to provide any resolution temporarily or not. I have a DMM, DMP and DCM all attached to the same switch. Using UDP media per channel and a  presentation per channel to push TV the DMPs.
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    Using VLC to pickup the mutlicasts works without any issues.

  • Time shifting and record live stream

    Hellow everyone,
    I would like to stream videos for my viewers and them have a abiliti to timeshifting live stream.
    Can I use live application for timeshifting? Or I should use livepkgr to do that.
    For archive and play on the VOD mode I like to stream live and record at same time. in the livepkgr I see in the stream folder create a stream file with the f4f extention automaticaly whoever in the live application I should call application.record on the FMS to save live stream on the server.
    Please advise me the better solution to archive and time shifting.
    Many Thanks.

    livepkgr application for for HTTP streaming...
    f youjust want to stream over rtmp use live application and code to record the stream...recording is pretty simple in AMS just call Stream.get() s.record(...) s.play() where s is the stream which you are recording...
    application.onPublish = function(clientObj, streamObj) {      trace("recording started...");       var strName = "recorded_" + streamObj.name;      var s = Stream.get(strName);      if (s == undefined )           return;         s.onStatus = function(info)      {           trace(info.code);      }           if (!s.record("record"))      {           s.trace("record failed.");      }            s.play(streamObj.name, -1, -1, true); }

  • How do you watch and record a live h.264 stream at the same time using fmis and FMLE?

    I've read all the similar post but could not find a solution that actually works, and please no "just use the dvr or record on the FMLE suggestions" as neither will work for me.
    Some posts I've read suggest naming the stream in the FMLE to something like mp4:mystream.mp4 or mp4:mystream.f4v but then you can no longer view the stream, and according my the admin console the stream will not even publish using this syntax.
    I can view the published stream if I name the FMLE stream to something like mystream.mp4 or just mystream, but then it doesn't record at all or records as a FLV file depending on how I code the main.asc file.
    Here's one version of my main.asc, this one correctly publishes the live stream after the client triggers the joinStreams function but will not record it.
    application.onConnect = function (client, userType)
        trace("userType is " + userType);
        this.acceptConnection(client);
        //this.clientCount++;
        client.joinStreams = function (channel)
            trace("joinStreams on channel " + channel);
            liveVid = Stream.get("livevideo/" + channel + ".mp4");
            liveVid.play("hdvideo/" + channel, -1, -1);
            liveVid.record("append");
        client.clearStream = function (channel)
            trace("clearStream on channel " + channel);
            liveVid = Stream.get("livevideo/" + channel + ".mp4");
            liveVid.play(false);
            delete liveVid;
    I've been working on this for 48 hours straight, please advise.

    I think lets keep it simple, will explain what you have for watching live streams and recorded streams
    Live Publish and Play:
         FMLE Settings:
    Video Codec: H.264
    Audio Codec:<any of your choice>
    Server URI : Please put your server uri with application name here , for example i will use "rtmp://myServer/myApp"
    Stream name: livestream
        Subscriber Settings:
              Server URI :  "rtmp://myServer/myApp"          Stream name: livestream
              Mode: "live" ( i.e. ns.play("livestream",-1,-1,true)
    Playing VOD H.264 file:
         Subscriber settings:
              Server URI :  "rtmp://myServer/myApp"
              Stream name: if file name is "sample", use "mp4:sample", if file name is sample.f4v, use "mp4:sample.f4v"
              Mode: "record" ( i.e. ns.play("mp4:sample.f4v",0,-1,true)
    For DVR (Record-in-progress stream)
    If you are using FMLE and want to use "Record" option of FMLE then you need to have to dvrcast_origin application and subscrier needs to FLVPlayback 2.5 component
    If you want to use that option, do let me know i will give details later.
    For now we will use simple server-side code and FMLE as publisher.
    main.asc of "myApp"
    application.onPublish = function(myclient,mystream){
         mystream.record();
    application.onUnpublish = function(myclient,mystream){
         mystream.record(false);
    FMLE Settings:
    Video Codec: H.264
    Audio Codec:<any of your choice>
    Server URI : Please put your server uri with application name here , for example i will use "rtmp://myServer/myApp"
    Stream name: mp4:mydvrstream.f4v
        Subscriber Settings:
              Server URI :  "rtmp://myServer/myApp"          Stream name:  mp4:mydvrstream.f4v
              Mode: "live" ( i.e. ns.play(" mp4:mydvrstream.f4v",0,-1,true)
    Try out above and let me know if that works or does not work for you.

  • How to force authenication to stream live content FMS Interactive Server on Linux

    We purchased Flash Media Streaming Server Interactive edition in order to have the security featuers of not allowing unauthorized connections streaming live content to the server.
    Is there a document with procedures that details how to make this happen, the allowedHTMLdomains.txt does not work when you place in IP ranges that you do not want connecting.
    I need some help just to figure out a way to keep someoen from connecting to the server and not streaming live content.
    Has anyone configured this in Linux because the documentation is mainly for Windows.
    Any help/advice would be great since this seems to be a common problem for anyone who runs Linux.

    The FMS server does not the livepkgr application as its default. There is no default application as such.
    FMS server installer comes with few applications to make it easier to get started, the four applications live, vod , multicast and livepkgr , each one of these applications trying to give an easy way of implementing the different scenarios.
    live and vod are the basic RTMP live and vod cases, while multicast gives a sample implementation for RTMFP and P2P cases, livepkgr is the sample for HDS / HLS cases using HTTP Dynamic Streaming and HTTP Live Streaming for iOS devices. None of these are default, and all of them can be made use of , depending on your scenario.
    Each of these applications have the necessary files within its folder, a main.asc file that has the server side script which can include some business logic or authentication stuff (its not mandatory to have any of these files, that means, a blank folder would still /can still act as an application ! ). So, main.asc is specific to an application and it can contain the script to guide the behavior. None of these asc files are loaded by default, they are dependent on the application,
    The application can be loaded on server start up or upon the first connection to it. So unless there is a specific activity to load it up, none of the applications (and their corresponding script files) are loaded on the server engine.
    The applications, their script and other files are not specific to the interactive server, they are present and the functionality is same on all flavors of FMS and on both windows and linux.
    main.far file is just the signed archive of main.asc to avoid any changes to be made to it (the licensing process on the streaming server to restrict unsigned applications to be loaded is the reason to make this change), and hence if you make changes to the main.far , the application will not work. But this does not mean that you cannot make any changes. You can simply delete the far file and copy the main.asc (and edit it ,if needed) from the samples folder to make the applications work. You can also make copies of the applications.
    The documentation does not cover linux because there is no difference at all from windows, and what's true for windows should be the same for linux as well , in terms of its functionality.
    By default, FMS comes with only one virtual host : _default_VHost. I am not sure where you seeing the three virtual hosts.
    What query string you want to make work on Linux ? Can you please clairfy.
    I hope the information above clarifies some of your queries. Thank you !

Maybe you are looking for