Android Video play via AIR application is jerky

Hi All,
  We are developing an AIR mobile application targetted for Android 2.2 or above. One of the requirement is to play H.264 videos on the mobile from the Assets folder (local file system). We have run in to a show stopper while trying to implement this feature, here are the details -
1. We are using OSMF that comes bundled with Flex Builder 4.6
2. Using Adobe AIR 3.1 and Flex SDK 4.6
When video of quality H.264 MPEG4 1280*720 30FPS with input bit rate 2000 is being played on the mobile device (android), the video frame rate is choppy however on the desktop it plays out fine... StageVideo is something I would like to try however, at this moment I have no access to Android 3.0 which is required for StageVideo...
What are we missing? Is AIR 3 not capable to play H.264 videos on android, though the Android native video player plays it out just fine?
Regards
Baliga

Hi,
Video encoding is very important.
For example, use baseline profile level 3.1 for H264 for mobile
(and not High profile level 4.1 recommended for desktop).
For more information, see the MAX session of Fabio Sonnati:
"Encoding for Performance on Multiple Devices"
And if you have an Android phone/tablet, there is my AIR application
to watch Adobe MAX 2011 videos :
https://market.android.com/details?id=air.fr.inway.maxVideos2011
Search "Sonnati" for this session's video.
(For info, i use a video player based on OSMF 1.6)
The pdf presentation is available on Sonmati's blog:
http://sonnati.wordpress.com/
Philippe

