it's well known that the H. 264 and aac decoding has been supported by the new Flash Player 9 update 3 (9.0.115), which may mean a whole new era for high-definition video to begin. in order to witness the great power of new flash player, I did some experiments on H. 264 encoding and compared their results with the traditional FLV videos (a variant of H.263 ). generally speaking, the comparing result Is really impressive: Both videos of FLV and H. 264 (within an encapsulated form. MP4) cocould be progressively downloaded and played online. with some fine-tuning of the H. 264 encoding parameters, it's possible to shrink the video size by half and while at the same time to gain equivalent or even much better graphical quality than the FLV one! really awesome, isn' t it? :)
Below is one of my prelimentary tests, a 9.8 MB demo for Starcraft 2. as you can see, the quality of this H. 264 video is practically quite close to a FLV equivalent with a fairly high bit-rate of 1200 kbps, but in the matter of fact, its average bit-rate has only 550 kbps, which cocould be affordable for most of the typical users on Internet I think.
Get the Flash Player (9.0.115 or above) to see this video.
At the end of this article I packed up some troubles that I 'd counted before, and I also provided their answers for convenience. Hope that they may also be useful for you.
= Concise F. A. Q for working with H.264 in Flash Player =
Q:Why can't I play the demo in my browser !?
A:Adobe Flash Player 9 update 3 (9.0.115 or abve) and related plug-in are required. plz refer to here for further information.
Q:How can I encode my video clips with H.264 codec?
A:X264 is my personal favors to do that job. It's open-source and totally free.
Q:How can I place the H.264 video clips in my web pages?
A:You'll need some flash video player and embed them in your page just like a normal. SWF object. as far as I know, there are 3 typical online players to choose: vcastr (light-weight), JW FLV player (moderate) and flowplayer (Comprehensive ). they're all free. you can also use the swfobject library to facilitate the configuration of these embedded players.
q: Why is my progressive H. 264 video not playing in the player until entire file is downloaded?
A: one important thing about playing an H. 264 video file as progressive download is that the moov atom for indexing needs to be located at the beginning of the file, or else the entire file will have to be downloaded before it begins playing. unfortunately, tools such as FFMPEG place this information at the end of the file by default. you shoshould use QT-faststart to fix this annoying problem.