Vector Wars Update: HD Video for Flash9 and Silverlight



Flash Performance and HD (H.264) Video Progress

Fast performance is needed for good video combined with interactivity especially. Quickly comparing AS2 to AS3 shows that AS3 and the AVM2 virtual machine in Flash9 is much faster. If you are combining Flash and video especially when it is time to go HD, you will need performance.

Compare AS2 to AS3 rendering: AS2 & AS3 Note the as2 item only has 10000 pixel operations, the as3 item has 50,000 and is considerably more usable, in fact the AS2 version isn’t usable since it is slow. [source] This is a good test because it checks the movement of every pixel on the screen which leads me to video performance.

Flash HD in the FLV format is pretty nice looking today in Flash9 with AS3. But to keep up there are more formats and a move to support H.264/MPEG-4 AVC I am sure for online TV/Movie market.

The reason to bring up performance and video is because the video battle on the web is heating up even more between Adobe and Microsoft with Flash Video and Silverlight Video. The recent released info regarding HD on Flash is to combat Silverlight HD video that is looking pretty good.

Silverlight Performance and HD Video VC-1

View this Halo 3 video in Silverlight HD:

View it->

Recently Silverlight came out last week officially on Wednesday, really the 1.0 release is just a video and javascript release but when you view the videos below you will see that they have a short coup de tat on Flash video at the moment in terms of HD quality video.

Silverlight also has been pushing TV on the internet. See these samples that are actual TV on web pages already using Silverlight.

  1. Home Shopping Network Online
  2. ET Emmy’s coverage
  3. They also have WWE and MLB.com baseball already using Silverlight video.
  4. Netflix online video uses Silverlight

Flash video is cool and you can do great fun things like neave.tv (flash 8) and high definition FLV video in flash9 with AS3 and on occasion AS2 if it is just video with full screen flash but when you are talking TV and movie quality, it is still up for grabs but both are looking good especially Silverlight and that Halo 3 video.

Flash video is updating to H.264

Tinic Uro reports the beta player of flash that has HD now. Currently the FLV format is the web leader (you tube, Google video) but is not as good quality as Silverlight until they update to H.264 at least in terms of standards video. This is probably 6 months off?

Video literally changed in the internet in the last two weeks with the Flash announcements and Silverlight launching. I am surprised at Silverlight’s adoption rate and partnerships so far with the 1.0 offering which lacks many programming tools, but I see why on the video front why they did it. When 1.1 comes out it has all the programmer toys, and it will attract a lot of attention I think. It is all about performance and HD video right now.

Yes yes… Quicktime has done HD/H.264 video for a while but Quicktime is just a video format really, it will be able to be used in the new flash video as well as other formats but it doesn’t have the interactive platform behind it like Flash and Silverlight have.

The difference is the choice of format and standards. Silverlight with VC-1 and Flash going to H.264 codec. They are largely competing standards that are both “HD”.

The good news is we have competition to bring really high quality video to the web, the mashups with HD video in interactive games, demos, advertising etc will be very fun.

Advertisements

Flash9 AS3 Market Now At 91% Penetration Availability

Adobe released the numbers on Flash9/AS3 capabilities/penetration of the market and AS3 is now even more ready for primetime at 91%.

AS3 and the new Flash9 virtual machine AVM2 is ready to be used and performance gained from it. When you develop AS2 in Flash9 it uses the older, clunkier AVM1, this does not give the performance benefit that using AS3 and the new virtual machine will give you.

Currently AS3 apps are about 6-10 times faster than the AS3 counterparts. Also, AS2 code and the community is drying up and moving to AS3 where it is much more capable and ready for better performance of things like pseudo 3d engines like papervision, sandy and away3d and it can handle all types of binary manipulation and sockets that lead to very coo apps like emulators, pdf creators, compression tools, and of course with more performance, better games and more room for more content.

Flash9 AS3 penetration as of June 1, 2007:

Flash Player 6 Flash Player 7 Flash Player 8 Flash Player 9
Mature Markets1 99.3% 99.3% 98.5% 90.3%
US/Canada 99.4% 99.4% 98.7% 90.5%
Europe2 99.3% 99.1% 98.2% 90.5%
Japan 99.8% 99.8% 99.0% 89.8%
Emerging Markets3 97.7% 97.6% 94.4% 89.4%

[source]

This is as of June, it is September and most likely due to their projections that we are at 92% which is almost critical mass.

But ok, cmon, is it really worth it in performance?

Well back in late 2006 Carlos Ulloa did some early benchmarking which you can see here. As it turns out AS3 versions of the same effect from AS2 are at minimum 6-20 times faster. What can you do creatively with that much more power?

AS2 & AS3 Versions of the star test to compare AS2 to AS3 so you can judge for yourself [source]

My recommendation, get your AS3 learn on. See what BIG SPACESHIP thinks of AS3 here. Big Spaceship just recently got added to thefwa’s hall of fame – one of three agencies all time.

For future reuse of code and knowledge and to get the most performance out of our creative projects, it is the best option NOW. Your competitors are moving to it and already making more compelling offerings, how long are you going to hack it with just AS2 skills?

A good place to start learning is at kirupa and the senocular posts.

The trajectory of the flash player penetration should complete to around 95-96% by teh end of the year judging by the current player and flash 8 penetration trajectory, Flash9 has gone from 85% to 91% in 3 months, it slows down to about 2% a month once it hits 90% until a critical mass of around 98% for each player. Essentially by 2008 everyone should have moved on to AS3, if you haven’t, well…

AS3 Content Aware Resizing or Image Seam Carving