2022年rm文件格式 .pdf
《2022年rm文件格式 .pdf》由会员分享,可在线阅读,更多相关《2022年rm文件格式 .pdf(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、RealMedia Format This is the newer format which stores both audio and video. All multi-byte numbers are stored in big-endian format. A RealMedia file consists of a series of chunks. Each chunk has the following format: dword chunk type (FOURCC) dword chunk size, including 8-byte preamble word chunk
2、version byte chunk payload Real chunk types: .RMF: RealMedia file header (only one per file, must be the first chunk) PROP: File properties (only one per file) MDPR: Stream properties (one for each stream) CONT: Content description/metadata (typically one per file) DATA: File data INDX: File index (
3、typically one per stream) RealMedia file header (.RMF) This must be the first chunk in a RealMedia file. Only one .RMF can be present in a file. The only useful information carried by .RMF is the number of headers. A .RMF chunk has the following format dword chunk type (.RMF) dword chunk size (typic
4、ally 0 x12) word chunk version (always 0, for every known file) dword file version dword number of headers File properties header (PROP) This chunk contains some information about the general properties of a RealMedia file. Only one PROP chunk can be present in a file. A PROP chunk has the following
5、 format 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 7 页 - - - - - - - - - dword Chunk type (PROP) dword Chunk size (typically 0 x32) word Chunk version (always 0, for every known file) dword Maximum bit rate dword Average bit rate dword Size of largest data
6、packet dword Average size of data packet dword Number of data packets in the file dword File duration in ms dword Suggested number of ms to buffer before starting playback dword Offset of the first INDX chunk form the start of the file dword Offset of the first DATA chunk form the start of the file
7、word Number of streams in the file word Flags (bitfield, see below) Flags: bit 0: file can be saved on disk bit 1: PerfectPlay can be used (extra buffering) bit 2: the file is a live broadcast Media properties header (MDPR) This chunk contains information about the properties of a RealMedia stream.
8、This header defines the type of a stream and the codec used. All codec-related data is in the type specific part of this header. Many fields share the same meanings as the ones in PROP chunk, but in this case they are specific for one stream. There is one MDPR chunk for every stream in the file. A M
9、DPR chunk has the following format dword Chunk type (MDPR) dword Chunk size word Chunk version (always 0, for every known file) word Stream number dword Maximum bit rate dword Average bit rate dword Size of largest data packet dword Average size of data packet dword Stream start offset in ms dword P
10、reroll in ms (to be subtracted from timestamps?) 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 7 页 - - - - - - - - - dword Stream duration in ms byte Size of stream description string byte Stream description string byte Size of stream mime type string byte Mim
11、e type string dword Size of type specific part of the header byte Type specific data, meaning and format depends on mime type Audio (audio/) audio/x-pn-realaudio and audio/x-pn-multirate-realaudio These mimetypes are used to specify streams with RealAudio codecs. There are 3 known versions of this d
12、atablock: ra3, ra4, ra5. ra3 is used only with the old 14_4 codec, ra4 and ra5 can be used with all the other codecs. The audio block has this format byte4 Header signature (., r, a, 0 xfd) word Version (3, 4 or 5) #if version = 3 word Header size, not including first 8 bytes byte10 Unknown dword Da
13、ta size byte Title string length byte Title string byte Author string length byte Author string byte Copyright string length byte Copyright string byte Comment string length byte Comment string byte Unknown * byte Fourcc string length (always 4) * byte Fourcc string (always lpcJ) * #elseif version =
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年rm文件格式 2022 rm 文件格式
限制150内