Core Media Formats
________________________________________
The table below describes the media format support built into the Android platform. Note that any given mobile device may provide support for additional formats or file types not listed in the table.
Note: Media codecs(編碼解碼器codec的複數) that are not guaranteed(有保證的;擔保) to be available on all Android platform versions are accordingly(因此,相應地) noted in parentheses(parenthesis的複數形式括弧,圓括弧)—for example "(Android 3.0+)".
Table 1. Core media format and codec support.
接:
接:
Video Encoding Recommendations(recommendation的複數形式.推薦,推薦規範)
________________________________________
Table 2, below, lists examples of video encoding profiles and parameters that the Android media framework supports for playback(回放,播放) in the H.264 Baseline Profile codec. While table 3 lists examples that the framework supports for playback in the VP8 media
codec.
In addition to(除..之外) these encoding parameter recommendations, a device's available video recording profiles can be used as a proxy(代理人,代用品) for media playback capabilities(能力,功能). These profiles(設定檔) can be inspected(調查,檢查) using the CamcorderProfileclass,
which is available since API level 8.
Table 2. Examples of supported video encoding parameters for the H.264 Baseline Profile codec.
Table 3. Examples of supported video encoding parameters for the VP8 codec.
For video content that is streamed (流)over HTTP or RTSP, there are additional requirements:
• For 3GPP and MPEG-4 containers, the moov atom must precede any mdat atoms, but must succeed the ftyp atom.
• For 3GPP, MPEG-4, and WebM containers, audio and video samples corresponding to the same time offset may be no more than 500 KB apart. To minimize this audio/video drift, consider interleaving audio and video in smaller chunk sizes.