How to record a time-limited video with Adobe AIR for iOS

I am trying to record a time-limited video with Adobe AIR for iOS.
For example, I want to implement the following function. Start a one-minute timer before launching CameraUI to record video. When the timeout event happens after one minute, stop recording video, close the CameraUI view and obtain the video data so far.
  I have several questions related to that.
  1. How to stop recording video from outside the CameraUI view(in this case, from the timeout event handler) and then close the CemeraUI view? As far as I know, to close the CameraUI view, the only way is to press the [Use Video] button or the [Cancel] button from inside the CameraUI view. Is it possible to close it from outside?
  2. Even if the first problem mentioned above is solved, then how can I get the video data so far(in this case, the video data before the timeout). I know that normally we can get a MediaPromise object from MediaEvent parameter of the  complete handler, and read the video data from the MediaPromise object. But obviously in this case, we can not access the MediaPromise object just because the complete handler itself will not be executed since the [Use Video] button is not pressed.
  3. Is it possible to add a stopwatch to show possible remaining recording time when CameraUI view is open? It seems that the CameraUI automatically uses the full screen of iOS device(in my case, iPad) and there is no extra space to show the stopwatch.
  Are there any solutions or workarounds about the three problem above? I really appreciate it if anyone has any idea about this. Thanks in advance.

You'd have more control by using the Camera object, showing the camera on a video object inside a Sprite, and capturing that. Then you could put whatever graphics alongside it on the stage.. I've used FlashyWrappers in a test to capture the video to the library.  It took some work, but the test worked well...
Flash/AIR record videos of your apps and games: Rainbow Creatures

