android Supported Media Formats

本文档介绍了Android平台提供的媒体编解码器、容器及网络协议支持。包括RTSP、HTTP/HTTPS流媒体播放支持,以及MPEG-2 TS媒体文件协议版本。支持的音频格式有AAC、HE-AAC等;图像格式支持JPEG、GIF等;视频格式支持H.263、H.264 AVC等。并提供了H.264 Baseline Profile和VP8编解码器的视频编码参数示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 resolution 176 x 144 px 480 x 360 px 1280 x 720 px
Video frame rate 12 fps 30 fps 30 fps
Video bitrate 56 Kbps 500 Kbps 2 Mbps
Audio codec AAC-LC AAC-LC AAC-LC
Audio channels 1 (mono) 2 (stereo) 2 (stereo)
Audio bitrate 24 Kbps 128 Kbps 192 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 resolution 320 x 180 px 640 x 360 px 1280 x 720 px 1920 x 1080 px
Video frame rate 30 fps 30 fps 30 fps 30 fps
Video bitrate 800 Kbps 2 Mbps 4 Mbps 10 Mbps
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值