13.08.2012 Views

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ACTIONSCRIPT</strong> 3.0 DEVELOPER’S GUIDE<br />

Working with video<br />

Keyframe A video frame which contains the full information for the frame. Other frames that follow a keyframe only<br />

contain information about how they differ from the keyframe, rather than containing the full frame’s worth of<br />

information.<br />

Metadata Information about a video file that is embedded within the video file and retrieved wh<strong>en</strong> the video has<br />

loaded.<br />

Progressive download Wh<strong>en</strong> a video file is delivered from a standard web server, the video data is loaded using<br />

progressive download, meaning the video information loads in sequ<strong>en</strong>ce. This has the b<strong>en</strong>efit that the video can begin<br />

playing before the <strong>en</strong>tire file is downloaded; however, it prev<strong>en</strong>ts you from jumping ahead to a part of the video that<br />

hasn’t loaded.<br />

Streaming As an alternative to progressive download, a special video server can be used to deliver video over the<br />

Internet using a technique known as streaming (sometimes called “true streaming”). With streaming, the viewer’s<br />

computer never downloads the <strong>en</strong>tire video at one time. To speed up download times, at any mom<strong>en</strong>t the computer<br />

only needs a portion of the total video information. Because a special server controls the delivery of the video cont<strong>en</strong>t,<br />

any part of the video can be accessed at any time, rather than needing to wait for it to download before accessing it.<br />

Understanding video formats<br />

Flash Player 9 and later, Adobe AIR 1.0 and later<br />

In addition to the Adobe FLV video format, Flash Player and Adobe AIR support video and audio <strong>en</strong>coded in H.264<br />

and HE-AAC from within MPEG-4 standard file formats. These formats stream high quality video at lower bit rates.<br />

Developers can leverage industry standard tools, including Adobe Premiere Pro and Adobe After Effects, to create and<br />

deliver compelling video cont<strong>en</strong>t.<br />

Type Format Container<br />

Video H.264 MPEG-4: MP4, M4V, F4V, 3GPP<br />

Video Sor<strong>en</strong>son Spark FLV file<br />

Video ON2 VP6 FLV file<br />

Audio AAC+ / HE-AAC / AAC v1 / AAC v2 MPEG-4:MP4, M4V, F4V, 3GPP<br />

Audio Mp3 Mp3<br />

Audio Nellymoser FLV file<br />

Audio Speex FLV file<br />

More Help topics<br />

Flash Media Server: Supported codecs<br />

Adobe HTTP Dynamic Streaming<br />

Encoding video for mobile devices<br />

AIR on Android can decode a wide range of H.264 videos. However, only a small subset of H.264 videos is suited to<br />

have a smooth playback on mobile phones. It is because many mobile phones are constrained for processing power.<br />

Adobe Flash Player for mobile can decode H.264 videos using in-built hardware acceleration. This decoding assures<br />

better quality at lower power consumption.<br />

Last updated 6/6/2012<br />

475

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!