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

Similar Messages

  • Streaming audio from my IPAD to my Apple TV from Rhapsody application.  when Apple TV go into Screen Saver mode, about 5 minutes after that it stops playing the Audio Stream and goes into Sleep mode.

    I am Streaming audio from my IPAD to my Apple TV from Rhapsody application.  when Apple TV go into Screen Saver mode, about 5 minutes after that it stops playing the Audio Stream and goes into Sleep mode.  I am using the Optical Out from the Apple TV to my receiver, the Apple TV is hard Wired to the Network, the IPAD is Wirelessly attached to the network (it continues to play the Audio Stream).  When the Apple TV is turned back on it resumes playing once I manual select it for output from the IPAD.  All device are on current releases of software.  I have no Video hooked up to the Apple TV.  How do I correct this?

    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • 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?

  • Why can't I get live streaming video to play

    Why can't I get live streaming video to play in Safari?

    Sorry, but that is old info. On my 21" iMac, I'm running 10.7.1 and the version of Safari is 5.1. On my 24" iMac, I'm running 10.6.8 and Safari 5.1. I have even tried to get it to run in Firefox and still no results. I've been able to do live streaming previously, but today I'm hitting a road block. Could there be a setting or preference that I do not have set properly?

  • My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad one.

    My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad .

    Are you using the Sky Go app to try and watch it ? If so are you logged in with your Sky account ?
    If you are using the app then you could try closing the app completely and see if it works when you re-open it : from the home screen (i.e. not with Sky Go 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Sky Go app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • 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

  • I am having problems syncing recently recorded songs to my iPod. I am using an ion program to record vinyl records to iTunes. The songs are in the iTune library and will play on the computer. When I try to sync they show up but do not play. help

    I am using an ion piece of equipment to record vinyl reccords to my iMac and in turn save them in iTunes. I have recorded many records this way and have never had a problem until yesterday. I recorded three songs from records to iTunes and was successful as they are on the song list and will play on the iMac. When I tried to sync them to my iPod they showed up on the menu but would not play. The iPod just skipped over the new guys. Am I doing something wrong or has my ion program flipped out? Any help would be appreciated by this old man. Thankyou

    This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.

  • Error message when I insert a div tag: Couldn't commit the changes made in Live View. Refresh the Live View and try editing again.

    According to a web and support forum search, myself and another person, Chloe in the Dreamweaver Club forum, have ever reported this. Trying to follow along a Lynda.com tutorial, and the instructor isn't getting this error. Can't imagine why it's happening. I'd be very grateful for any help. I'm also getting an error dialog message:
    DIALOG BOX:
    While executing onClick in InsertFGDiv.htm, the following JavaScript error(s) occurred:
    At line 687 of file "Macintosh HD:Applications:Adobe Dreamweaver CC 2014.1:Configuration:Commands:InsertFGElement.js": The object is not currently contained in a document.
    This appears at the top of the screen:
    Couldn't commit the changes made in Live View. Refresh the Live View and try editing again.  [Refresh doesn't do anything.]

    Try the suggestions here -
    Index to Dreamweaver FAQ
    The solution for Javascript errors is likely the one.

  • HT201317 iphone not my photos are appearing in the photo stream and it's all enabled what problem?

    iphone not my photos are appearing in the photo stream and it's all enabled what problem?

    Welcome to the Apple community.
    Try disabling photo stream on your device (settings > iCloud), restarting your device and then re-enabling photo stream.
    If this doesn't help you may need to reset photo stream. You can do this at icloud.com by clicking on your name in the top right corner and then the advanced settings in the pop-up dialogue box that appears.

  • RDS 2012 - Slow Perforamance, random disconnects - The RDP protocol component X.224 detected an error (0) in the protocol stream and the client was disconnected.

    We have an RDS environment configured on server 2012 with approx. 20 users connecting for remote app utilization across 4 different locations that are connected via VPN. Server 2012 has great resources from the virtual host so system resource allocation
    shouldn't be an issue. I'm thinking these errors are correlating with the performance problems. Any recommendations on how to effectively end these errors or to boost performance?
    RDS Log File
    Log Name:      Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational
    Source:        Microsoft-Windows-RemoteDesktopServices-RdpCoreTS
    Date:          3/3/2015 7:47:51 PM
    Event ID:      97
    Task Category: RemoteFX module
    Level:         Warning
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      REMOTE1.mzltg.local
    Description: The RDP protocol component X.224 detected an error (0) in the protocol stream and the client was disconnected.
    System Log Error Log Name:      System
    Source:        Schannel
    Date:          3/4/2015 10:42:02 AM
    Event ID:      36887
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      REMOTE1.mzltg.local
    Description: A fatal alert was received from the remote endpoint. The TLS protocol defined fatal alert code is 49.

    Hi Shane,
    Do you have any progress at the moment?
    Regarding the TLS error code 49, it indicates a valid certificate was received, but when access control was applied, the sender did not proceed with negotiation.
    More information for you:
    SSL/TLS Alert Protocol & the Alert Codes
    http://blogs.msdn.com/b/kaushal/archive/2012/10/06/ssl-tls-alert-protocol-amp-the-alert-codes.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • After playing the song I selected in iTunes 11 it jumps to the another album rather than playing the next song on the original album I selected.  ***?  How do I fix this?!?!?

    After playing the song I selected in iTunes 11 it jumps to the another album rather than playing the next song on the original album I selected.  ***?  How do I fix this?!?!?

    I found that clearing the "Up Next" list fixes the problem.  But I have to clear that list everytime I just want to hear just that one album.  Each time I select on song on the album, the "Up Next" list builds it's own list rather than just play through the album.  I think this has something to do with the issue.  How can I fix this?!?!

  • How to use Phone camera for live streaming rather than using WireCast camera in Live streaming using Azure Media Services

    Hi,
    am planning to develop a live streaming app using C# and xaml.
    I have gone through the below sample and am able to stream the live content using wireacst camera.
    Azure Media Services Live Streaming Sample
    But i want to use Phone camera to stream the live video rather using wirecast camera.
    How can i use that? How to get the published URL from the C# code, is there any API to get that?
    Anybody please help me
    Regards,
    Santhosh

    Hello,
    There are no in box components that will allow you to transmit captured video from a Windows Phone device to Azure Media Services. You will need to create you own implementation. You can do this by creating a custom Media Foundation sync that can plug into
    the MediaCapture element's pipeline. You will then need to modify the captured and compressed video to align to one of the two protocols that Azure Media services can use. At this time Azure Media services can use either Smooth Streaming or RTMP for ingestion.
    You will need to create your own packager (or find compatible packager code from a 3rd party) to package the MP4 encoded data into the necessary format.
    Here is an example of how to create a custom Media Foundation sync (please note you must write your Media Foundation components using C++ MoCOM. We do not support Media Foundation components written in managed languages):
    Real-time communication sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome
    And other browsers.
    Not sure which way to go with this.
    Any ideas would be much appreciated.

    I went to a Verizon store (agent) yesterday after work and tried the S4. They didn't have a live S5, and it did play the sites I normally use. The iPhone was able to live stream it also. I think its the Razor Max that's missing whatever it needs to play those videos.... plug ins, etc....
    Its mind boggling with all these phones out there.
    Anyway, thanks for your input, Suzy.

  • Trying to view the recorded or live stream while recording the live stream doesnt work

    The workflow:
    I push a live feed to the rtmp url rtmp://localhost/my-app/tester where my-app is a copy of the live app in AMS but with the following addition of code in main.asc:
    application.onPublish = function( p_client, p_stream) {
       s = Stream.get("my_hello5");
       trace( s.name + " = name, " + s.publishQueryString + " = pqs");
       if(s) {
         s.record();
         trace("recording...");
         s.play(p_stream.name);
    application.onUnpublish = function( p_client, p_stream) {
       s = Stream.get("my_hello5");
       trace("getting stream my_hello5...");
       if(s) {
         trace("stopping recording...");
         s.record(false);
    And Iam facing multiple issues:
    * The file my_hello5.flv gets generated in applications/my-app/streams/_definst_/ . And Once the recording is complete, If I open it using the url below in media player (Mine is Totem movie player on ubuntu) that I have on linux, it plays. But if I open the same url in  the OSMF flash media playback setup page (http://www.osmf.org/configurator/fmp/# ) , it is always showing "buffering".
    The flv url I used is: rtmp://localhost/my-app/my_hello5
    * If I try to open either the flv url or the live feed url inside the osmf page while the recording is still going on, then Iam not able to view either. It just shows "buffering" all the time.
    Your help is valuable and much appreciated.

    As a good practice if should not play a file while it is being recorded...on other hand you can programatically create chunks of recordking at preodic intervals and use those chunks for laying or copy those chunks to a different folder where a different application and make those availabel to subscribers for rtmp streaming..

  • Live stream won't play on Windows

    We're using QTSS and QTBroadcaster to stream a live event. Everything works fine on Mac clients, but Windows clients simply can't get the stream unless it's opened directly in QuickTime Player. We have a website with an embedded link for the stream, and have tried setting it up using both a raw <embed> tag and javascript (per Apple's instructions).
    Windows browsers display the page and the QT logo where the movie should be; no browser (Win or Mac) is able to display the stream directly, without an enclosing website. This is a change from last year, when we just put up a URL to the stream. It all worked last year; we didn't change a thing, and expected it to just work again. It doesn't. I am confused, frustrated, and more than a little discouraged and disgusted. Can anyone help? Thanks.

    I was finally able to make the page work by adding attributes to pass to the QT plugin; it works using IE 7 and 8, and Safari; it does not work with FireFox on any platform (Windows or Mac), so we directed FireFox users to view the link directly in the QT Player or use a different browser.
    Use the "Download the JavaScript files" link at http://developer.apple.com/internet/ieembedprep.html and save the file according to the instructions on that page. Then use the following bit of JavaScript on your page to embed the QT player, assuming the stream is at MY.WEBSITE.COM and is called QTMOVIE.SDP:
    <script language="JavaScript" type="text/javascript">
    QT_WriteOBJECT('samplemovie.mov', '540', '420', '',
    'qtsrc', 'rtsp://my.website.com/qtmovie.sdp',
    'autoplay', 'true',
    'type', 'video/quicktime',
    'emb#bgcolor', 'black',
    'align', 'middle');
    </script>
    The embedded player (in this example) will be 540x420. It's important to include the player size, otherwise it tends to get masked and you will see only part of the picture (for example, a 200x160 piece in the middle).
    Hope this saves someone else a little trouble.
    Message was edited by: Daniel Dobkin

Maybe you are looking for

  • IMac/Video Tearing Fix?

    Anyone know what the fix may be?

  • Create Folder with custom FolderClass (string)

    Hi,  When creating a new folder, how does one set the FolderClass (IPF.XXXXX) string inside Outlook? Similar to following using EWS var f = new Folder(_svc); f.FolderClass = "IPF.Note.ITQ.Custom"; The closest to FolderClass string I could find is, De

  • Correct entry for /var/run/slapd.pid

    what is the correct pid for slapd? my os x did not come with slapd.pid so I'm trying to create one manually, but I don't know what I'm supposed to use. also any one know the correct entry for /var/run/slapd.args? Thanks, Tadashi

  • Go Network broken in Mavericks

    I updated to Mavericks a day or two after it was available.  Almost immediately I noticed a problem with the Finder > Go > Network operation. I have a local network with a few machines on it: the MacBook Pro Retina I'm using now, running mavericks, a

  • Tp check problem

    Hi, I have to delete old transport requests using tp check/clearold. When using tp check, one error appears : [code]$tp check all pf=TP_DOMAIN_SID.PFL This is tp version 305.13.15 (release 46D) for ANY database check>Log file is written to /usr/sap/t