Posts in Category "Videos"

Beta Feature: VideoTexture and Stage3D

Authored by Jason Lee

Flash Player 15 Beta introduces the VideoTexture object, which allows hardware decoded video to be used in Stage3D content. With prior versions of Flash Player, the use of video in Stage3D required the use of the Video object (which is not hardware accelerated), copying of video frame to a BitmapData object, and loading of the data onto the GPU.

With the VideoTexture object introduced in Flash Player 15 Beta, the decode, conversion from YUV to RGB, and texture loading can be completely moved to the GPU.  The textures provided by the VideoTexture object can be used as rectangular, RGB, no mipmap textures in rendering of a Stage3D scene; and can be treated as ARGB texture by the shaders (i.e., the AGAL shaders do not need to provide YUV->RGB conversion).  Thus, standard shaders used with static images can also be used without providing a functionality for YUV-> RGB conversion.

Continue reading…

Adobe AIR 2.7 Now Available: iOS apps 4x Faster!

Adobe is pleased to announce the availability of Adobe AIR 2.7 SDK and the Adobe AIR 2.7 runtimes.   Adobe AIR 2.7 includes new features for both desktop and mobile applications with mobile support for Android 2.2+, BlackBerry Tablet OS and iOS 4+ operating systems.  Companies can build and deploy AIR 2.7 apps using Adobe Flash Builder 4.5 with an upcoming update to AIR 2.7 later this month. (BlackBerry Tablet OS is scheduled to receive an OTA (over the air) update of AIR 2.7 by the end of June.)

New AIR 2.7 Features

Mobile

Enhanced rendering for iOS: AIR apps for iOS render up to 4x faster in CPU mode.  This change will improve the performance of many AIR for iOS apps, including those built with the Flex framework.  Watch the performance improvements

Video: Adobe AIR 2.7: Faster App Performance on iOS  (Renaun Erickson, Adobe Flash Platform Evangelist, demonstrates faster AIR 2.7 app performance on iPad)

 

Faster development time for iOS applications: Developers can now debug and build iOS applications faster than with previous versions using a new mode available within the AIR Developer Tool (ADT). During the development of an application, developers can now choose to use “interpreter mode” to streamline the testing and debugging development cycle.

AIR installation on SD cards for Android devices: This feature allows end users to install or move the AIR runtime onto the SD cards within their Android devices so they can free up storage space on the phone.

Desktop

Integrated support for Media Measurement:  The Adobe AIR 2.7 runtime now includes the same built-in support for media measurement as Adobe Flash Player 10.3, allowing companies to simplify the collection of real-time, aggregated reporting data for how content is distributed and viewed by users. With direct support for Adobe SiteCatalyst, powered by Omniture, developers can implement video analytics for existing or legacy video players with as little as two lines of code. For additional information, see the article on measuring video consumption in Flash.

Acoustic echo cancellation: With integrated support for acoustic echo cancellation, developers can now add real-time VoIP capabilities to games, enterprise, and other types of applications without requiring users to wear a noise-canceling headset. Users can now chat using the speaker built into their desktop or laptop computer. This new capability is also available in Flash Player 10.3.

Navigation Improvements for HTML Content: Enables seamless weblink-style navigation within desktop apps such as magazine viewers and ebook readers.  Developers can now respond to a new event to be notified when content within the HTMLLoader control attempts to change the location of a page. This enhancement provides developers with a better way to implement intra-application navigation.

For additional feature and release details please read the AIR 2.7 developer release notes.

New AIR apps for Android, iOS and BlackBerry Tablet OS

Although these apps are not currently using AIR 2.7, I thought I’d call to your attention to a few new apps based on Adobe AIR that recently hit the market.

iOS (iPad)

Rossignol Experience: Ski season is coming to a close, but this fantastic app from this famous ski maker provides a rich interactive branded experience to learn more about Rossignal skis. Video demo.

BlackBerry Tablet OS (BlackBerry PlayBook)

Comb Over Charlie: Comb Over Charlie was availble on the Android Market using AIR.  This game is now available on the BlackBerry PlayBook.  Soon to be on the iPad.  4.5 out of 5 stars!

