H.264 soon to be supported by Flash Player

Adobe Labs has recently posted a beta release of the Flash Player 9 Update ( http://labs.adobe.com/technologies/flashplayer9/ ) that added a number of significant enhancements to the Flash player. One of which is the support for H.264 video. That means there are now 3 options to encode video: Sorenson Spark (H.263), On2VP6 and H.264. I did a quick test by renaming a 3gp file into flv and set it as the content path for use with the flash video component. And the video played properly in the browser. When I tried the NetStream object, it could even play the mp4 files without having to have the file extension changed. Nice.

As it is so new and video formats and spec are so confusing, I think there is a lot of reading for me ahead.

Advertisements

~ by brianchau on August 22, 2007.

2 Responses to “H.264 soon to be supported by Flash Player”

  1. Can you send me the embed you used to play the mp4 file? I am having some trouble. Thanks!

  2. Tom, you can try the following code to play a mp4 file:

    var nc:NetConnection = new NetConnection();
    nc.connect(null);

    var ns:NetStream = new NetStream(nc);
    ns.play(“your_video.mp4”);

    my_video.attachNetStream(ns); // my_video is the instance name of the video object.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: