android Supported Media Formats

来源:互联网 发布:马来语翻译软件 编辑:程序博客网 时间:2024/05/29 14:23

This document describes the media codec, container, and network protocol support provided by the Android platform.

The following network protocols are supported for audio and video playback:

  • RTSP (RTP, SDP)
  • HTTP/HTTPS progressive streaming
  • HTTP/HTTPS live streaming draft protocol:
    • MPEG-2 TS media files only
    • Protocol version 3 (Android 4.0 and above)
    • Protocol version 2 (Android 3.x)
    • Not supported before Android 3.0

Note: HTTPS is not supported before Android 3.1.

> Android platform versions for Core media format and codec support
Audio: AAC LC;HE-AACv1 (AAC+);HE-AACv2 (enhanced AAC+);AAC ELD (enhanced low delay AAC);AMR-NB;AMR-WB;FLAC;MP3;MIDI;Vorbis;PCM/WAVE;Opus
Image: JPEG;GIF;PNG;BMP;WebP
Video: H.263;H.264 AVC;H.265 HEVC;MPEG-4 SP;VP8:VP9

Table 2. Examples of supported video encoding parameters for the H.264 Baseline Profile codec.

 SD (Low quality)SD (High quality)HD 720p (N/A on all devices)Video resolution176 x 144 px480 x 360 px1280 x 720 pxVideo frame rate12 fps30 fps30 fpsVideo bitrate56 Kbps500 Kbps2 MbpsAudio codecAAC-LCAAC-LCAAC-LCAudio channels1 (mono)2 (stereo)2 (stereo)Audio bitrate24 Kbps128 Kbps192 Kbps

Table 3. Examples of supported video encoding parameters for the VP8 codec.

 SD (Low quality)SD (High quality)HD 720p (N/A on all devices)HD 1080p (N/A on all devices)Video resolution320 x 180 px640 x 360 px1280 x 720 px1920 x 1080 pxVideo frame rate30 fps30 fps30 fps30 fpsVideo bitrate800 Kbps2 Mbps4 Mbps10 Mbps
0 0
原创粉丝点击