Similar Messages

  • My iPad (4th gen) will not play sound from videos played via Facebook. Anybody have suggestions?

    My iPad (4th gen) will not play sound from videos played via Facebook. Anybody have suggestions?
    I've restarted my iPad, there are no available updates that I am aware of.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • How to embed and play mp4 video in HTML AIR application?

    Adobe Air HTML / JS application compiled from SDK command line.  I am not using flash pro or flash builder to create the application.
    I was using dreamweaver but the dw air plugin seems to have stopped being developed so I switched to using the command line tools.
    I am creating desktop air application that has embedded mp3 audio and also I want to embed mp4 video.
    Using jQuery and the AIR js plugin I am able to play audio via buttons hooked up via jQuery and the AIR js plugin from the SDK.
    What I am doing is creating proofs for clients in AIR and sending link to the client to download the application.  I embed the media because I do not want to place them on a website where it could possibly be seen by non-clients and get picked up in the SE's.
    I am finding it hard to understand the AIR process for playing video.  I read that it is the same procedure as audio but it does not work.
    If it was hosted on youtube or somewhere embedding the web player would be simple, just copy paste some code and it works.  When actually embedding the video say mp4, f4v, mov, wmv or similar file formats I can't get AIR to play the video.  Audio, not a problem it works great.
    I would like to do the following with video.
    Embed the actual file in the AIR app.  I can do this, it gets embedded.
    Play, pause and stop the video - Can't get this to work
    Get the current stop point and be able to start the video by sending a start point - This is all working with audio I just want to do it with video.
    I have searched the forums, the search engines, youtube and read through the documentation on Air but the video does not work at all.
    I need code samples and direction on how to make an embedded video play inside of a desktop air application using the HTML / JS air model. I am using the command line tools to create the air package and test the air app.
    Please help if you have figured this out.
    Thank you.
    Not sure if this matters but I am using Windows 7 Pro 64bit as my development machine.

    In addition I also can not get html5 video to play in the adobe air app.  Would this issue be tied to the above?

  • Flv video not playing in AIR application

    Hi everybody,
    i'm building a tutorial with flash catalyst and since the 20 states limit i've split it up in different swf files that I import and show in different states.
    One of these swf (which i built with Catalyst as well) is supposed to play a flv video, and it actually plays it if i run it alone.
    The problem comes when i build the overall tutorial: it works perfectly with the "run project" command in Catalyst and with the run-local version but the video won't play if i try the AIR application.
    Does anyone have any suggestion?
    NB: the "asset" directory created with the AIR application installer does contain the flv file (i didn't have to put it there manually)
    Thanks in advance for your help,
    Giuseppe

    Hi Giuseppe,
    what I do is:
    1. create a file using Captivate
    2. i place a .flv video in this file
    3. save the file as .swf
    4. then i go to dreamweaver and put the swf on a html page.
    Now:
    when viewed in a browser, everything runs fine.
    when i pack this page into an air application (in dreamweaver) the video does not appear,
    instead I get this "Connection Error"
    I do not know a console or log file.
    However, I learned that there is a .xml file located in the same AIR folder that you publish in.
    In this .xml file there is a setting :transparency. in order to playt a .flv file this must not be be "transparent"!
    (i read this somewhere in the net)
    hope that helps
    I will talk to a professional programmer, if I have any news, i will let you know
    Claus

  • Sending email via android email client from Air application

    Hello!
    I'm creating an Air application for Android and was wondering if it's possible to send an email via the android/gmail client within the application.
    Thank you for any help or direction in advance
    sjhitta

    Hi Jari,
    Thanks to reply me.
    There is an workspace details where user solve that problem but now i have troed to access that workspace but its not working .i have cofusion how can i do this where i put
    apex_mail.send(
    p_to => v_recipient_list
    , p_from => v_from_list
    , p_subj => 'Hello world'
    , p_body => v_body
    , p_replyto => null);
    this package
    and how to and where set SMTP of Gmail and i don't know about gmail SMTP Server Specification
    i ahve jus create a form with
    P1_TO Text Field
    P1_SUBJECT Text Field
    P1_FILE_BRE File Browse...
    P1_COMMENT Textarea
    Please guid me...how can i do that step by step
    Thanks

  • 5.2 update does not send audio from video played via Apple TV to AirPlay-enabled speakers and devices or AirPort Express.

    I just updated my Apple TV to release 5.2, which is supposed to give Apple TV the ability to "Send stereo audio from movies, TV shows, and other videos on Apple TV to AirPlay-enabled speakers and devices (including AirPort Express and other Apple TVs)." Problem is, this does not seem to be the case.
    I have two AirPlay enabled devices:
    1) Bose SoundLink Air
    2) AirPort Express
    In the Apple TV menu, I selected Settings, AirPlay, Bose SoundLink Air. I then played a video; the audio from the video played from my projector's speakers - not from the Bose speaker. I then went back to Apple TV's Settings/AirPlay and selected "Airport Express" (which connected via an aux cable to a speaker)...audio continued to play over my projector's speaker. I can, by the way, play audio on both the Bose and the speaker connected to the Airport Express if I select either of them from the AirPlay menu. 
    Am I doing something wrong, or is the 5.2 update not working as described?

    No. But, are your speakers only connected to the AE or are they also connected to an amplifier?
    You would need to use a Toslink cable to go from the Apple TV to the speakers/amp.
    I don't use this or know a lot about it, but it is wildly popular, inexpensive and may be of help:
    http://www.rogueamoeba.com/airfoil/
    Message was edited by: bobbyco57 to add Airfoil info.

  • Embedding video codecs in .air applications?

    Hi, just a quick crapshoot here. With the increased
    permission levels given to AIR applications, will it become
    possible to embed video playback codecs in an application?
    Thanks.

    Hi,
    It won't be possible to embed video playback codecs in
    AIR.

  • Videos played via internet are so slow and choppy, SLOW Firefox

    Was wondering if anyone knew for sure the reason why videos/movie trailers played thru either Safari or Firefox are extremely slow and choppy on my G5 imac or G4 iBook laptop. Not sure if the outdated processors cant handle the flash embedded videos Youtube, Quicktime and other sites post, but it is really annoying not to be able to watch anything smoothly. Even if i let the entire video load (if it is a quicktime), then play it, it still is very choppy. The audio plays fine, but the video never keeps up. I have a 6mb DSL connection, so that cant be the problem. Any video I play via my iPod Touch (aside from flash videos it cant play) they are as smooth as can be (And that is via a wireless connection). Which makes me think it is a processor issue. Any thoughts?
    Anyone have any suggestions on how I can remedy this situation? (aside from buying a new computer...)
    PLUS, does anyone notice how slow Firefox is, or is it just me? Seems like even when i type in this form field, time lags as the letters show up. I have the latest version, and it is so slow. Switching tabs takes time... Reading and accessing RSS fields in the Feed Sidebar plug in is really slow...
    Any ideas would be greatly appreciated! Thanks!

    QuickTime is designed to "drop" frames during playback when the machine can't keep up with the video data rate (audio continues normally). This may appear as a "stutter" during playback on an older machine.
    It's not based on the Internet connection speed.
    Apple movie trailers use the newer (2005) H.264 video codec and they demand a high CPU (Intel is best). You should get better performance on your G5 than on the G4.
    Videos encoded using Flash will be equally difficult to view on older machines

  • Video playback in AIR application

    I'm a purely graphic and video producer who has recently had to take on a touchscreen kiosk project at the very last minute. I have a basic (read pitiful) knowledge of actionscript and html, but no practical experience. I'm using Flash CS5, but also have Flash Builder 4 if that makes any difference at all.
    From reference guides and trial and error I have been able to put together a good deal of the project, but a few parts have me quite confused. One is that I need to be able to do two things with HD video in this project;
    1. Run a fullscreen looping sequence, which will fade to the menu screen once the screen is touched
    2. Place a few video clips onto the stage, to run in sequence with the timeline.
    Because of my main experience being video production, I see everything in layers, and I get the feeling that that is part of my issue, because I don't fully understand how the languages interact with objects.
    Has anyone ever done something like this, or have any recommendations as to how best to do this? To be perfectly honest I don't even know where to start here.

    send me an email via my website:  www.kglad.com

  • When I stream videos from my laptop onto my Apple TV via my iPad 2 using the Air Video app/server the video plays great however when I pause the video the Apple TV reverts back to the home screen within a few seconds and then when I want to restart watchi

    When I stream videos from my laptop onto my Apple TV via my iPad 2 using the Air Video app/server the video plays great however when I pause the video the Apple TV reverts back to the home screen within a few seconds and then when I want to restart watching the video I have to re-buffer the video. Is there any way I can stop the Apple TV from reverting back to the home screen when I pause the video I’m watching?

    Welcome to the Apple Community.
    Contact the developer of the Air Video app.

  • How can I get an AIR application to a video output via DeckLink card with alpha channel?

    Hi there!
    Anybody knows how to get an AIR application to a video output via DeckLink card with alpha channel?
    The reason is because we want to develope tv show games with air.
    Thanks.

    See if these have iMac Nvidia drivers:
    http://www.laptopvideo2go.com/drivers/

  • Kindle Fire MIDI file play via Adobe Air

    Kindle Fire can play MIDI files via native Amazon MP3 player, but couldn't got it to play in Air (as an external file, checked with MP3, works fine, used same method to load .mid too), what can you suggest? I definitelly need .mid file to be played, not converted it in mp3 etc.
    Thanks in advance 

    Hi,
    Video encoding is very important.
    For example, use baseline profile level 3.1 for H264 for mobile
    (and not High profile level 4.1 recommended for desktop).
    For more information, see the MAX session of Fabio Sonnati:
    "Encoding for Performance on Multiple Devices"
    And if you have an Android phone/tablet, there is my AIR application
    to watch Adobe MAX 2011 videos :
    https://market.android.com/details?id=air.fr.inway.maxVideos2011
    Search "Sonnati" for this session's video.
    (For info, i use a video player based on OSMF 1.6)
    The pdf presentation is available on Sonmati's blog:
    http://sonnati.wordpress.com/
    Philippe

  • How to play and stop flv files through NetStream in AIR Application

    Hi,
    In a folder I have 'n' number of flv file, which are DRM protected. when the user try to play those files for the first time through my AIR application, it will prompt for username and password and gets the license/voucher from the server and store it in AIR Runtime. so that from the next time onwords it won't prompt for username and password as because it already has license/voucher.
         My problem is assume there are 500 files, such that for each file the user has to enter his credentials[username and password]. which is a stupid thing. I want to avoid this process by implementing this process internally/programetically. By playing/accessing each file through netstream from the folder and setDRMAuthenticationCredentials for that file and stop the stream. Here I am able to play each file but I am failed to stop it. I mean to say I will get the license for all the flv files internally[while loading my AIR application], such that user should not be interrupted for his credentials for each file.He should play as if he is accessing/playing a non-DRM protected file. I will be very thank full if any one help me out in this.
    public function init():void {
          connectStream();
          getLicenseForAllFiles();
          videoStream.addEventListener(DRMAuthenticateEvent.DRM_AUTHENTICATE, drmAuthenticateEventHandler);
          ppt_videoStream.addEventListener(DRMAuthenticateEvent.DRM_AUTHENTICATE, ppt_drmAuthenticateEventHandler);
            private function getFilesRecursive(rootFolderPath:String):void {
                //the current folder object
                var currentFolder:File = new File(rootFolderPath);
                //the current folder's file listing
                var files:Array = currentFolder.getDirectoryListing();
                //iterate and put files in the result and process the sub folders recursively
                for (var f = 0; f < files.length; f++) {
                    if (files[f].isDirectory) {
                        if (files[f].name !="." && files[f].name !="..") {
                            //it's a directory
                            getFilesRecursive(files[f].nativePath);
                    } else {
                        //it's a file
                        fileList.push(files[f].nativePath);
                        //Alert.show(""+files[0].nativePath);
                        var fileName:String = files[f].name;
                        if(fileName.indexOf("PPT_")!=-1){
                            ppt_videoStream.play(files[f].nativePath);
                            ppt_videoStream.pause();
                        videoStream.play(files[f].nativePath);
                        videoStream.pause();
                private function connectStream():void {
                    videoConnection = new NetConnection();
                    videoConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    videoConnection.connect(null);
                    ppt_videoConnection = new NetConnection();
                    ppt_videoConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ppt_videoConnection.connect(null);
                    videoStream = new NetStream(videoConnection);
                    videoStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    video.attachNetStream(videoStream);
                    ppt_videoStream = new NetStream(ppt_videoConnection);
                    ppt_videoStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ppt_video.attachNetStream(ppt_videoStream);
             private function netStatusHandler(event:NetStatusEvent):void {
                switch (event.info.code) {
                    case "NetConnection.Connect.Success":
                        //connectStream();
                        break;
                    case "NetStream.Play.StreamNotFound":
                        trace("Unable to locate video: " + videoURL);
                        break;
                private function drmAuthenticateEventHandler(event:DRMAuthenticateEvent):void {
                    videoStream.setDRMAuthenticationCredentials("adobe", "adobe", "drm");
                private function ppt_drmAuthenticateEventHandler(event:DRMAuthenticateEvent):void {
                    ppt_videoStream.setDRMAuthenticationCredentials("adobe", "adobe", "drm");
    Thanks
    Sudheer Puppala

    Hi,
    Please go through following links..this will help you:
    http://lucamezzalira.com/2009/02/28/create-pdf-in-runtime-with-actionscript-3-alivepdf-zin c-or-air-flex-or-flash/
    http://forums.adobe.com/thread/753959
    http://blog.unthinkmedia.com/2008/09/05/exporting-pdfs-in-flex-using-alivepdf/
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • I can't play a video I purchased on iPad through my AppleTV. ATV says it is not authorized to play that video. All other videos play fine via airplay. Help.

    I recently purchased a movie on my iPad. I can't sync the movie to any of my computers. I can play the video on my iPad(1) but can not play it through my AppleTV(2) via AirPlay. All other videos on my iPad, play fine. Any suggestions?

    Yes, I've done this. Even signed in and out and went through and disconnected and reconnected all related devices. All other video works over air play, but still comes up with apptv not authorized to play this content for this one video.

  • I have only sound and no picture coming through via air play

    I have only sound and no picture coming through via air play. It started after I updated all software on all my devices. What is wrong?

    Hi cavw,
    I'm sorry to hear you are having video issues with AirPlay after a recent update. I also apologize, I'm a bit unclear on your exact configuration. If you continue to have video issues with AirPlay or AirPlay Mirroring, you may find the troubleshooting steps outlined in the following articles helpful:
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring - Apple Support
    Resolve issues with AirPlay and AirPlay Mirroring from iPhone, iPad, and iPod touch - Apple Support
    Regards,
    - Brenden

Maybe you are looking for

  • Need to send an email via workflow if a field changes

    Hi, so I have this field called temination date in an infopath 2010 form. When (if) a user changes that field, I need to send an email out to other users, but I can't figure out how to do it, I have tried making another field called temination date b

  • Can we maintain more than one shipping condition for a customer

    Hi, Can we maintain more than one shipping condition for a customer

  • POP:SOT won't acknowledge admin rights

    I'm a newbie here and I came to this specific forum because I thought it was the best fit for my problem.  If any one here can suggest a more appropriate place to be for the problem described below I'd appreciate it.   I bought the game Prince of Per

  • Question about string array?

    Hello, When passing Stting arrays to a function, is there anyto test if the array is emply? void testFucntion(String[] test){ }

  • Imsesense.dll missing at startup

    I get a PSE9 error notice at startup.  It says the program can't start because the imsense.dll is missing from my computer.  I am to try and reinstall the program to fix the problem.  But, when I click ok the program opens.  How do I fix problem with