AIR for Desktop – Video 'wall' using 'virtual' tiles

Creating a huges video wall- 10x6 ft  which is actually 1 large screen and will display a variety of video, pictures and text content. I want to break up the screen using 'virtual' tiles. A variety of approaches will be taken to create transitions, 3d rotation effects, ripple effects etc.
I know I will make ample use of Bitmapdata, rednering my video(s) and loaded images off stage and probably copyPixel or drawRect  methods to render my main canvas.
What are some other 'best pratices' I should keep in mind to optimize performance and playback?
What are some general guidelines for video encoding if all video content will be prerendered and played back locally?

1.Make sure you understand the big differences between video and stagevideo, its tempting to think that stagevideo is the better videosoultion in any case, but its not.
The best Article (however a little outdated) on the subject is imo: http://www.adobe.com/devnet/flashplayer/articles/stage_video.html
2.In a performance heavy environment the combination stageVideo+greensock might not be the optimal solution, if you have time to reprogram Starling/feathers will probably give you a much better performing combination:
http://forum.starling-framework.org/topic/stagevideo-with-starling-example
3.I don`t know how you encode your Backgroundvideo, there are literally dozens of viable codecs that should differ extremly in how they stress the gpu/cpu. Maybe you have to experiment with a lower than HD resoultion and see if scaling up the background is a good compromise.

Similar Messages

  • I have flash professional cc and I need air for desktop application with .exe or .air that should contain all swf's and captive air runtime in one Installer only . I don't want to install separate adobe air runtime .

    I need Air for desktop application either in .exe or in .air with embedded captive runtime just like .apk . I don't want to install adobe air separate . everything should come in installer
    I have adobe flash professional cc development tool , let me know whether I have to go with other development tool???
    your reply will  increase my confidential level
    please anyone can help me to solve this problem
    Thanks&regards
    Niranjan

    Adobe Flash Professional CC manual
    1) Create new project
    2) Configure your Project properties
    3) Embed runtime, so you users can use Adobe AIR without pre-installed Adobe AIR runtime
    4) After publishing you will receive %APP_NAME%.app folder that contain your project files

  • AIR for desktop and TouchEvents

    Building a kiosk application that only requires button press and button drag(scroller) detection.
    I DON'T need multitouch, or gesture recognition.
    Will I still need to substitute any MouseEvents for TouchEvents?

    Hi jbach...
    In AIR for desktop, you can definitely load external swfs and they can contain code (works on Android also).
    There's a in-depth discussion of how to accomplish this here:
    http://blogs.adobe.com/cantrell/archives/2010/03/extending_air_applications_with_plugins.h tml
    This article talks about security considerations, etc - and is worth understanding.
    However, if you want to just test it out without worrying about security:
    var stream:FileStream = new FileStream();  
    stream.open(_file, FileMode.READ);
    var bytes:ByteArray = new ByteArray();
    stream.readBytes(bytes);
    stream.close();
    var context:LoaderContext = new LoaderContext();
    context.allowCodeImport = true;
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadHandler);
    loader.loadBytes(bytes, context);
    function loadHandler(e:Event):void
    _content = DisplayObject(e.target.content);
    So basically:
    Read the file as a byte array.
    Create a loader context and set allowCodeImport to true.
    Create a loader and use loadBytes to "convert" to a useable swf.
    On complete, e.target.content contains your swf (fully accessible with code, etc.)
    Hope this helps!  Good luck with your application.

  • AIR for desktop and multiple swfs

    I know when packaging AIR for mobile devices, you can load external swfs as long as they contain no code, but I was wondering if the same limitation exists for AIR on the desktop.
    Building a kiosk application and would like to organize and load the various 'views' similar to how I would create and organize a flash based web application.

    Hi jbach...
    In AIR for desktop, you can definitely load external swfs and they can contain code (works on Android also).
    There's a in-depth discussion of how to accomplish this here:
    http://blogs.adobe.com/cantrell/archives/2010/03/extending_air_applications_with_plugins.h tml
    This article talks about security considerations, etc - and is worth understanding.
    However, if you want to just test it out without worrying about security:
    var stream:FileStream = new FileStream();  
    stream.open(_file, FileMode.READ);
    var bytes:ByteArray = new ByteArray();
    stream.readBytes(bytes);
    stream.close();
    var context:LoaderContext = new LoaderContext();
    context.allowCodeImport = true;
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadHandler);
    loader.loadBytes(bytes, context);
    function loadHandler(e:Event):void
    _content = DisplayObject(e.target.content);
    So basically:
    Read the file as a byte array.
    Create a loader context and set allowCodeImport to true.
    Create a loader and use loadBytes to "convert" to a useable swf.
    On complete, e.target.content contains your swf (fully accessible with code, etc.)
    Hope this helps!  Good luck with your application.

  • Flash CC Publish Air for Desktop for Windows from a Mac?

    I've been trying to figure out how to publish my game for windows and it is driving me nuts. On the adobe help page it says there should be a checkbox right below the "output as" boxes. It should say "Windows InstallerSelect this option to compile a native, platform specific Windows installer (.exe) instead of a platform-independent AIR installer (.air)." On my publish settings however, this is missing. Does anyone know how I can publish a windows .exe from Flash CC on my mac?

    Hi,
    Air for Desktop settings are platfrom specific , you couldn't publish the Windows.exe from MAC , you can publish the windows installer from windows machine .
    Thanks!

  • Workers in AIR for desktop

    My question here specific to AIR apps for desktop, not for the web. I have Flex 4.6 and AIR 3.5. I've beed Googling for days with no joy.
    There are no code errors but does anyone know where and how to initialize workers in the main mxml file or hat appliaction handler should be used to get the worker thread to set the mainToWorker and workerToMain MessageChannel's, as there is no class initializer like there is in web flex projects.
    if(Worker.current.isPrimordial){
                                                      worker = WorkerDomain.current.createWorker(this.loaderInfo.bytes);
                                                      mainToWorker = Worker.current.createMessageChannel(worker);
                                                      workerToMain = worker.createMessageChannel(Worker.current);
                                                      worker.setSharedProperty("mainToWorker", mainToWorker);
                                                      worker.setSharedProperty("workerToMain", workerToMain);
                                                      workerToMain.addEventListener(Event.CHANNEL_MESSAGE, onWorkerToMain);
                                                      worker.start();
                                            }else{
         // if in worker thread
                                                      mainToWorker = Worker.current.getSharedProperty("mainToWorker");
                                                      workerToMain = Worker.current.getSharedProperty("workerToMain");
                                                      mainToWorker.addEventListener(Event.CHANNEL_MESSAGE, onMainToWorker);
    Cheers,
    Nige

    1.Make sure you understand the big differences between video and stagevideo, its tempting to think that stagevideo is the better videosoultion in any case, but its not.
    The best Article (however a little outdated) on the subject is imo: http://www.adobe.com/devnet/flashplayer/articles/stage_video.html
    2.In a performance heavy environment the combination stageVideo+greensock might not be the optimal solution, if you have time to reprogram Starling/feathers will probably give you a much better performing combination:
    http://forum.starling-framework.org/topic/stagevideo-with-starling-example
    3.I don`t know how you encode your Backgroundvideo, there are literally dozens of viable codecs that should differ extremly in how they stress the gpu/cpu. Maybe you have to experiment with a lower than HD resoultion and see if scaling up the background is a good compromise.

  • AIR for Android video issue

    On Android, in an app that I’ve developed successfully for iOS, I’m seeing this problem:
    There are 5 videos built-into the app. On Samsung phones (S3 and S4), running Android 4.4.2, at the first attempt to play a video there’s sound but no picture. After returning to the video menu and attempting again, video and sound play normally. If a video is stopped and another one is started, initially a frame of the previous video is displayed (for a fraction of a second), then play resumes normally with the chosen video.
    The sound-but-no-video problem does NOT show up on a Nexus 7 running 4.4.3, although the flash-frame problem does.
    I’m publishing with AIR SDK 15 packaging both with and without captive runtime to try to isolate the source of the problem. I’m using <contains video> true </contains video> in the descriptor.
    This feels like AIR-for-Android buggishness. Any confirmation out there? Similar problems? Workarounds?
    I’ve read somewhere that AIR runtime  v.3.3 may solve some video problems on Android, but not sure where to find an archived Android version of AIR that old.

    Well, as it sometimes happens with me, I have spoken too soon. The answer that I marked as ‘correct’ the other day (Colin, are you there?), seems to be not quite the right answer. At least, it doesn’t solve the video problem that I’m having with some, but not all, Android devices.
    After trying Colin’s suggestion – using  if (stage.stageVideos.length != 0) to make sure that a stageVideoAvailabilityEvent hasn’t already fired when I try to play my first StageVideo instance – and getting perfect results in 10 consecutive tries on my Samsung S4 and S3 phones, I figured that was IT.
    Next day, same devices and same code, it DIDN’T work! I pulled hair, issued profanities, hammered on the table. It didn’t matter—I still got a ‘mis-fire’ on the first play of a video whenever (almost whenever) I opened the app. After the first play everything was good – which is the exact problem that I started with many days ago. When I played Colin’s Sesame Street ‘Let’s Get Ready’ app again – the same first-play-of-video problem shows up there too.
    This problem does not show up on Nexus 7  and the Samsung Galaxy 5 Tab. It is a royal p.i.t.a. on Samsung phones, where I need my app to work.
    I created a bare-bones app to reproduce the problem, code below. Just a single class to play a single video with no controls. A few parameters (path to the video, and viewport stuff) are passed in from the document Class. I run it 10 times on my S4. It fails 7 times and plays well 3 times. The 'initialize2()' function never fires, proving that the stageVideos array already exists by the the time the 'initialize1()' function is called.
    I'm pretty sure that this is not a coding problem (because it works well on some Androids and in iOS), but WHAT is it??
    package vidTestSource
      import flash.desktop.NativeApplication;
      import flash.desktop.SystemIdleMode;
      import flash.display.MovieClip;
      import flash.display.Sprite;
      import flash.display.StageAlign;
      import flash.display.StageScaleMode;
      import flash.events.Event;
      import flash.events.NetStatusEvent;
      import flash.events.StageVideoAvailabilityEvent;
      import flash.geom.Rectangle;
      import flash.media.StageVideo;
      import flash.media.Video;
      import flash.media.StageVideoAvailability;
      import flash.net.NetConnection;
      import flash.net.NetStream;
      public class MobileVideosolo extends MovieClip
          public var stream:NetStream ;
          public var video:StageVideo;
          var xx:Number;
          var yy:Number;
          var ww:Number;
          var hh:Number;
          var mymoov:String;
      public function MobileVideosolo(mymoov,xx,yy,ww,hh)
          this.xx = xx;
          this.yy = yy;
          this.ww = ww;
          this.hh = hh;
          this.mymoov = mymoov;
         addEventListener(Event.ADDED_TO_STAGE, onstage);
    function onstage(e)
        if (stage.stageVideos.length != 0)
           initialize1();
         else
          stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, stageVideoState );
    function stageVideoState(e)
           initialize2();
           stage.removeEventListener (StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, stageVideoState);
    function initialize1()
          var nc:NetConnection = new NetConnection() ;
          nc.connect(null) ;
          stream = new NetStream(nc) ;
          stream.client = this ;
          video = stage.stageVideos[0] ;
          video.viewPort = new Rectangle(xx,yy,ww,hh) ;
          video.attachNetStream(stream) ;
          stream.play (mymoov) ;
          MovieClip(parent).sVtext.text = "Init 1";
          stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    function initialize2()
        var nc:NetConnection = new NetConnection() ;
         nc.connect(null) ;
         stream = new NetStream(nc) ;
         stream.client = this ;
         video = stage.stageVideos[0] ;
         video.viewPort = new Rectangle(xx,yy,ww,hh) ;
         video.attachNetStream(stream) ;
         stream.play (mymoov) ;
         MovieClip(parent).sVtext.text = "Init 2";
         stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

  • Worst performance of AIR for Desktop on PC

    Hi,
    I've been using AIR for mostly developing Android projects for my clients recently. And so far it's been pretty good for that.
    I have noticed before and specifically with my current project, which is also simple branded Android app for a client, the performence of AIR on Desktop is worst of all my Android devices. When testing the app on PC, (ctrl + enter in Flash Pro) when simple animations starts, AIR takes 100% CPU on all cores on my i5 Dell with Intel HD4000 and Nvidia GF630M.
    I was expecting it to run supper smooth on PC, while surprisingly, the app performs smooth on almost 3 years old Samsung Galaxy S2, then Galaxy Tab2, then chinese tab, and lastly comes PC, performace wise. For mobile, I have set the app to use GPU, and while testing on PC, I have tried all the "Render mode" options, but performance is exactly same.
    I am not using Stage3D/Starling. It's just classic Flash, with timeline animations, and AS3 document class to make it all interactive.
    Is it a must to use Stage3D/Starling combo to get same performance as on mobile, even for classic timeline style apps?
    I thought Flash was getting improved on PC the most, but it feels like other way around :/
    // chall3ng3r //

    Yes, I have tried debug and regular test, no diffirence.
    I have noticed that as three timeline animations stop one by one (they are not too big graphically, it's just a slot machine app), performance gets better. But, still not compareable to GSG2. I'm not using any filters, I did applied the motion-blur in Photoshop in alternate gfx, and just use that when in running state.
    Edit: also, i've tried with latest beta build, and latest release build. it's same.
    // chall3ng3r //

  • Source code for audio- video conferencing using JMF

    i am doing a project on VIDEO CONFERNCING using JMF. i am using the HP WEBCAM of my laptop. guys i desperately need help. plz give me the code if any of has it.plz plz its urgent

    i am doing a project on VIDEO CONFERNCING using JMF. i am using the HP WEBCAM of my laptop. guys i desperately need help. plz give me the code if any of has it.plz plz its urgentYou can't get the code for the whole application.....
    but you can get plenty of code to get started on making your own video conf. application using JMF here .
    Also, there is a [JMF Forum|http://forums.sun.com/forum.jspa?forumID=28] here. If you face any problems while coding, you can post your queries there.
    Thanks!

  • Monitor selection for Desktop video

    I have 4 monitors, 3 are the same model and specs (Asus 21.5" connected via DVI). The fourth is an HDMI monitor connevcted via the HDMI port on a graphics card. I have 2 of the 21.5 monitors being driven by an EVGA GTX 580 nVidia card and the other two are driven by an EVGA GT 520 nVidia card. When I attempt to select the HDMI monitor for video output, the monitor isn't listed in the drop down for available desktop video monitors. In fact, only one monitor displays... the Asus 21.5 connected via DVI on the GT 520 card. The second monitor on the GTX580 card and the HDMI output don't show up.
    Any thoughts as to why this is happening and how I can get them listed/usable?
    Thanks.

    Normally, a 220 kbps wmv, won't tax your computer CPU that much.
    A video like this can be watched in almost any computer with a CPU higher than Pentium 2. It could actually play in a Pentium 2 depedning on how movement the video it self has.
    As a general rule, I wouldn't care much about the computer CPU or RAM until the video code rate goes over 1 Mbps.

  • Using AIR for desktop

    is drag'n'drop from system and back possible?
    i would like to build an air desktop drop zone area.
    it would be cool when i can use flex for building desktop gadgets.
    last time i checked it was not possible to drop content to air at all.
    hence a cs4 floating icon which offers all programs as icons for opening a file on mouse move over.

    Here is information on building Flex-based applications that use drag-and-drop functionality:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e8a. html
    http://www.adobe.com/devnet/air/flex/quickstart/scrappy_copy_paste.html
    And here is information on processing arguments passed into an AIR application when it is invoked:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html

  • Can't use 2nd monitor for Desktop Video - DisplayPort issue?

    I just got my Mac Pro 8 core (2009). I have two monitors connected to it. Anything that happens on the second monitor(connected to the DisplayPort via a DisplayPort to DVI adapter) is choppy. I can't even move or reposition windows smoothly.
    Additionally, Final Cut Pro will not let me use the second monitor to play my video out as I could with my previous mac pro (2008) which had two DVD ports.
    What's up with this DisplayPort causing these issues?

    Hi,
    If you can't see the basic HP UEFI boot menu information with a DVI connection then you have a hardware issue. It's either your monitors or DVI cable or the DVI port on your PC. It's definitely not a software issue as digital drivers don't get loaded until later in the Windows boot process.
    Test the monitors and the DVI cable on another PC to ensure that they work correctly.  Alternatively, try a different DVI cable and monitor on your PC.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Surround Sound via StageVideo in Air for Desktop?

    I can't seem to find an obvious answer to this question:
    I want to use StageVideo to play h.264 videos with 5.1 AAC audio in full surround via a Mac Mini.
    Flash is able to play back video with Surround sound, correct?
    What is required to make this work?
    Thanks!

    Thanks for the answer Alex.
    Here is a follow-up: Will a StageWebView within an AIR Desktop app, playing the video via HTML produce the Surround Sound?
    Browsers themselves seem to play back the audio fine, just curious before I'm able to test if a StageWebView would produce the same result.
    Thanks!

  • Will there be future support from Adobe AIR for Desktop native Applications

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

  • Air for Android video object displays on orientation change

    I have an Android app that plays a video using the normal video object, ie:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    stream = new NetStream(nc);
    stream.client = this ;
    stream.addEventListener(NetStatusEvent.NET_STATUS, statusHandlerx);
    softwareVideo = new Video(640, 480);
    softwareVideo.x = 0;
    softwareVideo.y = 0;
    addChild(softwareVideo);
    When the video is playing if there is an orientation change, before the screen adjusts,  you can see a full screen version of the video behind the 640x480 in the area of the screen that adjusted yet.  So if the video is in portrait and the orientation is switched to landscape, in the right befow the stage adjusts to landcape you can see the right part of a fullscreen version of the video.
    Also when I remove the video object you can still see the last frame of the video in that area.
    HELP.  Is this a bug?

    Hi,
    Please log a bug at bugbase.adobe.com with a sample app(sources,swf,app-xml and assets) with which bug can be reproduced at our end. Also please mention the devices with OS version and the AIR build version on which bug is reproducible. A video demonstarting the bug would be really helpful for us.
    Also please mention the bug number here on forum so that we can look into this issue.
    -Nimisha

Maybe you are looking for

  • How to connect my Satellite A100 to TV?

    I have a Toshiba Satellite A100-285 and I really want to connect it to the TV. Can anyone tell me what cable I would need to do that? We have no pc world or any shops like that up here. Thank you very much.

  • Short dump while export grid alv with subtotals.

    hello, its strange and i face first time that my grid alv report goin to short dump while i done subtotals and send it to local file thru export. if am not doing subtotals then export it to local file it goin fine. whats it has problem plz give ur he

  • ITunes install problems -- no error messages

    I believe my problem is unique, but if this has been brought up before, I apologize. Anyway, down to business: A friend just bought an iPod nano and had problems installing iTunes, so I volunteered to help. Here's what happens: 1) I run the iTunes in

  • SAP XML Schema's - 2 questions

    Hi All, 1. Difference between ifr.sap.com & XI The schema's defined in ifr.sap.com and the schema's retrieved via the RFC adapter are different!  The XSD's in ifr.sap.com use mixed case for the elements.  The XSD/WSDL extracted contain element names

  • Adobe Professional issue

    Hi , I hope someone can assist me, I have a user with Windows XP, using Adobe Professional 8, as far as they told me an update ran, what they normally do is combine JPG's, now they cannot without getting an error, I have tried repair on a full reinst