Android

G20-G8: This is the official app of the French Presidency of the G20 and the G8.  Get real time updates and access to all the latest developments from the Summits and the preparatory meetings, as well as video reports and photos on the G20-G8 website.

Performance Improvements

Finally, performance improves with each release of AIR and the Flash Player.  If you checked out the AIR 2.7 on iOS video, you can really see the difference.  If you missed it earlier, here are a few Flash Player 10.3 on mobile related performance resources to check out.

Video: Enhanced Video Performance with Flash Player 10.3 on Android 3.1 (Renaun Erickson demos Flash Player 10.3 video on the Motorola Xoom)

 

Performance Tests

GUIMark3 by Sean Christmann –  Sean tests Flash Player and HTML5 on various phones and tablets.  Check it out.

“In terms of interactive content overall, it’s safe to say Flash maintains a 2x performance lead over HTML5 on average”

“The Flash VM performs really well on mobile chipsets and I don’t see any evidence here to support the idea that Flash is slow on smartphones and tablets.”

The Right Fit? Video Playback Performance on Android Handset and Tablet Devices Using Adobe Flash Player 10.2 and 10.3 By Tim Siglin. – Tim Siglin from Transition Inc., and Streaming Media fame recently published a follow up to his previous white paper testing Flash Player video performance.

“Our current testing finds that FP 10.2 on handsets and 10.3 on the Xoom: Provide a more consistent media consumption than Android’s built-in apps and services.

Download the Adobe AIR 2.7 SDK

Adobe AIR 2.6 SDK now available with enhanced iOS support!

Adobe is pleased to announce the availability of the Adobe® AIR® 2.6 SDK and AIR® 2.6 desktop runtimes for Windows, Mac and Linux. With AIR 2.6, AIR achieves feature parity for Android and iOS platforms. This new release provides major performance and feature enhancements for iOS (iPhone, iPod Touch, iPad) app development as well as updates for Android and desktop app development.

The AIR 2.6 for Android runtime was released on February 25, 2011, to the Android Market to support the Content Viewer for Android and announcement of Adobe® Digital Publishing Suite , and new Android tablets running on Android 3.0. Currently over 1,900 AIR applications for Android are available in the Android Market.

“Adobe AIR 2.6 enables me to develop once and publish across multiple platforms. There are slight tweaks required for each platform (Android vs iOS) but we’re talking about a few minutes not weeks. The majority of the optimizations revolve around screen sizes which would be an issue regardless of the development tool. If I were targeting Android and iOS natively vs Adobe AIR I would expect my costs to be at least 80% higher; and much closer to 100 – 150% higher should maintenance and updates be required for each platform.”

-Charlie Schulze, President and co-founder, Woven Interactive, LLC

Video: Watch Charlie Schulze’s demo of “Comb Over Charlie” a multiscreen app (Android and iOS smartphones, tablets and Windows laptop) developed using AIR.

New Features in AIR 2.6 for iOS and Android

AIR for iOS (iPhone, iPod Touch, iPad)

“I’m now getting 60 fps on an iPhone 3GS, it’s smoother than Packager for iPhone too!”

-Kevin Newman, Senior Developer, adcSTUDIO

“My project uses things like vector graphics, blend modes, and filters. In the past, many effects needed to be removed or altered for iOS to achieve decent performance. This gargantuan improvement means that I can now use the same project to target both iOS and Android. It’s likely to save me many hours of time previously spent on optimization.”

-Josh Tynjala, Founder, Bowler Hat Games

  • Updated AIR for iOS support with improved performance. Developers can take advantage of new features in iOS 4 like multitasking, Retina display support for higher screen resolutions, and front and back camera support. Developers can now build applications that capture audio with microphone support and take advantage of the same graphics hardware method used in AIR for Android using OpenGL ES 2 for high performance graphics.
  • Packager for iPhone (PFI) is now replaced with functionality integrated with AIR Developer Tool (ADT) a command-line tool for compiling applications in the AIR SDK. ADT can now be used to package AIR files, native desktop installers, AIR applications for Android and iOS.

