Atitit. 软件---多媒体区---- jmf 2.1.1 Java Media Framework 支持的格式
JMF,全名为Java Media Framework,它可以在java applet和application中使用音频,视频或者其他基于时间的多媒体。JMF所支持的多媒体格式如下:AIFF(.aiff),AVI(.avi),GSM(.gsm),HotMedia(.mvr),MID(.mid),MPEG-1(.mpg)(即常见的VCD文件),MPEG-2(.mp2)(即常见的DVD文件),QuickTime(.mov),Sun Audio(.au),Wave(.wav);JMF对RTSP(Real Time Streaming Protocol实时流控制协议)的支持:RTSP也是最近才加到JMF中的,它可以使得基于JMF的客户端通过RTSP与服务器交互,请求获取媒体的数据流
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:[email protected]
转载请注明来源: http://blog.csdn.net/attilax
This page lists the media formats supported in the JMF 2.1.1 FCS implementation, the RTP formats this implementation can receive and transmit, and the capture devices that it supports.
Supported Media Formats |
JMF supports audio sample rates from 8KHz to 48KHz. Note that cross-platform version of JMF only supports the following rates: 8, 11.025, 11.127, 16, 22.05, 22.254, 32, 44.1, and 48 KHz.
The JMF 2.1.1 Reference Implementation supports the media types and formats listed in the table below. In this table:
· D indicates the format can be decoded and presented.
· E indicates the media stream can be encoded in the format.
· read indicates the media type can be used as input (read from a file)
· write indicates the media type can be generated as output (written to a file)
Media Type |
JMF 2.1.1 |
JMF 2.1.1 |
JMF 2.1.1 |
AIFF (.aiff) |
read/write |
read/write |
read/write |
8-bit mono/stereo linear |
D,E |
D,E |
D,E |
16-bit mono/stereo linear |
D,E |
D,E |
D,E |
G.711 (U-law) |
D,E |
D,E |
D,E |
A-law |
D |
D |
D |
IMA4 ADPCM |
D,E |
D,E |
D,E |
AVI (.avi) |
read/write |
read/write |
read/write |
Audio: 8-bit mono/stereo linear |
D,E |
D,E |
D,E |
Audio: 16-bit mono/stereo linear |
D,E |
D,E |
D,E |
Audio: DVI ADPCM compressed |
D,E |
D,E |
D,E |
Audio: G.711 (U-law) |
D,E |
D,E |
D,E |
Audio: A-law |
D |
D |
D |
Audio: GSM mono |
D,E |
D,E |
D,E |
Audio: ACM** |
- |
- |
D,E |
Video: Cinepak |
D |
D,E |
D |
Video: MJPEG (422) |
D |
D,E |
D,E |
Video: RGB |
D,E |
D,E |
D,E |
Video: YUV |
D,E |
D,E |
D,E |
Video: VCM** |
- |
- |
D,E |
GSM (.gsm) |
read/write |
read/write |
read/write |
GSM mono audio |
D,E |
D,E |
D,E |
HotMedia (.mvr) |
read only |
read only |
read only |
IBM HotMedia |
D |
D |
D |
MIDI (.mid) |
read only |
read only |
read only |
Type 1 & 2 MIDI |
- |
D |
D |
MPEG-1 Video (.mpg) |
- |
read only |
read only |
Multiplexed System stream |
- |
D |
D |
Video-only stream |
- |
D |
D |
MPEG Layer II Audio (.mp2) |
read only |
read/write |
read/write |
MPEG layer 1, 2 audio |
D |
D,E |
D,E |
QuickTime (.mov) |
read/write |
read/write |
read/write |
Audio: 8 bits mono/stereo linear |
D,E |
D,E |
D,E |
Audio: 16 bits mono/stereo linear |
D,E |
D,E |
D,E |
Audio: G.711 (U-law) |
D,E |
D,E |
D,E |
Audio: A-law |
D |
D |
D |
Audio: GSM mono |
D,E |
D,E |
D,E |
Audio: IMA4 ADPCM |
D,E |
D,E |
D,E |
Video: Cinepak |
D |
D,E |
D |
Video: H.261 |
- |
D |
D |
Video: H.263 |
D |
D,E |
D,E |
Video: JPEG (420, 422, 444) |
D |
D,E |
D,E |
Video: RGB |
D,E |
D,E |
D,E |
Sun Audio (.au) |
read/write |
read/write |
read/write |
8 bits mono/stereo linear |
D,E |
D,E |
D,E |
16 bits mono/stereo linear |
D,E |
D,E |
D,E |
G.711 (U-law) |
D,E |
D,E |
D,E |
A-law |
D |
D |
D |
Wave (.wav) |
read/write |
read/write |
read/write |
8-bit mono/stereo linear |
D,E |
D,E |
D,E |
16-bit mono/stereo linear |
D,E |
D,E |
D,E |
G.711 (U-law) |
D,E |
D,E |
D,E |
A-law |
D |
D |
D |
GSM mono |
D,E |
D,E |
D,E |
DVI ADPCM |
D,E |
D,E |
D,E |
MS ADPCM |
D |
D |
D |
ACM** |
- |
- |
D,E |
Notes:
· ACM** - Window's Audio Compression Manager support. Tested for these formats: A-law, GSM610, MSNAudio, MSADPCM, Truespeech, mp3, PCM, Voxware AC8, Voxware AC10.
· VCM** - Window's Video Compression Manager support. Tested for these formats: IV41, IV51, VGPX, WINX, YV12, I263, CRAM, MPG4.
RTP Formats |
Capture Devices
参考
JMF 2.1.1 - Supported Formats.htm
JMF_百度百科.htm
JMF下载和安装 - oyzl68的专栏 - 博客频道 - CSDN.NET.htm
用java获取mp3资料播放时长和tag信息 - 编程.htm
用jmf如何过去取得avi文件的总的播放时长-CSDN论坛-CSDN.NET-中国最大的IT技术社区.htm