PMM: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edit of 1146628153, changed back to last version by Multimedia Mike) |
m (Update samples link) |
||
Line 1: | Line 1: | ||
* Extensions: pmm | * Extensions: pmm | ||
* Samples: [http:// | * Samples: [http://samples.mplayerhq.hu/game-formats/krazy-ivan-pmm/ http://samples.mplayerhq.hu/game-formats/krazy-ivan-pmm/] | ||
The game [http://www.mobygames.com/game/windows/krazy-ivan Krazy Ivan] uses multimedia files with the extension .pmm. All multi-byte numbers are little endian. The general [[FourCC]] chunk format is as follows: | The game [http://www.mobygames.com/game/windows/krazy-ivan Krazy Ivan] uses multimedia files with the extension .pmm. All multi-byte numbers are little endian. The general [[FourCC]] chunk format is as follows: |
Revision as of 20:03, 19 August 2006
- Extensions: pmm
- Samples: http://samples.mplayerhq.hu/game-formats/krazy-ivan-pmm/
The game Krazy Ivan uses multimedia files with the extension .pmm. All multi-byte numbers are little endian. The general FourCC chunk format is as follows:
bytes 0-3 chunk type bytes 4-7 chunk size, not including 8-byte preamble bytes 8.. chunk payload
A PMM file begins with the following header:
bytes 0-3 file signature: 'PIFF' bytes 4-7 total file size, not including first 8 bytes bytes 8-11 fourcc: 'PXMT' bytes 12-15 fourcc: 'PXMH' bytes 16-19 size of header bytes 20-39 unknown bytes 40-71 apparently a freeform, NULL-terminated string that desribes certain video properties, e.g., "Windows 15Hz X2"; this example gives away the framerate and, given that the video resolution does not appear to be encoded anywhere else, may present some special coding for the width and height with 'X2' bytes 72-73 audio sample rate byte 74 audio channels (?) byte 75 audio bytes/sample (?) bytes 76-83 unknown
Following the header is a CPAL chunk (provided that the file has 8-bit video). This contains a number (not necessarily 256) of RGB palette components with a full 8-bit range.
Afterwards, there are a number of audio and video chunks. The first chunk appears to be a MPAL chunk which is quite large. Following that are a series of AUDO chunks which contain PCM audio, and BODY chunks which presumably carry encoded video. Details of the video coding method are unknown.