Video: Learn more about what’s new in AIR 2.6 for iOS in this short video with Ryan Stewart, Senior Technical Evangelist.

AIR for Android

“I was blown away with how much AIR has grown in API support for Android and iOS as well as the improvements in speed. This is just amazing.”

-Boz Bundalo, Creative Director / Chief Technology Officer, Republic Project

  • Submit apps to be included in the Amazon Appstore for Android when the store launches.  Companies now have an additional distribution option with one of the largest online shopping destinations on the web. Learn more in Christian Cantrell’s blog post “AIR 2.6 Applications and the Amazon Appstore for Android”.
  • USB debugging was added as an additional debugging option to WiFi. Learn more about AIR 2.6 features for mobile and desktop please read Scott Castle’s article“What’s new in AIR 2.6″.

Links and Resources

Video: Learn more about the business benefits of deploying Adobe AIR apps for a wide range of devices such as smartphones, tablets, TVs and desktop with Ryan Stewart.

Learn more about selling your apps in the Amazon Appstore Developer Portal.

Downloads: AIR 2.6 SDK and AIR 2.6 Desktop Runtime

Building Rich Apps For Smart Phones and Tablet Devices Using Adobe AIR

Adobe evangelist Christophe Coenraets recently made available an extremely helpful tutorial called Flex for Android in 90 minutes (.pdf). In around 90 minutes, you will learn how to build an Android application using Adobe AIR, Flex Mobile and the Flash Builder "Burrito" preview release.

The tutorial covers a number of important topics including how to create a basic mobile application, using mobile item renderers, navigating and passing information between views, creating an action bar, integrating with the device capabilities (dialer, SMS, email), using a RemoteObject, and using a local SQLite database. To get started, you will need to first download the Flash Builder Burrito release from Adobe Labs.

Below is a summary of the material covered directly from the document:

In this tutorial, you use Flash Builder "Burrito" and Flex "Hero" to build a simple, yet fully functional employee directory application for Android devices. "Burrito" is the code name for the next version of Flash Builder, and "Hero" is the code name for the next version of the Flex SDK. You don’t need an Android device to complete this tutorial: you can use the simple emulator available in Flash Builder Burrito to run and debug the application. The Employee Directory application allows you to: search for employees, view employee details, navigate up and down the org chart, and call, text, and email employees.

Of course, Christophe is known for pushing the limits. With the recent beta 2 release of the BlackBerry Tablet OS SDK for Adobe AIR, Christophe decided to see just how difficult it would be to port his Android application to the BlackBerry Playbook. How difficult was it?

"It turned out to be amazingly simple: I was able to run the application without changing a line of code, with a great and consistent deployment experience: You select the target platform, hit the run button, and the app is packaged, deployed, and started on the device you selected."

Below is a video demonstration by Christophe showing the application running on a Google Nexus One, Samsung Galaxy Tab and the BlackBerry Playbook Emulator.

Our team is fully focused on making it as easy as possible for developers to target applications that can run across different devices from desktop computers to smart phones to tablet devices and televisions. If you are building an application and would like to let us know about it, please leave us a comment!

Related Links:

MAX Session Highlight: Introduction to Adobe AIR for Mobile

In the coming weeks, I plan to spotlight several sessions from our recent Adobe MAX conference that cover the latest developments surrounding Adobe AIR.

In my first blog post in this series, I would like to encourage developers to watch the session "Introduction to Adobe AIR for Mobile" by Arno Gourdol, director of engineering for AIR. In this talk, Arno covers AIR support for the BlackBerry PlayBook, Android OS and iOS devices.

 

MAX Session Spotlight: Developing Well-Behaved Android Applications using Adobe AIR

Last week I caught up with David Knight, a developer on the Adobe AIR team, and Renaun Erickson, a platform evangelist at Adobe, to discuss their upcoming performance talk at Adobe MAX. The talk, titled "Developing Well-Behaved Android Applications using Adobe AIR", will cover a number of important topics related to how you can optimize your applications for mobile with a special focus on Android and iOS devices.

