Electronic Arts TGV: Difference between revisions
(fill in the basic data format) |
(NFS sound chunk types) |
||
Line 14: | Line 14: | ||
The following data chunk types are known to occur in TGV files: | The following data chunk types are known to occur in TGV files: | ||
=== SEAD === | === SEAD, 1SNh === | ||
Possibly stands for 'Sound hEADer'. This chunk contains parameters to initialize audio decoding and has the following layout: | Possibly stands for 'Sound hEADer'. This chunk contains parameters to initialize audio decoding and has the following layout: | ||
Line 23: | Line 23: | ||
bytes 16-19 probably audio channels, audio bytes/sample, or coding type | bytes 16-19 probably audio channels, audio bytes/sample, or coding type | ||
=== SNDC === | === SNDC, 1SNd === | ||
SouND Chunk. This chunk's payload contains a block of audio data after the 8-byte chunk preamble. | SouND Chunk. This chunk's payload contains a block of audio data after the 8-byte chunk preamble. | ||
=== SEND, 1SNe === | |||
Probably stands for 'Sound End'. | |||
=== kVGT === | === kVGT === | ||
Line 41: | Line 44: | ||
* [http://www.mobygames.com/game/dos/nba-live-96 NBA Live 96] | * [http://www.mobygames.com/game/dos/nba-live-96 NBA Live 96] | ||
* [http://www.mobygames.com/game/privateer-2-the-darkening Privateer 2: The Darkening] | * [http://www.mobygames.com/game/privateer-2-the-darkening Privateer 2: The Darkening] | ||
* [http://www.mobygames.com/game/need-for-speed The Need for Speed] | |||
[[Category:Game Formats]] | [[Category:Game Formats]] |
Revision as of 03:00, 20 March 2006
- Extension: tgv
- Company: Electronic Arts
- Samples: http://www.mplayerhq.hu/MPlayer/samples/game-formats/tgv/
TGV is a multimedia format used in various games published by companies under the Electronic Arts umbrella. It is suspected to use a vector quantizer for video coding.
Data Format
All multi-byte numbers in TGV files are stored in little endian format. TGV files are comprised of a series of chunks with the following format:
bytes 0-3 chunk type FourCC bytes 4-7 chunk length (including this 8-byte preamble) bytes 8.. chunk payload
The following data chunk types are known to occur in TGV files:
SEAD, 1SNh
Possibly stands for 'Sound hEADer'. This chunk contains parameters to initialize audio decoding and has the following layout:
bytes 0-3 'SEAD' bytes 4-7 chunk length, should be 20 (0x14) bytes 8-11 audio sample rate bytes 12-15 probably audio channels, audio bytes/sample, or coding type bytes 16-19 probably audio channels, audio bytes/sample, or coding type
SNDC, 1SNd
SouND Chunk. This chunk's payload contains a block of audio data after the 8-byte chunk preamble.
SEND, 1SNe
Probably stands for 'Sound End'.
kVGT
TGV keyframe. This chunk carries a keyframe coded in the TGV coding method along with the width and height of the frame:
bytes 0-3 'kVGT' bytes 4-7 chunk length bytes 8-11 frame width bytes 12-15 frame height bytes 16.. encoded video frame
fVGT
TGV interframe. This chunk carries an interframe after the 8-byte chunk preamble.