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

Similar Messages

  • Upgrading stock hard drive: how to copy lion and files to new drive

    Per above, I'm planning to replace my stock 5400rpm drive with a new Western Digital Scorpio Black drive this evening.  I want to transfer all my files, folders, and applications from the old drive to the new one.
    I have an external drive, which has my Time Machine backup.  Can I use that backup to just restore everything after physically installing the new WD? Mor is there a better way?

    I would get an enclosure in which to place your old drive. Then boot from the external drive, partition and format the new drive then clone the old drive to the new one:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    Clone Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Select Disk Utility from the main menu then press the Continue button.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the new drive. Source means the external old drive.

  • How do i record video on the new iMovie on my mac

    how do i record video on the new iMovie on my mac

    Hey baseballgod44,
    Great question! The following article outlines how to record video with the FaceTime HD Camera in iMovie (2013):
    iMovie (2013): Record video with the FaceTime HD camera
    http://support.apple.com/kb/PH14675
    Record live video directly into iMovie
    1. Do one of the following:
              - To record using the built-in camera: Click the Import button in the toolbar.
              - To record using an external iSight camera: Connect the iSight camera to your computer with a FireWire cable, and click the Import button in the toolbar.
    2. In the Cameras section of the Import window sidebar, select the camera you want to import from.
    A live video image from the camera appears in the Import window.
    3. Do one of the following:
              - To choose an existing event to contain the video: Choose the event from the “Import to” pop-up menu at the top of the Import window.
              - To create a new event to contain the video: Choose New Event from the “Import to” pop-up menu, type a name for the new event, and press Return.
    Thanks,
    Matt M.

  • How to publish http live stream

    When I use Adobe Flash Media Server 4.5  publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."  How can I do to solve the question?

    I didn't get your query. Are you looking for the restrictions/time limits on different versions ?
    http://www.adobe.com/products/flashmediaserver/compare/

  • Record Live Streaming Video

    Does iMovie allow me to play and simultaneously record live streaming video?

    I did not make myself clear. I want to capture the live streaming video from a local television station web feed. It seems iMovie does not do that or I don't know how to make it record. What application allows me to record the streaming feed? Thanks again.

  • How can one record live and simulatoneously show what is getting recorded?

    hello friends
    how can one record live video and simulatoneously show what is getting recorded?
    please help?
    Manmeet

    i have found solutions
    thanks

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder ..that doesn't have firewire out/input?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

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

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

  • 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".

  • How to use Youtube Live Streaming API ??

    I want to make a WPF application that gets the video from my ip camera and sends it to my youtube channel live. I look around all of the websites but there's no example how can i live stream a video to Youtube with c#. There are examples in google's website
    but they were written with PHP, Java and Phyton but I don't know this programming languages so i couldn't use the API.
    I tried to write a little bit but it didn't work. Here's my code that i wrote looking through the Java example.
    string devkey = "AIzaSyCbxm6g9orAw9PF3MkzTb_0PGbpD3Xo1Qg";
    string username = "MyYoutubeChannelEmailAdress";
    string password = "MyPassword";
    YouTubeRequestSettings youtubereqsetting = new YouTubeRequestSettings("API Project", devkey, username, password);
    YouTubeRequest youtubereq = new YouTubeRequest(youtubereqsetting);
    LiveBroadcastSnippet broadcastSnippet = new LiveBroadcastSnippet();
    broadcastSnippet.Title = "Test Live Stream";
    broadcastSnippet.ScheduledStartTime = new DateTime(2015, 3, 12, 19, 00, 00);
    broadcastSnippet.ScheduledEndTime = new DateTime(2015, 3, 12, 20, 00, 00);
    LiveBroadcastStatus status = new LiveBroadcastStatus();
    status.PrivacyStatus = "Private";
    LiveBroadcast broadcast = new LiveBroadcast();
    broadcast.Kind = "youtube#liveBroadcast";
    broadcast.Snippet = broadcastSnippet;
    broadcast.Status = status;
    Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest liveBroadcastInsert = new Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest(service, broadcast, "");
    LiveBroadcast returnLiveBroadcast = liveBroadcastInsert.Execute();

    This article should get you going:
    https://developers.google.com/youtube/v3/code_samples/dotnet
    Also, questions on YouTube API issues should get the best service here:
    https://groups.google.com/forum/#!forum/google-api-dotnet-client

  • Recording Live Streams on FMS remotely

    Hi,
    We're using FMSS 3 to stream live feeds from cameras.
    However, we'd also like to have the ability to (via an
    administration site) record these live streams and allow the user
    to view pre-recorded streams instead of the live ones.
    Does anyone know of an example of how I can tell FMS to start
    recording a stream (via a web service or AS), and then how to stop
    it? Just for clarification - we don't want FMS to record a stream
    from the user's own camera. We want to record the live streams that
    are already streaming on FMS.
    Thanks,
    Filip Stanek
    bloodforge.com

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

  • 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

  • How to copy referenced photos from dodgy external drive to new drive when whole file will not copy due to error 36.

    My external WD portable passport drive must be dodgy because I can't back it up or clone it or copy 3 of my 22 photo files to a new portable drive. I get error 36 as I attempt all 3 processes. I have copied my iPhoto library, iMovie events and most of my aperture referenced photos to the new drive. But cannot copy 3 files that contain the corrupted files showing just a grey triangle. I cannot delete or move to trash the corrupted raw photos.
    How can I copy to the new drive any photos that aren't corrupted (grey triangle instead of photo or a photo that's just coloured horizontal broken lines) so I can then reconnect the referenced photos after copying them?
    I am on late 2008 MacBook Pro with lion,
    Many thanks
    Bw

    I've worked out how to copy and reconnect individual photos.
    But can see that what's happening is that heavily edited raw photos are taking ages to load. Or not loading at all. And if opened go to the spinning wheel for 5-10 minutes. I am wondering whether to compress these or take them back to the originals or any other ideas would be very welcome.
    Thank you
    BW

Maybe you are looking for

  • Upload long text from excel file into internal table

    I need to upload service master(T-code : AC02) data alongwith long text.Now i have data in excel as: Service no(ASMD-ASNUM) and corresponding long text for it. I am facing problem in getting entire lontext from excel into my internal table.It only ta

  • How do I open Photoshop in Creative Suite 6?

          I am having trouble opening Photoshop in Creative Suite 6.Does anyone know how to do this?

  • Fonts in FCP

    Fonts in the newest FCP are still problematic. Only truetype versions can be used, not postscript, and in the truetypefonts the built-in kerning is not taken literally, the letters are placed a bit more crampy. Boris is not correct too, so I have to

  • Playlist scroll bar missing?

    Hello all. Just installed the new Itunes 11. Went to one of my playlists to find a song to listen to only to see that the scroll bar on the right side of the playlist column is now gone! Am I missing something here? How do I scroll down thru my playl

  • Cropping bug: part of image goes black

    A strange problem which cropped up after installing 3.2, and remains after re-installing 3.2. When I go to crop a vertical image, the top 1/3 of the image goes black.  I can still select what I want (guessing for the border in the black part) and, wh