Flash CS4 Resources
Understanding video formats
In addition to the Adobe FLV video format, Flash Player and Adobe AIR support video and audio encoded in H.264 and HE-AAC from within MPEG-4 standard file formats. These formats stream high quality video at lower bit rates. Developers can leverage industry standard tools, including Adobe Premiere Pro and Adobe After Effects, to create and deliver compelling video content.
Flash Player and AIR compatibility with encoded video files
Flash Player 7 supports FLV files that are encoded with the Sorenson™ Spark™ video codec. Flash Player 8 supports FLV files encoded with Sorenson Spark or On2 VP6 encoder in Flash Professional 8. The On2 VP6 video codec supports an alpha channel.
Flash Player 18.104.22.168 and later versions support files derived from the standard MPEG-4 container format. These files include F4V, MP4, M4A, MOV, MP4V, 3GP, and 3G2, if they contain H.264 video or HE-AAC v2 encoded audio, or both. H.264 delivers higher quality video at lower bit rates when compared to the same encoding profile in Sorenson or On2. HE-AAC v2 is an extension of AAC, a standard audio format defined in the MPEG-4 video standard. HE-AAC v2 uses spectral band replication (SBR) and parametric stereo (PS) techniques to increase coding efficiency at low bit rates.
The following table lists the supported codecs. It also shows the corresponding SWF file format and the versions of Flash Player and AIR that are required to play them:
Understanding the Adobe F4V and FLV video file formats
Adobe provides the F4V and FLV video file formats for streaming content to Flash Player and AIR. For a complete description of these video file formats, see www.adobe.com/go/video_file_format.
The F4V video file format
Beginning with Flash Player Update 3 (22.214.171.124) and AIR 1.0, Flash Player and AIR support the Adobe F4V video format, which is based on the ISO MP4 format, Subsets of the format support different features. Flash Player expects a valid F4V file to begin with one of the following top-level boxes:
F4V files support multibyte integers in big-endian byte order, in which the most significant byte occurs first, at the lowest address.
The FLV video file format
The Adobe FLV file format contains encoded audio and video data for delivery by Flash Player. You can use an encoder, such as Adobe Media Encoder or Sorenson™ Squeeze, to convert a QuickTime or Windows Media video file to an FLV file.
Note: You can create FLV files by importing video into Flash and exporting it as an FLV file. You can use the FLV Export plug-in to export FLV files from supported video-editing applications. To load FLV files from a web server, register the filename extension and MIME type with your web server. Check your web server documentation. The MIME type for FLV files is video/x-flv. For more information, see About configuring FLV files for hosting on a server.
For more information on FLV files, see Advanced topics for FLV files.
External vs embedded video
Using external video files provides certain capabilities that are not available when you use imported video: