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.

Similar Messages

  • Android / IOS Record Video and play with it ?

    Is it possible to record video in Air 2.6 to mobile ?
    I know I can getCamera... but after it, can I record ?
    My goal is to make App that record video with the camera and push effect on it.
    Tank you!

    You can definitely record video on both and have the data at your disposal.  As far as I know you cannot select a video from the "video roll" though so you will have to edit only the video you just recorded:
    private var cameraRoll:CameraRoll = new CameraRoll();
    private var dataSource:IDataInput;
            private var eventSource:IEventDispatcher;
    vid_btn.addEventListener(MouseEvent.CLICK, openVideo);
    private function openVideo(evt:MouseEvent):void{
    deviceCameraApp = new CameraUI();
    if( CameraUI.isSupported )
                    log( "Initializing camera..." );
                    deviceCameraApp.addEventListener( MediaEvent.COMPLETE, videoSelected );
                    deviceCameraApp.addEventListener( Event.CANCEL, captureCanceled );
                    deviceCameraApp.addEventListener( ErrorEvent.ERROR, cameraError );
                    deviceCameraApp.launch( MediaType.VIDEO );   //Changing this to IMAGE will make it take a picture
                   else
                    log( "Camera interface is not supported.");
    private function videoSelected( event:MediaEvent ):void
                log( "Media selected..." );
                var videoPromise:MediaPromise = event.data;
                dataSource = videoPromise.open();
                if( videoPromise.isAsync )
                    log( "Asynchronous media promise." );
                    eventSource = dataSource as IEventDispatcher;
                    log( eventSource );
                    eventSource.addEventListener( Event.COMPLETE, onVideoDataComplete );               
    **At this point, when the onVideoDataComplete function fires, you will have access to the bytes of the movie:
    private function onVideoDataComplete(evt:Event):void
                var videoBytes:ByteArray = new ByteArray();
                dataSource.readBytes( imageBytes );
                //the rest of this is just testing what we actually read
                log(videoBytes.length);
                videoBytes.position = 0;
                var string:String = videoBytes.readUTFBytes( 300 );
                log( string );
    **You can then do whatever you want with the bytes, such as save it to your local storage directory as a .mp4 and load it into flash
    Does that help?

  • Is there a video recorder on iPad air

    Is there a video recorder on iPad air iOS 7

    The Camera app does both still photos and videos. http://help.apple.com/ipad/7/#/iPad99b53a71

  • How to record video with a watermark logo in Adobe AIR app?

    I would like to develop an app in Adobe AIR. The requirement is that video recording with a custom watermark logo on top left. Anyone have any idea, how to record a video with custom watermark?
    Please suggest some code or any reference, it would be helpful for all who is looking video recording.
    Thanks!

    Yeah I'm developing video recording ANE. It allows you to record the whole AIR stage, including anything you've got there (video, movieclips on top, Stage3D or whatever): http://rainbowcreatures.com/product_flashywrappers.php
    There's an online demo for Flash Player on the website,beven it's not as good as the AIR ones because Flash Player encoder is really slow by not being able to use native code or HW acceleration. But it shows the layering on top of video.
    If you want to make something like this yourself, you'd need to go the native extensions route.

  • Record Video in iChat no longer available

    Trying to help my Dad with this problem.
    He owns a MacBook Air, and recently upgraded to Snow Leopard (now on 10.6.3). Before, in Leopard, he was able to record iChat sessions in "Video-> Record Chat" with the same computer. For some reason, now that option is grayed out.
    Under "Video -> Connection Doctor -> Capabilities", it lists "Insufficient CPU" next to "Record Video Chat".
    I had him delete all of his iChat preferences in his Home->Library->Preferences folder (which subsequently fixed the problem of me not being able to share his screen). However, it did not fix the record video problem.
    Did Apple take out this feature for certain processors with the advent of Snow Leopard? How can he get it back short of taking 10.6 off of his system? Seems very strange to me that this is not working when it used to.

    Answered in iChat 3
    9:09 PM Wednesday; April 21, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Adobe Flash Media Live Encoder and static image or recorded video?

    Is it possible to put a static image or a recorded video (instead of a live video feed) into Flash Media Live Encoder to air while broadcasting a live radio show online?

    FMLE will work with all devices which have direct show based drivers and give data in raw format. Here is a list of devices which have been tested and certified with FMLE - http://www.adobe.com/support/documentation/en/flashmediaencoder/FMLE_DeviceMatrix3.0.pdf

  • I work for a teaching hospital. We are using groups of 20 to 30 iPads for access to patient electronic records, video conferencing software, and other, HIPPA compliant apps. I need to be able to access the iPads to shut down and erase in case of loss.

    I work for a teaching hospital. I have started a program to place Physicians and key support personnel on iPads for electonic medical records, video conferencing software, and other HIPPA compliant issue. I have a need to have one central program that can push out updates, other information, but most importantly, can erase the iPad in cases of loss or stolen. Can anyone direct me to such software.
    Thanks,
    Wayne Hodges

    The Mac mini does have somewhat powerful specs at top end.
    Mac mini with OS X Server features a 2.3GHz quad-core Intel Core i7 processor that delivers incredible speed and performance, thanks to innovations like Turbo Boost 2.0, Hyper-Threading, and an integrated memory controller. Add in 6MB of L3 cache, and you’ll find that Mac mini with OS X Server is packed with power.
    http://www.apple.com/mac-mini/server/
    Here is  a list of  mdm's:
    MDMs
    Airwatch, Meraki, MobileIron, OS X Server, or Zenprise
    Airwatch
      http://www.air-watch.com/
    Meraki -- A free MDM   [ expect lots of email and phone calls about upgrades ]
      http://www.meraki.com/products/systems-manager/
      https://discussions.apple.com/thread/4067210?tstart=0
      Good howto by Sergio Sosa.
      https://discussions.apple.com/thread/2594001?start=15&tstart=0
    MobileIron
      http://www.mobileiron.com/
    Zenprise
      http://www.zenprise.com/

  • Record video of app

    I want to add a feature to my app that allows me to let the user record a video of what they are doing on the screen and save it to the cameraroll.  Similar to how camtasia works but for ios and only recording my app.  Doesn't seem like a good air solution exists but wondering if there is a native extension.  Possibly something like https://developers.everyplay.com/ but native extension.

    This is super memory intensive not only will you be running the app which must be an intense app to start with if you want to record video instead of just doings screen captures but also to record and store it at the same time, this slows down quality PCs it will probably kill a mobile device. Maybe you can record user movements through code and then store all sorts of coordiantes and be able to recreate what they did in that way, kind of like racing games "record" replays.

  • HT204089 I have a samsung smart TV and record free to air TV shows on my TVO I would like to purchase from iTunes a TV series called outlander but do not know how to transfer and save the episodes on my TIVO I will be using my iPad to purchase and downloa

    I Have a  samsung smart TV  and use TVO to record  free to air programmes .
    i would like to purchase from iTunes using my iPad , a TV series called outlander but do not know how to transfer and save the episodes to my TIVO
    please help

    Many videos in the iTunes store are protected so that they can only be viewed on Apple Devices signed into your iTunes account.  If that is the case then your TiVo will not be able to read the files.  If you know how to get a video file onto your TiVo from a flash drive, then just plug a flash drive into your Mac and drag one of the videos from inside the iTunes window onto the icon for the flash drive on your Desktop or in the left sidebar of a Finder window.  That will copy the actual file onto the flash drive. 

  • Recorded Videos after Sync: The requested URL was not found on this server.

    A few days ago, i recorded a couple of videos. They were saved properly and i could watch them after it in the Camera Roll of my iPhone. Because my memory was almost full, i connected my iPhone to my MacBook and synchronized about 900 old pictures with iPhoto and selected to delete the pictures after the sync. I did not select the recently recorded videos.
    After the sync, i opened the Camera Roll on my iPhone and tried to watch the videos again. But now, they all have a grey icon and it says the duration is 0:00 minutes. When i click on a video, it shows me the following error message:
    The requested URL was not found on this server.
    When i connect my iPhone to iTunes, it says that there is about 350 MB of "Documents and Data" on my phone that I have no idea where it is coming from. Do you think it is possible that the videos are still saved on my phone but my phone doesn't recognize it as videos and can't assign it to the icons in the Camera Roll? Do you have any tips how I can access the videos in case they are still saved somewhere on my iPhone?
    Thank you very much in advance for your help and tips!

    I have the same problem too!! I was deleting some photos and videos in my phone when the next picture I swiped to was a blank picture with JPG in the middle~ after I closed camera roll and reopened it my photos and videos after that picture are all gone~ and I'm left with 3 videos I took about 30 mins before with 0:00 and when I tried to play them the message popped up saying "requested URL cannot be found on this server" T^T does anyone have a solution to this problem?

  • Recording Videos

    I am having trouble recording video from really anything (tv, dvd player, vcr, etc). I have a friend who is using a MAC and a box called a Miglia Director's cut (http://www.miglia.com/products/video/director2/)
    all he does is hook up the director's cut to the tv w/regular composite cables and it hooks to the MAC with a firewire. So then to record something off the tv all he does is open quicktime player, go to file and click record movie. Now i have tried to do the same exact thing, only im using windows and the option is not available to select "new movie recording" only "new audio"? i have found this little bit on the Support section of apple.com (http://helpqt.apple.com/qthelpwr3/english/QuickTimeHelp/pgs2/qtFmSet3.htm)
    and it does say a MAC can record video but doesnt say anything about a windows machine. is there something im doing wrong or can you not use quicktime 7 pro to record movies on a windows machine??? Please help

    From
    http://www.apple.com/quicktime/pro/faq.html
    QuickTime 7 Pro for Windows currently supports audio capture only.
    iFelix

  • Recording Video to SD - 4GB Limit?

    I've encountered a bug with the video camera on the Z10.  I'm using what I assume is the latest version of the software that was pushed out recently (10.2.1.2102).
    I was recording video and after half an hour or so I received an error message stating there was an error saving the video.  When I checked on the SD card I can see the file with the correct date/time and file extension however the file doesn't open.  I notice the file is 4GB which is the file size limit on FAT32, so it appears that the camera doesn't automatically stop recroding and write the mp4 info, or start a new file, when it nears this limit on SD cards.
    1 - can this be fixed?
    2- is there any way of recovering the video?  The footage I have isn't really replacable.  I've tried VLC and mp4box with no luck.  
    Thanks!

    Welcome to the forums.
    VLC would have been my first suggestion, there are a number of other MP4 web sites and apps out there I suggest you keep trying.
    http://mp4repair.org/
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • I'm using ezcap.tv 116 ezgamer capture card to record my PS3, this is on a windows laptop, Im then moving the recorded videos in mpg format over to my MacBook Pro to use IMovie to edit them to upload to youtube but it won't let me import them.

    I'm using ezcap.tv 116 ezgamer capture card to record my PS3, this is on a windows laptop, Im then moving the recorded videos in mpg format over to my MacBook Pro to use IMovie to edit them so i can upload them to youtube but it won't let me import them, even after changeing them to MP4 format, it just comes up with the message: "No Importable Files None of the selected files or folders can be imported. Change the selection and try again."
    Ive even tried opening in itunes and copying from thier but they wont open in Itunes, no message or anything they simple just dont open. its strange because it does open in quicktime player.
    please if anyone has any ideas that can help me please let me know XD thanks.

    First problem: You're fine. The hotter it gets, the more the fans spin up. The computer is designed so that at max load, at max fan speed, it won't overheat (unless it's obstructed by something, e.g. sitting on your bed swallowed by a comforter). It's not the best thing to keep it that toasty for days at a time, but a couple hours at a time shouldn't be a problem.
    Second problem: If something in the trash won't delete, just use Secure Empty Trash and it should be fine. Since .torrent files are quite small, it should only take a couple seconds.

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

Maybe you are looking for

  • ITunes bumps list to top when tags are changed

    I'm using the latest iTunes and trying to tidy some tags.  If I change a tag, iTunes insists on bumping me up to the top of my song list even if the song itself did not change positions in the list.  Sometimes it doesn't bump to the top but to a seem

  • Adobe Flash CS5.5 doesn't work on my Mac OSX 10.7

    Hello there! I have been reading some blogs, forums, etc. to try to figure out how to make flash work on my mac. So far, I have not succeded. I just purchased Adobe Creative Suite 5.5 Web Premium mainly to use Flash... but I can't use it. What can I

  • IPod completely frozen

    Hi Got a new iPod nano 4gb just under a month ago. Has been working fine until today when I tried to play a song and it just froze. Have tried the 5 Rs but when I connect it to my PC, iTunes doesn't detect the iPod so I can't even try restoring it. T

  • This is a simple one I hope.....

    Someone with a little technical know how could help me please? http://notepad.bobkmertz.com/2007/10/making-back-up-copy-of-osx-leopard.html I'm stuck at step 7: In Finder, go to to "Go To Folder" option under the "Go" menu and type in "/Volumes/[imag

  • Include prg

    hi experts,    i created one include prong. but the error am getting like that REPORT/PROGRAM statement missing, or program type is I (INCLUDE).           what can i do