Let clients record & save part of live stream

Hi,
I'm looking for a solution where clients watch a live stream video and can record part of this stream while watching and save this recording to disk. I can think of several solutions but not sure if any of them is possible:
- The selected part is recorded locally and saved through FileRefence.
- The selected part is recorded with FMS though a second NetStream and saved with a unique ID. The user can retrieve the recorded video by download.
- Start-time and end-time of the recording are send to the server where some script extracts the requested video from the live stream recording file and return it as a download.
Would any of these solutions work and what would be the best approach?
Thanks!

Thanks for the reply.
I'm indeed going for the last option, where the live stream is being recorded as FLV on the server and FFmpeg copies the requested part and converts it to MP4. Still need to do some testing and optimalisation but this seems to work quite well.

Similar Messages

  • I press the record while i do live stream. where does the video saved at in my computer?

    i press the record while i do live stream. where does the video saved at??

    iMovie (Apple), Pinnacle Studio is another. But there a number in the app store. and that is just if you are limited to the iPad.

  • Is there an application that will let you record a video camera live?

    Question is in subject. Anything but quicktime pro. You see, I have quicktime pro, but my friend is wanting to use camtwist, and he needs something that will actually record it. Any help?

    If it's a FireWire DV camera, you can use Vidi
    <http://www.mitzpettel.com/software/vidi.php>

  • I want to save to file Live Video Stream in Server.

    hello everyone..
    I use FMIE and FMLE.
    how can i do save to file Live Streaming in server installed fms, not local system ?
    thanks.

    Hi mir,
              As you give the path for server in nc.connect.
              You give ns.Publish("stream","record"); instead of ns.Publish("stream","live");
              you 'll be able to save the file at specified location as given in inthe path for connection.

  • Lag When Recording Live Stream

    I am experiencing a very strange behavior from FMS
    I am conducting a live conversation between 2 people using
    their webcams. One of the participants have a relatively slow
    computer (we think its the anti-virus). When conducting the live
    session everything seems to be fine... Still a bit slower than fast
    computers but still pretty good.
    We are doing the following test:
    We do a combined count from 1 to 20.
    participant-1 counts "1" (this is the slow computer)
    Only after hearing his count participant-2 counts "2"
    Again, only after hearing his "2" participant-1 counts "3"
    and so on...
    so the count goes from participant-1 to the server and from
    there to participant-2 only then the "2" count leaves participant-2
    to the server and so on...
    This session is being recorded. What I am getting in the
    recored video is very strange...
    I am getting participant-2 count before participant-1. So the
    count goes:
    2,1,4,3,6,5 and so on
    How is this possible to have the order correct on the live
    and not on the recorded?

    Hi,
    As it is , in the current form, both the applications cannot make VOD files directly. The live sample application can be modified to have a server side recording of the incoming live stream that can then be played as vod stream.

  • Can I publish static content to Live stream

    I have a requirement of publishing static content like video files mentioned in a playlist to be published to a live stream. It is like creating a TV station with pre-recorded content but with live stream. It will great  if anyone let me know is it possible with FMS?

    Yes its very much possible.
    What you need to do is place all your files on server and play it via server-side stream. You can go through FMS documentation and you should be able to get it work. However i will tell you briefly here how to go about it.
    Create an application folder , under applications directory of FMS. Let us name it as "test". Create a folder called "streams" under "test" and then under "streams" create "room" folder. So structure would be as follows : <FMS installation directory>/applications/streams/room. Now place all your static content here , say you place one.mp4,two.mp4,three.mp4.
    Now you want to give effect of live stream.
    Create a file called main.asc under "test" folder.
    Write below code in main.asc:
    var mylivestream;
    application.onAppStart = function(){
         mylivestream = Stream.get("mp4:livestream.mp4");
         mylivestream.play("mp4:one.mp4",0,-1,true);
         mylivestream.play("mp4:two.mp4",0,-1,false);
         mylivestream.play("mp4:three.mp4",0,-1,false);
    Above code would play all three static content one after other. Subscriber client would have to subscribe in following manner:
    ns.play("mp4:livestream.mp4",-1,-1)
    Please note that above code is sample code and not the most optimal or correct and will need tweaking depending on what is your requirement.
    Hope this helps

  • 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

  • Loop a short flv before the live stream begins

    Hi,
    Using FMS 3.02 and FME 2.5 is it possible to run a looping
    flv that the clients can see, before the live stream begins, and
    when the live stream finishes, an exit flv video plays?
    cheers

    Besides, can I draw data from DataBase (say, MS SQL Server) on server side? Can server-side ActionScript do this?

  • Problem with recording a live stream

    hi,
              i implemented an application for recording a live stream. It was working well locally. But now i am connecting with client's communication server. Broadcaster is working well. But the recording portion is not working. It's showing an error "NetStream.Record.NoAccess" . Can anbody help me to avoid this problem? Also now I am not able to connect with local FMS(developer version). When I tried to connect the same application with local FMS, it's showing an error like NetConnection.Connect.InvalidApp and NetConnection.Connect.Closed. Can anybody let me know why this error is showing?
    Regards,
             Sreelash

    I've just played around with the current developer edition of
    the flash media 2 server, and had a strange experience.
    We are using on our productive server still flash
    communication server mx 1.5.3, like i've noticed before, because we
    have only a licencse for this version.
    If i record a video with our app on flash media 2 server the
    problems i've descriped are away...
    ...BUT...
    flash media 2 seems to cut the corrupted part automaticly out
    of the record.
    I recorded a video which is exactly 30seconds long (made with
    a timeout script). On old flashcom the first 7 seconds have these
    descriped failures.
    If i record the same stream on flash media 2 there are no
    failures in the record, but the record is only 23 seconds long....
    This is very very bad adobe :(
    Or is the problem in my code? If there is anybody who can
    help, i would be very happy!

  • Strange live stream recording issue

    We are trying to record longer live streams on FMS 2.0
    real-time by duplicating the stream on the FMS and recording plus
    broadcasting at the same time. The recording seems to work but for
    some strange reason FMS stops recording after the first 4-5 minutes
    without throwing any error. Any idea what might be causing this?
    Which settings should we check? Any assistance is highly
    appreciated.
    Here is the code portion that handles the recording ('play'
    is the stream that is published from the streaming client):
    var stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());
    stream.owner = this;
    stream.onStatus = function(info) {
    if (info.code == 'NetStream.Play.UnpublishNotify') {
    application.saveVideo(this.owner, this.name,
    Stream.length(this.name));
    stream.record();
    stream.play('channel.'+chid);
    Thank you.

    This is similar to another problem that came up not sol long
    ago... it turned out to be how the stream variable was declared.
    Is the portion of code you posted part of a function? If so,
    this line:
    var stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());
    might be the problem.
    If you declare a variable inside of a function, the scope of
    that the variable is the function, not the application. When the
    function terminates, the variable will get garbage collected on the
    next GC. As I understand things, that will cause the stream to be
    closed.
    I might try assiging the stream var to the application
    object:
    application.stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());

  • 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); }

  • Use two streams to manager client video/audio,Can i combine streams and record it with server AS API

    Use two streams to manager client video/audio,Can i combine streams and record it with server AS API
    I tried Stream.play()
    var s=Stream.get("combine");
    s.play("video");
    s.play("audio",null,null,false);
    s.record("append");
    it's don't work!!

    Thanks, that's what I had thought. Our domain.com zone is sourced internally and replicated to our advertisers for external users, so there's no way to change the result for internal vs external users.
    This is a rudimentary question that I should already know but I sort of inherited this after it was built: Can I have users sign in with their email address ([email protected]) but under the hood, their SIP address is [email protected]? This would let users
    sign in with an address they expect, but it would take advantage of the the local lyncdiscoverinternal record.
    Thanks,
    Matt

  • How to copy recorded live stream to new drive

    I was wondering if anyone out there knows how to copy a recorded live stream to a new drive on the server?  I can copy the file within the virtual app directory but not to another drive.
    The only solution i found was to edit the application.xml:
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
        </StreamManager>
    But unfortunately i need to rename the file once its recorded, and i'm having a hard time accessing that drive/directory where the file is located.
    Any help is greatly appreciated.
    thanks

    Hi,
    What I understood from your query I am providing you a solution:
    1. You can use the below to copy recorded live stream to new drive/directory in Application.xml
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
    </StreamManager>
    2. By default, a script can access files and directories only within the application directory of the hosting application. A server administrator can grant access to additional directories by specifying virtual directory mappings for File object paths. This is done in the FileObject tag in the Application.xml file, as shown in the following example:
    <FileObject>
          <VirtualDirectory>/_definst_;e:\Sync\_definst_\</VirtualDirectory>
    </FileObject>
    3. Create one application folder suppose test and then create main.asc file inside that which will have the below code
    application.onConnect = function(client) {
    application.acceptConnection(client);
    var fileObj = new File("_definst_");
    var fl = new Array();
    trace("File name : " + fileObj.toString());
    if (fileObj != null)
      if (fileObj.isDirectory)
       fl = fileObj.list();
       for (i in fl)
        trace("Directory : " + fl[i].name);
        if (fl[i].isFile)
         trace("File : " + fl[i].name);
         trace(fl[i].renameTo("dvrstream"+i));
        }//if closes
       }// for closes
      }//if closes
    }//if closes
    }// application closes
    This server side application rename files but since the folder which we had to access was outside application directory of the hosting application we had to map it using step 2.
    If this solution does not answer your query please be more ellaborative on what exactly are you trying to achieve. That will help me to answer your query correctly.
    Regards,
    Amit

  • Fms force record live streams

    Hi there,
    Just wondering if it is possible to force recording of all streams in a given application ...
    So the scenario s that the client is sending live stream, but as well as this we need to recrd that stream . I know I can do sass and create a stream object. But I ned red if there was a better way which would be a simple config option
    Many thanks
    Matt

    Hi Matt,
    I don't think you can accomplish DVR without writing a server side script.
    You can, however, go through this- the DVR reference guide:
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS236AE81A-5319-4327-9E44-310A93CA09 C6Dev.html
    Thanks.

  • Custom metada and record live stream

    I tried to inject my own metadata into a live stream (webcam) recorded on FMS 4.5.1
    with no success. I was able to change only the standard metadata but not all my custom ones were recorded
    despite of all example on adobe livedocs, no luck.(as2 and as3)
    this example
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ff6Dev.html
    doesn't work at all for custom metadat and EVEN recroded special metadata like createdby and creationdata
    example:
    metaData.createdby = String(streamTitle + " of "+fullName);
    metaData.creationdate = String(now.toString());
    metaData.tags = {createdby:metaData.createdby, creationdate:metaData.creationdate};
    metaData.width = Number(devicesQuality.width);
    metaData.height = Number(devicesQuality.height);
    nodeSendStream.send("@setDataFrame", "onMetaData", metaData);
    once the stream is recorded I can see only metData.width and height. createdby, creationdate and tags don't exist.
    notice: I encode and stream from FP11.1 in H2564 with speex or pcmu
    Thanks

    well,
    I exactly respected the example of the link you gave by modifying the Application.xml, but if it was a segment problem
    how can you explain that the NON custom metadas are successfully modified ?
    please check this link
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ff6Dev.html
    I even tried the official property called createdby and creationdate without success. I was able to change only  width and height
    the code I use from the client is exactly the example of adobe manual, in AS2 and AS3
    Thanks

Maybe you are looking for

  • ORA-02070: database PSQL_REPORT does not support some function in this cont

    [oracle@stdb ~]$ sqlplus / as sysdba SQL*Plus: Release *10.2.0.5.0* - Production on Tue Mar 20 13:15:35 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Produc

  • Open PopUp for IE and Firefox

    Hello, Can anyone help me for this: when i click on a movie clip or a button i open a popup window, for Internet Explorer or Firefox. Thanks Waiting to your answer... Zaki

  • Where is the "show all" link in the new IOS 7 App Store, when viewing all apps of a developer?

    Hi, it seems that I found another problem with the new IOS 7. I like the program "AppTicker" which tells me about free programs. I used to open a program, then go to releated and then look at all the programs of the developer. There was one line for

  • Larger picture on click in iWeb

    Wondered if any of your iWeb genius's know a way of creating an on click larger image when clicking a thumbnail. I am trying to create a gallery and want a larger image to appear and then disappear when the thumbnail is clicked. Many thanks.

  • Call manager / UCM apps reporting tools?

    Hi guys, I was just wondering if anyone had any recommendations for any third party reporting tools to report on configurations of cisco ucm apps such as CUCM, CUC, UCCX, CUPS, etc etc. I'm thinking of getting something like this and want to know wha