For those developers planning on attending Adobe MAX, be sure to add this session to your schedule. David and Renaun’s talk will be on Tuesday, October, 26th, from 4:30PM – 5:30PM.

Also, I am often asked where developers can find additional information from Adobe on how to optimize mobile applications. One excellent resource is the Optimizing Performance for the Flash Platform guide from our documentation team. It covers a number of critical topics related to performance including:

  • Conserving memory
  • Minimizing CPU usage
  • ActionScript 3.0 performance
  • Rendering performance
  • Optimizing network interaction
  • Working with media
  • SQL database performance
  • Benchmarking and deploying

Posted By: Rob Christensen, Senior Product Manager, Adobe AIR

Adobe AIR Launchpad accelerates app development

Several weeks back, Adobe evangelist Greg Wilson and Flex guru Holly Schinsky demonstrated an early prototype of an application called Adobe AIR Launchpad that they were planning to release publicly. Launchpad, built using Adobe AIR, was designed to significantly reduce the time to development new AIR apps by generating useful code snippets common to many AIR applications.

For example, Launchpad allows you to set whether:

  • the default application window is centered
  • the default application window can be resized, minimized or maximized
  • the application supports automatic updating
  • the application detects network status changes
  • the application uses a default preferences file
  • the application uses native menus

In addition, you can add optional code snippets to your project to help get you started including sample code for:

  • Drag and drop
  • Local database
  • Displaying PDFs
  • Sockets
  • Clipboard access
  • Native process
  • Detecting mass storage devices

Just a few weeks later, Greg announced on his blog that the application was available for download. Once you complete the application wizard and generate your code, a project file will be created that includes all the necessary files to build your customized AIR app. This project can then be imported into Flash Builder.

Note that LaunchPad currently does not support HTML/JavaScript. If you would like to see this application enhanced to support HTML/JavaScript, AIR for Android or anything else, please leave a note on Greg’s blog post.

In addition, James Ward, enterprise evangelist at Adobe, recorded an excellent overview of Launchpad:

Related posts:

This is a very exciting concept and I look forward to seeing your feedback and seeing how Launchpad evolves over time. Hopefully it will help make many of you more efficient when you are starting the development of a new AIR application. Congratulations to Greg and Holly for building this out in record time!

Vimeo Uploader Makes Uploading Movies a Breeze

Vimeo is a popular online video community due to its support for high-quality video playback, beautiful and easy-to-use site design and social networking features. Needless to say, I was thrilled to discover that Vimeo built a powerful uploading tool powered by Adobe AIR. There are a number of online services today that rely on AIR for uploading content including Photoshop.com.

The Vimeo desktop uploader allows users to:

  • Upload multiple files
  • Batch edit video info and privacy
  • Pause & resume an upload
  • Reliably upload large video files up to 1GB and beyond

Below is a tutorial recorded by a member of the Vimeo community that demonstrates how the uploading tool works.

Congratulations to the team at Vimeo for building an extremely useful tool!

Writing a Secure Plugin Architecture for AIR Applications

If you’ve ever wondered about plugins for AIR applications, I just published a article called Extending AIR Applications With Plugins which hopefully should answer most of your questions.

The trick to writing a plugin architecture for AIR applications isn’t really so much plugin management (installing, loading, deleting, etc.) as it is plugin security. Plugins that are privileged enough to be really powerful also have enough power to be potentially dangerous, so before an end user installs one, he or she needs to know not only who wrote it, but also that the plugin wasn’t somehow modified prior to installation. That’s where code signing and validation come in.

The sample plugin architecture I wrote addresses both plugin management and security. The article contains plenty of background on plugin security as well as sample code for an application called "Pluggable SearchCentral" which you can see in action below:

For more on how to write your own secure plugin architecture, see Extending AIR Applications With Plugins.

Design Your Own Toys With Printies

Printies is a new craft toy from Techno Source that allows kids to be the toy designer. Using a very simple creative design tool powered by Adobe AIR, you can create your own stuffed character and print it to a pre-sewn, 100% cotton sheet. Once the design is printed, you fill your design with stuffing and you are done. For a video tutorial, check out the Printies website.

printies2.png