Similar Messages

  • How to make an hypertext link workable with adobe reader for IOS ?

    Hello,
    Hypertext links in a PDF file work perfectly well on Mac OS (Yosemite).
    The same document on an IPAD with IOS is not able to open an hypertext link ...
    How could I do to solve this problem ?
    An author who want to publish electronic books with hypertext links on mobile devices

    Hello Steve,
    All my best wishes for the new year.
    To answer your question :
    . I am writing books on my IMAC with Yosemite  (10.10.1) using Word (14.4.7)
    of  OFFICE MAC.
    . I can open Hyperlink connection by clicking on the link
            . I save the document in a .PDF format
    . This document is sent to my IPAD with IOS 8.1.2
    . In this .PDF document I am no more able to open hyperlink connection
    Please see attached an abstract of my book.
    Thanks a lot for your help and advices.
    Michel Poncet
    Tel: +33 4 76 89 50 82
    http://www.amazon.fr/Glariand-Copent/e/B007NXP7FU
    De :  Steve Werner <[email protected]>
    Répondre à : 
    <[email protected]>
    Date :  vendredi 2 janvier 2015 03:34
    À :  Michel Poncet <[email protected]>
    Objet :   How to make an hypertext link workable with
    adobe reader for IOS ?
    How to make an hypertext link workable with adobe reader for IOS ?
    created by Steve Werner <https://forums.adobe.com/people/Steve+Werner>  in
    Adobe Reader for iOS - View the full discussion
    <https://forums.adobe.com/message/7058559#7058559>
    Hyperlinks can be of several types. What are you linking to? Exactly what
    application did you test the hyperlinks with on the Mac? What application
    did you use to create the hyperlinks?
    If the reply above answers your question, please take a moment to mark this
    answer as correct by visiting:
    https://forums.adobe.com/message/7058559#7058559 and clicking ŒCorrect¹
    below the answer Replies to this message go to everyone subscribed to this
    thread, not directly to the person who posted the message. To post a reply,
    either reply to this email or visit the message page:
    Please note that the Adobe
    Forums do not accept email attachments. If you want to embed an image in
    your message please visit the thread in the forum and click the camera icon:
    https://forums.adobe.com/message/7058559#7058559 To unsubscribe from this
    thread, please visit the message page at
    , click "Following" at the
    top right, & "Stop Following" Start a new discussion in Adobe Reader for iOS
    by email
    <mailto:[email protected]eso
    ftware.com>  or at Adobe Community
    <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=
    14&container=4631>  For more information about maintaining your forum email
    notifications please go to https://forums.adobe.com/thread/1516624.

  • How do I delete a file from the Adobe Reader for iOS?

    How do I delete a file from the Adobe Reader for iOS?

    Read this:
    http://forums.adobe.com/thread/1012973?tstart=0

  • Squareup integration with Adobe AIR based ios Application

    Hi All,
    Does anyone is having any experice to work with 'Squareup' i.e.   https://squareup.com/
    I want to integrate it with my adobe air based ios application.Is there any native extension is available for this?
    Any information will be appriciated.
    with Regards,
    Shardul

    Hi, please forget my last message. I was changing so many things I finished using a wrong mobileprovision. That's why I couldn't install the app in the device.
    On the other hand I have found the problem. Some changes in one of our ANE were not tested in iOS 5.0.1 devices and it made the app crash because it found a Adobe Air 3.5 bug. Adobe fixed it in AIR 3.6

  • Display a video with adobe air

    Hi, I'm developing an html/ajax app on adobe air.
    In this app that runs in fullscreen I have 3 blocks where I show 3 different swf files. In one of this blocks I have to display a video.
    In a first attempt I wrote a little swf that loads an flv file locally (the file has been downloaded previously), but with an flv file of about 5 minutes (20Mb) the video is displayed slowly and the cpu jumps till 80/90%.
    I've thinked about display an mp4 file using this syntax, but It seems it doesn't work:
    <object width="480" height="208"
      classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
      codebase="http://www.apple.com/qtactivex/qtplugin.cab">
      <param name="src" value="../episodeIII_trl1_480x208.mp4">
      <param name="controller" value="true">
      <param name="autoplay" value="false">
    </object>
    Any idea?
    Thank you :-)
    Bye

    Hi, first thank you for your answer.
    Regarding the flv player, I'm not a flash/actionscript programmer, I wrote the following code in the actionscript, do you see something wrong?
    var url;
    if(LoaderInfo(this.root.loaderInfo).parameters.url != undefined) {
      url = LoaderInfo(this.root.loaderInfo).parameters.url;
    var customClient:Object = new Object();
    customClient.onMetaData = metaDataHandler;
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    ns.client = customClient;
    ns.play(url);
    var myVideo:Video = new Video();
    myVideo.attachNetStream(ns);
    addChild(myVideo);
    function metaDataHandler(infoObject:Object):void {
      if(LoaderInfo(this.root.loaderInfo).parameters.w == undefined) {
        myVideo.width = 300;
      } else {
        myVideo.width = LoaderInfo(this.root.loaderInfo).parameters.w;
      if(LoaderInfo(this.root.loaderInfo).parameters.h == undefined) {
        myVideo.height = 200;
      } else {
        myVideo.height = LoaderInfo(this.root.loaderInfo).parameters.h;

  • How do you include extra files with an AIR for iOS Publish?

    I've seen people mention they can include .html, .js, etc files with their iOS for AIR publish when making an iOS application from flash.
    What I haven't seen is how these people include extra files (html, css, images, videos, etc) to be packaged into the IPA during publish.
    How is this accomplished?

    --deleted--
    Sorry, figured it out.

  • Is it possible to add bookmarks to a PDF file with Adobe Reader for iOS?

    In the App Store write-up on this app, it said that one could "Use bookmarks to jump directly to a section in your PDF file."  But I don't see how one can add such bookmarks.  Do they only mean that you can use bookmarks that were already in the document before you open it in Adobe Reader?

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • Adobe Air for iOS - How to access or read current playing music

    Hi guys, is there a way in AS3 how to detect the current song playing, for example I want to get the title of the music that is currently playing?

    Hi,
    This doesn't seem possible in AIR at present. However, in the future version, you should be able to achieve this. No AIR API will be added, but you should be able to write some native code to get this information. I believe this can be done using the iPod Library.
    Thanks,
    Sanika

  • How do you do a clean install of adobe air for Lion

    I have deleted the adobe air files but when I try and re install I get the message that adobe air is already installed. I am trying to download BBC iplayer and i think this adobe air file is corrupted
    Is there a code I can use or a link to adobe air uninstaller for mac
    any assistance would be appreciated, thanks.

    try switching off automatic graphics switching, in energy saver (system preferences) and try again. you can switch it back on again after the install.

  • Can This Be Done With Adobe Air?

    Mourning,
    I would like to create a desktop application with Adobe Air for the following purpose:
    http://templatic.com/demos/realestate/?page=property_submit
    That template requires its' users to post properties via that link.
    Instead of going to the link to post a property is it possible to create an Adobe Air application that can have the same results?
    Any ideas??

    You mean using data from the server? Flash, and Flex, run
    client side, but
    can pull data from a server - and make a graph. I don't know
    Flex, but it
    wouldn't be too hard in Flash. AS3 is better for outputting
    as a JPEG, but
    it can be done in AS2 as well.
    There are many tutorials for loading data into Flash, just
    Google things
    like 'Flash XML' or 'Flash Database'. I'd also recommend
    looking at AMFPHP
    http://www.amfphp.org/) an
    alternative to Flash remoting that makes calling
    server-side functions, and passing data, a snap.
    For image export, search on 'Flash image output' - here's one
    to get you
    going:
    http://www.quasimondo.com/archives/000645.php
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • I am trying to make a time lapse video with Premier Element 13. When trying to publish it at about 15% of work done it stops and in a new screen it says an unknown error, what am I doing wrong?

    I am trying to make a time lapse video with Premier Element 13. When trying to publish it at about 15% of work done it stops and in a new screen it says an unknown error, what am I doing wrong?

    Click on the blue Internet Recovery in nbar's post. That is a link to what computers can run Internet Recovery.
    Do a backup,  preferable 2 separate ones on 2 drives. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • How do I synchronise audio and video with an mpg file created in elements 11 ?

    How do I synchronise audio and video with an mpg file created in Premier Elements 11 ?
    The source files are VOB files, and there is no problem with those source files.  But after creating the mpg file, the audio can be out of sync by 1 second or even 10 seconds, and sometimes zero seconds (ie perfectly OK).  That varies.  The variation might be linked to some of the VOB files.  ie. some are OK, and some are not.
    Can I fix this automatically in Elements 11, or am I doing something wrong ?

    Hartwood,
    First, Premiere (both Pro and Elements) do not handle MPEG Audio perfectly - they like some files, but not all files with MPEG Audio. That makes a VOB a less-than-perfect source file. Still, with a bit of work, one should be able to edit it just fine. One of the factors is that there is a very slight block-size difference between the Encoded Video Stream and the Encode Audio Stream in a muxed MPEG-2 file. That often does not play into things, but can cause slight OOS (Out of Sync) issues. Also, both Premieres need to create all I-Frame files for the Video Stream, which is in GOP (Group of Pictures) structure, so what one sees on the Timeline is really a proxy of the MPEG-2 file's Video Stream. The Audio Stream must also be Conformed to PCM/WAV @ 48KHz 32-bit floating point, to be edited. That Conforming is perfect when one has PCM/WAV @ 48KHz 16-bit for the Audio Stream, but requires more work, when the Audio Stream is MPEG (one reason that some MP3's do not work well in Premiere). Several factors involved here, and a fair amount of work for the program. That is why DV-AVI Type II w/ 48KHz 16-bit PCM/WAV Audio works so perfectly.
    Now, fixing OOS might be easy, or might require a bit more work. This article goes into some workflows, that might be helpful: http://forums.adobe.com/thread/436751?tstart=0
    I can feel your pain, as I almost went crazy trying to fix OOS in a client's Project. They ONLY had the finished DVD, from which to work. The disc met the DVD-standards, so everything ripped/Imported fine, and when the simple edits were done (IIRC, there were four scenes, that had to be shortened, and then several Titles added), everything played fine in the Timeline. However, when I Transcoded that Timeline to be authored in Adobe Encore, two scenes went OOS. I went back to Premiere, and checked - all perfect there. I tried to judge the number of Frames that the Audio was out, in those scenes, and nudged them, tested, nudged, tested, and no matter what I did, I could never get the output files perfect, when Imported into Encore for authoring to DVD-Video. I tried DV-AVI, and letting Encore set the Transcoding automatically (usually a great way to work), I tried manually setting the Transcoding in Encore. I tried outputting to MPEG-2 from Premiere, and Importing that. No matter what I did, those two scenes were just OOS, and I could not even seem to improve them - it was like they were just locked OOS. I finally did some more editing, to break things up a bit, added a cut-away shot here, and there, and minimized the perceived OOS, but could never get it perfect. It was like trying to pick up quicksilver with a pair of tweezers!
    Good luck,
    Hunt

  • How do I set time limits for my iphone?

    You know how there are parental controls on the macs in the settings. In there you can set up time limits of how long you can use the computer for but I can't find it on the iphone where you can set time limits for use. I looked at the restrictions sections but I don't see anything on setting time limit. How could I set time limits for use on my phone? I go on my phone too much and I really have to set restrictions to limit my time on it.

    There are apps you can download i believe to do this.
    https://itunes.apple.com/us/app/parental-timelock-time-limit/id689577280?mt=8
    for example

  • How to save a video made with adobe VOICE (for ipad) in MOVIE format

    I have made a video with adobe VOICE application for ipad. Does anybody know if there's a way to save the video in .MOV format. I see that it only allows me to upload the video and share it via email, FB, Twitter or message.

    Hi felipe1,
    You've landed in the Acrobat.com forum, and I was going to move your post to an more appropriate forum to get you question answered, but it doesn't look like we have one for Voice yet! I did find this page: Adobe Voice - Support
    And, it doesn't look like there's an option to save as .mov format.
    Best,
    Sara

  • How to share 1 time capsule to 2 macbooks air, using Time Machine?

    How to share 1 time capsule to 2 macbooks air, using time machine??

    You don't need to do anything.. both computers can use the TC and will create separate backups. It is simply designed to work with Time Machine.

Maybe you are looking for