Record video to local file: possible in AIR 2.5?

Our shop is spec'ing an application that will include recording high-quality video on a user's workstation for later upload. We thought of building in Flex and distributing as an AIR application. Before now, my research tells me, one could capture microphone sound to a local file, but video has always required NetStream.publish() to a FMS server. The other way to go was using NativeProcess to communicate e.g. to FFMPeg -- there's a devnet article about just that here: http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
Neither of those scenarios is a good fit to our need.
Question: does the AIR 2.5 release make it possible to record local Camera video to a local file?
Thanks in advance,
  Laurence

I didn't think recording was the issue, rather encoding into something less huge than a sequence of raw bitmap captures in a reasonable amount of time. There aren't any changes in AIR 2.5 to improve that aspect.
There is this library that claims to encode captured video into FLVs (I haven't tried it yet): http://www.joristimmerman.be/wordpress/2008/12/18/flvrecorder-record-to-flv-using-air/

Similar Messages

  • Cannot send videos and other files on ipad air

    There is no button "send files" on my 4.19 skype. I can send photos, video message, but not video from my ipad library or any other files. Any sollutions?

    Were they able to confirm that their app will allow the download of files of that size? There should not be any issue with downloading files sizes when on Wi-Fi. The phone does not have restrictions, but a timeout can be an error of the ISP, or something the App does. Then again, if you are downloading via Wi-Fi, is the device going to sleep during this time? Is it connected to power? If it is going to sleep and is not connected to power, even in the download mode, the sleep mode of the iPad could be disconnecting the Wi-Fi. Try doing it with the iPad connected to power.

  • Is reading local file possible?

    Hi,
    My intention is to use Flash 8 Pro as a tool allowing to
    upload large files
    into the server (something like FTP client). Unfortunately a
    lot of servers
    have tight restrictions for transmition time (sometimes
    limited to 30s).
    Work around to this could be a Flash. I couldn't find any
    information in
    Flash documentation about reading binary files selected by
    user by
    HTML-like file field. I would like to read selected file,
    split it into
    severeal smaller parts and then upload every part separately
    into the
    server. Is it possible?
    Regards,
    Marek

    > Czesc Marek
    Hi! It seems you speak my native language :-)))
    > Flash itself has no FTP capabilities. The only thing you
    can do is use
    > middle ware
    > like php or asp and server side to upload stuff to
    server and use flash to
    > prompt
    > the Browse for File dialog, and than upload your files.
    Flash itself has
    > no way of
    > doing it at all unless with middle ware.
    Yes, I know that. That is the reason why I have written
    'somethig like FTP'.
    Ok, once again... I can create PHP script to receive POST
    uploads. This is
    no problem to me. The problem is that iddle time for scripts
    on this
    particular server is set to 30 seconds only. It means that I
    can't upload
    files for which transfer time will be longer then 30s. To
    work around this
    issue it is necessary SPLIT uploaded file into the chunks
    then transfer it
    to the server and join using e.g. PHP script. I need a tool
    embeded on web
    page which allows me to select large file (large sometimes
    means 1MB) and
    send into the server jumping over server time limitations.
    Flash contains
    build-in FileReference class but there is no described in the
    documentation
    how to send selected file as e.g. 4 separate parts of it.
    > There is an upload samples which comes with
    > flash and can be located under the SAMPLE directory on
    your C drive in the
    > Macromedia
    > folder. This is as far as it goes.
    It is also described in Flash help under FileReference class
    description.

  • Record Audio in mp3 file format using FMS

    I am Recording Audio Using FMS which will record Audio file in FLV File Format default But I like to Record in MP3 File Format. Is it Possible.
    And I also Record Video In MP4 File Format using h264 encode. Which Give me Video File in MP4 File Format but When i will try to play that MP4 File it Didn't play. So, I post-processed video with a tool called F4V Post Processor. Now That MP4 Video File Play But Didn't Give me Sound in that Video.
    My Code is:
            var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
            h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3);
            ns.videoStreamSettings = h264Settings;
            ns.publish("mp4:"+FILENAME+".mp4","record");
    I search Lot but didn't get the solution. So, Please Give me Solution for Both thing.

    The .flv format is a "container" format, not a video format.
    So that means that inside the container, you can have a video file and/or an audio file or even just an audio file.. which most likely is already an mp3 file. Use something like "FLV Extract" to break open the container and see:
    http://moitah.net/
    But really, for any Web delivery of audio, the .flv (audio only) method works just fine. Lots of media players available for the Flash .flv file.
    For example:
    Sounds from my bunk on the Lady Washington
    http://exploreolympics.com/reports/?p=2857
    Scroll down to third media player.
    A little quiet to start with... but this is a .flv file with just an mp3 audio file inside.
    Best of luck!
    Adninjastrator

  • Recording video in AIR

    I'm developing a desktop application in Adobe Air. I'm trying to figure out how to record video to the hard drive as a FLV file using the Camera and Video classes. I have looked everywhere in the Adobe Flash documentation for information about how to record a video, but I can't find out how to do this. Can anyone tell me how this would be done?
    There is no server in this situation; in fact, the computer the software will be running on isn't even connected to the internet. If it isn't possible to record video to the hard drive using Camera or Video classes, is there some kind of work-around I could use, keeping in mind that for this project I have full access to the client computer and can install any software I need to on it? I'm developing for a project that will be shipped to customers as a kiosk computer with all software pre-installed.

    There's no documentation for recording because it isn't supported, at least directly.
    There are a couple of ways to do it, though:
    There's this class: http://www.joristimmerman.be/wordpress/2008/12/18/flvrecorder-record-to-flv-using-air/ But it doesn't support sound and I don't think you get much, if any, compression.
    You could install a local server that can accept the video stream from AIR (which is already encoded).
    You could use the NativeProcess API to send data to a native program for encoding. There could be problems with this approach, I've heard that people have had trouble with high bandwidth applications like video encoding, but I don't know the details. Using Timmerman's method of saving bitmapdata to a file and then using passing the file name to a native program to do the encoding might work better than trying to send the video bytes over the NativeProcess link itself.
    In AIR 3, you should be able to write a native extension that lets you encode video straight from the application.

  • Size limit for how much video can be included in an AIR file?

    I'm making an AIR app to play a video locally.  It is on a PC with no internet connection, so the video (fv4) is  included with the air install file.  Is there a size limit for how much  video can be included in an AIR file? I seem to get the "...file is  damaged..." error when I include a video over 200mb. I use Flash CS4 to  create and AIR is v 1.53.

    I'm authoring in CS4 on a MAC with the latest OS and 4GB ram.  It plays fine on the Mac.  On a WIN7 PC with all updates and 4GB ram I get the errors if the air file that contains a video file over 200mb.  I heard that AIR 2 should solve the issue and that it is just a PC issue.. Maybe...   I have not tried using ADT to package the file.

  • Local videos not playing in Flash/Dreamweaver Air app

    Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver.
    What I did wat create a jQuery site that uses Flash to play videos. It will be packaged as a desktop Air app using the Dreamweaver Air plugin.
    From advice that I got here (http://soenkerohde.com/2008/06/playing-local-files-with-air/)
    I started a new Air Project in Flash as suggested. Using an Air flash app makes more sence I guess, but I still need to imbed it into an HTML framework.
    Here is the code I am using:
    import flash.filesystem.File;
    var myVideo:Video = new Video(stage.stageWidth, stage.stageHeight);
    addChild(myVideo);
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    var client:Object = new Object();
    client.onMetaData = function(metadata:Object):void {
    trace(metadata.duration);
    ns.client = client;
    myVideo.attachNetStream(ns);
    var f:File = new File("Special_Assignment_Title.flv");
    ns.play(f.url);
    When I run this I get the following error:
    <blockquote cite="">ArgumentError: Error #2004: One of the parameters is invalid.
              at Error$/throwError()
              at flash.filesystem::File/set nativePath()
              at flash.filesystem::File()
              at videoPlayer_fla::MainTimeline/frame1()[videoPlayer_fla.MainTimeline::frame1:17]</blockquo te>
    Any suggestions on how to fix my problem? Any help would be greatly appreciated

    Instead of using the File object, try URLRequest instead:
                                            var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
                                            ns.play(urlReq.url);
    Chris

  • Air - Sqlite with Adobe Air insert data in memory, but do not record on the database file

    I have the code:
    var statement:SQLStatement = new SQLStatement();
    statement.addEventListener(SQLEvent.RESULT, insertResult);
    statement.addEventListener(SQLErrorEvent.ERROR, insertError);
    statement.sqlConnection = sqlConnection;
    statement.text = "insert into table values('"+TINome.text+"','"+TISerial.text+"') ";
    statement.execute();
    This run without error and the data is inserted (i dont know where), but when i see into database with firefox sqlite manager, the database is empty! But the Air continue run for a time like the data was recorded on the database file. I dont know what is happen with it.
    Help please!

    Toplink In Memory was developed by our project to solve this problem. It allows us to run our test either in memory or against the database.
    In memory, we basically stub out the database. This allows us to speed up our tests about 75x (In memory we run 7600 tests in 200 secs, it takes about 5 hours against the database). However, it throws away things like transactions, so you can't test things like rollback.
    In database mode, it just uses toplink, Another benefit of it though is that it watches all the objects created allowing an automatic cleanup of created test objects - keeping your database clean and preventing test interactions.
    We used HSQL running in memory previously, it worked fine. However, we needed to write scripts to translate our Oracle SQL into HSQL. Also, we had to override things like the data function in HSQL, and a few of our queries behaved unexpectedly in HSQL. We later abandoned it, as it became a lot of maintenance. It was about 10x faster than running against Oracle.
    Interestingly, we install oracle on all our developers machines too, tests run way faster locally, and developers feel way more comfortable experimenting with a local instance than with a shared instance.
    You can find the toplink in memory stuff at:
    http://toplink-in-mem.sourceforge.net/
    I provide all support for it. Doc is sketchy but I'm happy to guide you through stuff and help out where I can with it.
    - ted

  • I am after using my ipad for 2-3 hours to record video, it will be while traveling so I could do with being able to set it up so it just records while I drive. Is this possible?

    Hello as stated I wondered if there is an app that I could use to record a journey that I will make, it will take aprox 3 hours I can charge my ipad up as I go so battery life is not a problem and I have quite a bit of room on my I pad. Is it possible?

    Sure why not. The camera app will record videos and there are car chargers for the iPad that you can purchase. You will need some sort of stand to place the iPad into, but those are available as well. You might need to adapt the out of the box car stands to face in the direction that you want, but there are lots of them out there.
    You should set the iPad to not go to sleep in Settings>General>Auto Lock>Never until you are done recording.
    Car chargers
    https://www.google.com/search?q=car%20charger%20for%20iPad%202
    Car Stands
    https://www.google.com/search?q=iPad%20car%20stands%20
    Sorry, I just realized that you have a charger.
    Message was edited by: Demo

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Is it possible to connect a local file server to 365 onedrive via sharepoint?

    We have our local 2012 file server with everyones document directories and common shares. We use AD and have all user accounts defined. As part of our K12 licensing we have Office 365 E1 for all staff, so I set up the Azure AD Sync and we now have all the
    staff accounts set up in 365 and people can work on Office from home.
    The problem is that everyone wants their files from home as well, ideally in their OneDrive. OneDrive for Business doesn't seem to have a mechanism to sync all the files from our file server to each persons OneDrive automatically. I read somewhere that I
    can do it by using SharePoint as a intermediary - that is I can set up a local sharepoint that syncs the fileserver to sharepoint, then I can set up the 365 sharepoint to sync between the onprem sharepoint and the 365 OneDrives.
    This seems like a massive pain but is it doable? is there a better way or is it not possible and sharepoint/local files will always be separate from Onedrive?  it seems like such a common and obvious request for people who can't dump local file servers.
    Mark

    not all to each, just duplicating our current system. Each user has a few hundred mb of files (on average) and there is a common drive with a few hundred gb.
    Right now the assumption by Microsoft is that each user will individually install the local Onedrive app and sync their C: drive documents folder to their Onedrive. In our case we have the documents stored centrally and the onedrive app will not sync a network
    folder. I am looking for some method of making it happen.

  • Flex 3 How to recording the voice to the local file.can u help sample souce code

    How to recording the voice to the local file.can u help sample souce code

    What? the link is not opening? Check once properly man.  If you need code here it is
    import flash.system.Security;
    import flash.media.Microphone;
    import flash.events.ActivityEvent;
    import flash.events.SampleDataEvent;
    import flash.events.StatusEvent;
    import flash.utils.ByteArray;
    import flash.media.Sound;
    import flash.events.MouseEvent;
    import flash.media.SoundChannel;
    import flash.events.Event;
    import org.bytearray.micrecorder.encoder.WaveEncoder;
    import flash.net.FileReference;
    var mic:Microphone;
    var soundBytes:ByteArray;
    var recBytes:ByteArray= new ByteArray();
    var sc:SoundChannel;
    var sound:Sound;
    recordBtn.addEventListener(MouseEvent.CLICK, getMic);
    stopBtn.addEventListener(MouseEvent.CLICK, stopRecording);
    playBtn.addEventListener(MouseEvent.CLICK, plays);
    saveBtn.addEventListener(MouseEvent.CLICK, saveAudio);
    function getMic(e:MouseEvent)
    soundBytes= new ByteArray();
    //returns an array that total mics available
    var totalMics:Array = Microphone.names;
    //mic is a singleton class gets microphone to record sound
    mic = Microphone.getMicrophone();
    //Sets the minimum input level that should be considered
    mic.setSilenceLevel(0);
    mic.rate = 44;
    //to capture microphone audio listen for this event
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    function recordAudio(e:SampleDataEvent)
    //capture the byte array data available with the event
    while (e.data.bytesAvailable)
    var soundData:Number = e.data.readFloat();
    soundBytes.writeFloat(soundData);
    function stopRecording(e:MouseEvent)
    mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    //set the bytearray position to zero for playing from starting
    soundBytes.position = 0;
    function plays(e:MouseEvent)
    //intatiazle sound instance
    sound= new Sound();
    soundBytes.position = 0;
    //listen for the event when runtime requests new audio data.
    sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    //play the sound with sound channel
    sc = sound.play();
    sc.addEventListener(Event.SOUND_COMPLETE, soundComplete);
    function playAudio(e:SampleDataEvent)
    //if audio bytes is greate than 4 read the recorded byte array data and write it into the sound
    for (var i=0; i<8192; i++)
    if (soundBytes.bytesAvailable > 4)
    var sample:Number = soundBytes.readFloat();
    e.data.writeFloat(sample);
    e.data.writeFloat(sample);
    function soundComplete(e:Event)
    sound.removeEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    sc.stop();
    function saveAudio(e:MouseEvent)
    soundBytes.position = 0;
    //waveencoder class used to encodes bytearray data properly used to play properly after saving
    //you can get this api from below link
    //http://code.google.com/p/micrecorder/downloads/detail?name=MicRecorder%201.2.zip&can=2&q=
    var encod:WaveEncoder= new WaveEncoder();
    var byte:ByteArray = encod.encode(soundBytes,2);
    var file:FileReference= new FileReference();
    file.save(byte, “test.wav”);

  • Is it possible I can saved my recorded videos from my ipod nano to PC?

    my brother has an iPod Nano (5th Gen) and wants ALL of his recorded videos saved on a PC and saved on my iPod Touch (2nd Gen).... is it possible i can do that?

    Yes. See here: iPod nano (5th generation): How to copy your recorded videos to a PC
    B-rock

  • Is it possible  upload local file to internal table in background mode?

    Hi, all,
    Is it possbile to  upload local file(not server file) to internal table in background mode.
    If possbile ,please tell me detail . Thanks in advance.
    Regards,
    Lily

    Hello,
    This is possible.
    If you report has to be executed in background using schedule Job. Then the file path should be constant and it can be hard coded in the report itself while populationg the internal table.
    Then create a variant for your report and use that variant in the job.
    This will solve your problem I guess.
    Regards
    Arindam

  • Is it possible to access local files with MIDP?

    Hello everyone,
    I am developing a mobile application using Sun One Studio 4 ME, with MIDP 2.0.
    I am preparing a record store as input data for my application. "Preparing" means: I try to convert a local text file present on my PC into a record store.
    The problem I have is that I cannot find a way in MIDP to allow me to access the local file. It seems to me that MIDP only allows data access over the Web. Am I correct?
    Many thanks in advance for any help or suggestion you could provide.
    Dumitru

    Did you save the messages in a Personal Folder files (PST) or as individual messages on disk? The PST and MSG file formats are proprietary and might not be accessible outside of Outlook.
    If you want to move those messages to a different email program, assuming you have permission to do so, one way is to upload them to an IMAP account (Gmail allows you to connect Outlook as an IMAP client). However, that's pretty complicated, so I suggest researching it on the web, checking at least a few sites to make sure you know all the steps.

Maybe you are looking for

  • Help With Migration From Exchange 2007 To Exchange 2013

    We have an Exchange 2007 Server with Service Pack 3 and Rollup 12 applied.  I installed a new Exchange 2013 Server and then immediately applied CU3. I am following this Technet article: http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-1-step

  • G780 Fn+F6 on\off touchpad is not working

    Not having Fn F6 to disable the touch pad is a most annoying problem on my G780.  Had to do a windows 7 (64 bit) clean install a couple of months ago.  After selling me Windows 7 discs Levono support has been zero help.  I have a wireless mouse conne

  • How do i transfer my movie files from my mac to my external hard drive

    i want to move some video files from my desktop to my external hardrive, never dont it before need help

  • Goodwill and balance forward

    Dear All, I would be grateful if you wouldhelp me answer for my issue. I use AFD for investment and equity. Goodwill only has extraamortization method in the setting for Consolidation of Investment. When I perform task balance forward in a new year,

  • HT4557 Help with homesharing

    My family has 4 iPhones and 2 iPads. Can we all have separate iTunes accounts and still share music and apps? Using the same user id means all info on the cloud syncs to all phones. Thanks.