8088 Corruption TMV: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
(Created page with "* Extension: tmv * Website: http://www.oldskool.org/pc/8088_Corruption For a description of the basic file format and method, see 8088 Corruption DAT. == TMV File Format...")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
* Website: http://www.oldskool.org/pc/8088_Corruption
* Website: http://www.oldskool.org/pc/8088_Corruption


For a description of the basic file format and method, see [[8088 Corruption DAT]].
== Overview ==
 
For a description of the basic method, see [[8088 Corruption DAT]].


== TMV File Format ==
== TMV File Format ==
Line 16: Line 18:
  features  - bitfield, reserved for special handling:
  features  - bitfield, reserved for special handling:


The features bitfield was never used.
The features bitfield was never used in practice, so its settings are undocumented.
 
To get the playback rate of the file, divide the samplerate by the audio chunk size.  For example, a '''samplerate''' of 22050 divided by an audio '''chunksize''' of 735 gives 22050/735=30, so the playback framerate of the file is 30.
 
The remainder of the data after the header is made up of frames consisting of video+audio data, repeating until the end of the file is reached.  Each frame consists of the video data and then immediately afterward is the audio data.  The video data is of size ('''charcols*charrows'''*2) and the audio data is of size '''chunksize'''.


To get the playback rate of the file, divide the samplerate by the audio chunk size.  For example, a samplerate of 22050 divided by an audio chunk size of 735 gives 22050/735=30, so the playback framerate of the file is 30.
While '''charcols''' and '''charrows''' can be any non-zero value, all TMV files as of 20140724 have targeted CGA's 40x25 text mode.


== Video Format ==
== Video Format ==
Line 24: Line 30:
For details on the video format, consult [[8088 Corruption DAT]]
For details on the video format, consult [[8088 Corruption DAT]]


=== Data Resources ===
== Audio Format ==
 
The audio format used in 8088 Corruption is simply unsigned, 8-bit [[PCM]] played at the rate specified in the header.
 
== Data Resources ==


* http://en.wikipedia.org/wiki/Color_Graphics_Adapter#The_CGA_color_palette
* http://en.wikipedia.org/wiki/Color_Graphics_Adapter#The_CGA_color_palette
* http://multimedia.cx/CGA_FONT.8X8
* http://multimedia.cx/CGA_FONT.8X8
== Audio Format ==
The audio format used in 8088 Corruption is simply unsigned, 8-bit [[PCM]] played at the rate specified in the header.


[[Category:Video Codecs]]
[[Category:Video Codecs]]
[[Category:Platform-Dependent Codecs]]
[[Category:Platform-Dependent Codecs]]

Latest revision as of 07:51, 25 July 2014

Overview

For a description of the basic method, see 8088 Corruption DAT.

TMV File Format

TMV files have the following header:

'TMAV'     - 4 bytes, header signature
samplerate - 2 bytes, word value, playback sample rate
chunksize  - 2 bytes, word value, audio chunk size per frame
compmethod - 1 byte, specifies the compression method (currently only 0)
charcols   - 1 byte, number of text chars across (currently always 40)
charrows   - 1 byte, number of text chars down (currently always 25)
features   - bitfield, reserved for special handling:

The features bitfield was never used in practice, so its settings are undocumented.

To get the playback rate of the file, divide the samplerate by the audio chunk size. For example, a samplerate of 22050 divided by an audio chunksize of 735 gives 22050/735=30, so the playback framerate of the file is 30.

The remainder of the data after the header is made up of frames consisting of video+audio data, repeating until the end of the file is reached. Each frame consists of the video data and then immediately afterward is the audio data. The video data is of size (charcols*charrows*2) and the audio data is of size chunksize.

While charcols and charrows can be any non-zero value, all TMV files as of 20140724 have targeted CGA's 40x25 text mode.

Video Format

For details on the video format, consult 8088 Corruption DAT

Audio Format

The audio format used in 8088 Corruption is simply unsigned, 8-bit PCM played at the rate specified in the header.

Data Resources