From c8754f3479ce7c6354c3b04a1f5e3db0ecee95bf Mon Sep 17 00:00:00 2001 From: Roman Nurik Date: Wed, 6 Apr 2011 14:52:00 -0700 Subject: Add moov/mdat and 500KB max A/V drift recommendations to Supported Media Formats doc. Also reformat encoding parameter recommendations into a single table. Change-Id: I2a1a4b31fe546eddfb8d6e8b8ab5f4a3900734d4 --- docs/html/guide/appendix/media-formats.jd | 132 +++++++++++++----------------- 1 file changed, 57 insertions(+), 75 deletions(-) diff --git a/docs/html/guide/appendix/media-formats.jd b/docs/html/guide/appendix/media-formats.jd index 7f77b5f97c29..e128a1cc0347 100644 --- a/docs/html/guide/appendix/media-formats.jd +++ b/docs/html/guide/appendix/media-formats.jd @@ -50,6 +50,8 @@ page.title=Android Supported Media Formats

Note: Media codecs that are not guaranteed to be available on all Android platform versions are accordingly noted in parentheses—for example "(Android 3.0+)".

+

Table 1. Core media format and codec support.

+ @@ -218,81 +220,61 @@ no dither applied for 24-bit.

Video Encoding Recommendations

-

Below are examples of video encoding profiles and parameters that the Android media framework supports for playback.

+

Table 2, below, lists examples of video encoding profiles and parameters that the Android media framework supports for playback. 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 {@link android.media.CamcorderProfile CamcorderProfile} class, which is available since API level 8.

+ +

Table 2. Examples of supported video encoding parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Lower qualityHigher quality
Video codecH.264 Baseline Profile + H.264 Baseline Profile +
Video resolution176 x 144 px + 480 x 360 px +
Video frame rate12 fps + 30 fps +
Video bitrate56 Kbps + 500 Kbps +
Audio codecAAC-LC + AAC-LC +
Audio channels1 (mono) + 2 (stereo) +
Audio bitrate24 Kbps + 128 Kbps +
+ +

For video content that is streamed over HTTP or RTSP, there are additional requirements:

- -

In addition to the encoding parameters above, a device's available video recording profiles can be used as a proxy for media playback capabilities. These profiles can be inspected using the {@link android.media.CamcorderProfile CamcorderProfile} class, which is available since API level 8.

-- cgit v1.2.3-59-g8ed1b