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?

Similar Messages

  • How can you create a playlist with music and music video and play those from same playlist through Apple TV?

    How can you create a playlist on Ipod touch with music and music video,  and play those from same playlist through Apple TV?  I can download, create a playlist with both music and music video, stream that through the Apple TV with no problem.  The sound and the information show up on the TV, but when it gets to a music video, it only shows the information and "artwork".
    I also have a video playlist - videos play fine through the Apple TV, but will not shuffle through all videos - continues to repeat the same one.  I have most definitely selected shuffle in both locations - from the playlist and on the ipod video screen while video is playing.

    I finally got it... had to sync the photos with the music in iMovie, arrange the voiceover in GarageBand then export to iTunes, and then I was able to put it all together in iMovie and burn in iDVD... had a few glitches along the way but finally finished : )
    Message was edited by: jpewald

  • Red record button and play arrow not working for videos. Any way to make work again?

    Red record button and play arrow quit working. Any way to fix?

    Try this and see if it works for you. Close the Camera App in the recents tray and reboot the iPad.
    Tap the home button once, then double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the camera app.  Tap the home button again.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • HT1267 i have purchase an iphone but no audio and video are available with it .can i record video and audio by this device

    i have purchase an iphone. but no audio and video are available with it .can i record video and audio by this device
    <Personal Information Edited by Host>

    Hello JessCastle,
    Start with the article below to troubleshoot issues with the microphone on your iPhone. If none of it works then contact Apple Support to further help you out. 
    If your voice is too faint or sounds unclear using iPhone, or iPod touch
    http://support.apple.com/en-us/HT203792
    Take it easy,
    -Norm G. 

  • Can I record video and line in mixer at the same time with iPod touch?

    Can I record video and line in mixer audio at the same time, with the iPod touch?

    What is a "line in imxer audio" You can use an externeral mic plugged into the headphone jack to record auid for a video using the 4G iPod's camera.

  • Facebook iOS App - Video Auto-Play Interrupts Airplay Stream

    Has anyone else noticed that since Facebook implemented video auto-play that if you are on wi-fi, have the FB app open, and are streaming over Airplay, that when the app encounters a video and plays, the Airplay stream drops, requiring you to restart Airplay manually?
    I am guessing this was an unintended result of Facebook implementing this feature, but it's annoying. The only workarounds that I'm aware of are to change the FB app setting to only allow videos to play over wi-fi and then shutting off wi-fi on the phone, or just simply using one iDevice just for streaming and another for checking the app, but it is darned inconvenient. I reported this to FB as a bug, but I doubt that they will reverse their decision about it, unless Apple tells FB to change this.
    Can Apple require Facebook to add the ability to turn off auto-play completely in the app, since the app's behavior is technically interfering with an Apple-specific system service (Airplay) in iOS?

    Just as an addendum: the behavior of the FB app technically violates Apple's Human Interface Guidelines for managing audio interruptions:
    https://developer.apple.com/library/ios/documentation/userexperience/conceptual/ mobilehig/Sound.html#//apple_ref/doc/uid/TP40006556-CH44-SW1
    Specifically, the app does not display audio controls when the video plays, nor does it resume the existing audio stream (the Airplay stream)  when the video finishes: "If your app doesn’t display any media playback controls that people can use to play or pause audio, your app should always resume previously playing audio when an audio interruption ends, regardless of whether the Should Resume flag is present."
    I'm surprised that Apple didn't enforce this guideline when FB submitted the app.

  • Hi. Downloaded iphone 6.0 and my video playlists in "Music" are now gone, but their names are still there. The videos are still in "Videos" and play from there 1 at a time manually.

    Hi. Downloaded iphone 6.0 and my video playlists in "Music" are now gone, but their names are still there. The videos are still in "Videos" and play from there 1 at a time manually.  It gets weirder:
    When looking at the empty screen with the name of my former playlist on top,  if I tap the edit button on the phone, tap the + button to add a 'song' to the playlist, and then tap 'Done' without adding anything, I can see all my videos in the playlist with the red minus symbol next to each of them. But as soon as I tap 'Done' again they all disappear!
    I saw on another forum that someone has had the same problem but fixed it by, and I quote
    "If you go to Get Info and change the Media Kind from Movie to Music Video under the Options tab, they all now appear in the playlists!"
    I'm happy this worked for him, but when I tap "File" in itunes, the "Get info" field is greyed out, so I can't test the solution proposed.
    Any ideas?
    Thanks

    Same problem on my ipad 2...but it works well on my iphone 4s.
    Can somebody help me?
    Thank you

  • Can't watch video and play games that require flash player

    I'm using windows7 family premium version
    internet explorer 10 last version 10.0.5
    exploitation system 64 bytes
    flash player verson 11..700.202 the latest one
    So as i say can't watch video and play games that require flash player, they keep asking me to install flashplayer... i did everything i read in the forums, unistall it, clean the memory, reinstall it, disabe active x etc... but still have the problem.
    More specific about my problem is that: let's say that i'm trying to look at you tutorial video under thi forum  Re: How do I fix Windows permission problems with Flash Player? i'm just seeing a black screen.  So I'm able to guess where is the play button so when i push on that place, i can hear the sound of that video.  Second step guessing where is the  enlarge  button, and when the screen is enlarged, magic i can see and hear the video.... So you figure that it's impossible to use my computer like that and guess right all the time, so....
    Second fact, it seems that bug happened after an update (windows or explorer) and i even talk with a microsott tech who was not able to resolve it... But if i'm  undoning  the update and go back to a prior image, i have no problems with flash player anymore... it' been moths that i'm delaying my updates cause i cannot find any solutions.... So Please please please, help me .... don't know what's the problem is and i'm not a pro, don't know what to do.  (Excuse my english it's my second language)
    Thank you

    The first thing I'd try is updating your video driver.
    Windows: how do I update the device driver for my video/display adapter?
    If you still have problems and since you're using Windows 7 x64, please check to see if you have the following Windows update installed:
    KB2670838 – Platform Update for Windows 7 x64
    If so, please uninstall it and try Flash Player out again.

  • Recording video in 640X480 with H.264 compression?

    I need to make extended (>1hr) recordings in 640X480 with my MacBook's built-in iSight.
    QuickTime Pro only seems to be able to record video at 320X240 with compression or 640X480 without compression (which takes around 1GB per minute!!).
    Is there a way to get it to record at 640X480 with H.264 compression?
    If not, is there some other app that can acheive this feat in real time?
    (I've tried iVeZeen but it just stores the uncompressed video and later compresses it, which means that I run out of disk space just as quickly as with the uncompressed QT option)
    Any ideas would be much appreciated.

    Use Broadcaster:
    http://www.apple.com/quicktime/broadcaster/
    It's free from Apple...you can save the file to the HD instead of broadcasting the video.

  • Can one video track play with 9 different audio tracks?

    If we create a dvd with a 20 mins voiceover video in 6 chapters, but there were 9 language versions inc English, could we use the same video track, playing with a different audio track for each language, to save space?

    Almost. You have have 8 audio streams (AS) so you'd need to have 2 tracks and split the audio across them. So you could have Track 1 8x AS and Track 2 1x AS. T1 5x AS & T2 4x AS. You get the idea...
    You dont need 1 Track per Track but you will need at least two. Keep an eye on your total bandwith for each track also. Remember to budget for the audio before you encode,
    -Jake

  • Photo Booth froze while recording video and did not save

    Hi-
    I was in the middle of recording a video on Photo Booth for a school project. Before you go any further- I now know that I should have used iMovie or Quick Time to record, but I was having the same problem with freezing/lagging video. So I decided on using Photo Booth because it is what I am most familiar with.
    It was about a 20 minute video and I noticed that the picture would freeze every so often, even right after I began recording, so I know it is not a size issue. I also do not have anything in my Photo Booth tray or library, so I know I have enough space.
    Here's my issue: I pressed stop when I was done recording. But I got the infamous "spinning wheel of death." It didn't go away, even after 10 minutes so I force quit. I have located the recording in Finder. It says the name of the video, and the size, but the thumbnail is just the default QuickTime icon, not an icon.
    How do I recover this? It's extremely important that I do. Hoping EZ Jim will respond!  Thank you so much in advance.
    I am using a MacBook Pro 13" from 2011.

    l_kleiman wrote: ... I should have used iMovie or Quick Time to record...
    Yes, you should have.  Do so in future recordings that are important or longer than a couple of minutes.
    l_kleiman wrote:... the picture would freeze every so often,...
    Because your problem is the same with all three video recording applications, we can rule out application software as the cause of your trouble.  Here are some possible causes and what you can do to try to solve them:
    (1) Video recording is processor intensive.  If you are also running many more apps than only the video app while you are recording, your Mac's processor may be working near its limit.
    Restarting your Mac before recording video ensures you will not have interference from multiple user accounts or widgets (unless they are included as  > System Preferences... > Account > Login iTems.
    Remember that things like widgets and automatic checks for Mail, TimeMachine backups, iCal alarms, etc., and other background activities also add to your Mac's workload. The actions for the apps mentioned (and for most other such apps) can be disabled in "Preferences" for the apps that control them.
    Disconnect all peripherals while you are recording video, and make your record monitoring window as small as possible. These suggestions help reduce processor power requirements while recording.
    (2) Installing the maximum amount of RAM your MBP can use may help you. Your retailer can help you check what you have and install more if necessary.
    (3) Alternatively, the cause of your symptoms May lie in your system software.
    Consider the information in OS X Mountain Lion: If your Mac runs slowly.  It applies equally to your OS X Lion system.
    If you are not already running the latest Lion version, apply the OS X Lion Update 10.7.5 (Client Combo) update.)
    l_kleiman wrote:... the picture would freeze ... even right after I began recording, so I know it is not a size issue. I also do not have anything in my Photo Booth tray or library, so I know I have enough space...
    Neither freeze timing nor Photo Booth tray or library space tells you whether your startup disk has enough free ("Available") space for best operation.
    Use your Mac's Finder > File > Get Info menu command to check available free space.  Be sure you have LOTS of room (I keep 75% of my disk space free when recording video) on your MBP's disk.
    Capture your movie clips on your MBP's startup disk rather than on an external drive which is almost certainly slower.
    l_kleiman wrote:... when I was done recording... I force quit... but the thumbnail is ...not an icon.  How do I recover this?...
    If something here doesn't work, http://bit.ly/1An6zjD, your only remedy it to record the video again.
    l_kleiman wrote:... Thank you so much in advance...
    You're welcome.  If you need to post back for other suggestions, please tell us the following:
    0. What Lion version number you are using? You can find the version with the  > About This Mac menu command.
    1. Are you recording your video subjects in bright lighting?
    2. Did your Mac ever record video properly? If so, what happened immediately before the problem first appeared? (new software, hardware, etc?)
    3. How much free space is "Available" on your startup disk?
    4. How much RAM is installed in your Mac?
    5. If you added RAM, what brand (Apple, Crucial, Other World, etc.) did you install?
    6. Have you used Apple Hardware Test to verify your RAM is all working?  (If you don't know how to use AHT, see your MBP's User Guide.)
    We will offer more specific suggestions based on the details in your response.
    Message was edited by: EZ Jim
    Mac OSX 10.10.2

  • HT2953 i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • As apple does not support Adobe flash how do I watch youtube other  videos and play games?

    As apple does not support Adobe flash how do I watch youtube other  videos and play games?

    There is a YouTube built-in app for watching those videos. If you can't find the app (it can't be deleted), then check that it's not hidden via Settings > General > Restrictions > YouTube.
    For videos on other sites then you might find that some of them (probably more so if they are news sites) have their own apps in the App Store which might let you get some of the content that you want (and there is the built-in YouTube app). Also there are browsers such as Skyfire which 'work' on some sites - but judging by the reviews not all sites. If you want to play flash games then you are probably out of luck if you want to play on-line though the iSwifter app might work on some of them, but again some flash games have app versions in the store.

  • HT204382 i have a kodak camera which i recorded video and i have and macbook labtop and when goes on imovie to import it cannot, what is my problem?

    i have a kodak camera which i recorded video and i have and macbook labtop and when goes on imovie to import it cannot, what is my problem?

    I found this previous post.  Does it help?
    "Movie '09 and the Kodak Playsport HD".
    His advice worked like a charm:
    "This camera is a lot of fun and when i connected it to iMovie 09 I, in the first case, had to go to File, Import Movies and navigate to the SD card and choose all the .mov files which then imported seamlessly. Was able to edit and share the movie no problem."
    Hope this helps

  • Sample Video to play with in FCE

    Hello Everyone
    I was wondering if there was any sample videos to play with on either FCE 3.5 or 4.0 Install DVD's. I bought FCE to do photo slide shows, but now I would like to start playing with video. The only problem I am running into is the fact that I do not have a video camera at this point, so I would like to find some sample material to play with until I can buy one.
    Thanks
    Bill

    .. no, no sample videos on installer disks..
    but..
    if you own QuicktimePro, you can download any movie trailer from Apple's Quicktime site..
    http://www.apple.com/quicktime/guide/hd/
    or from the Movie Trailers ...
    http://www.apple.com/trailers/

Maybe you are looking for