Movie File Attribute |
Description |
Audio_hdr audio |
Audio header needed to initialize audio device |
audioslice |
The size of the audio portion of a movie frame (in number
of bytes). This value is calculated as:
((audio_sample_rate * audio_samples_per_unit *
audio_bytes_per_unit * audio_channels)/fps).
|
bandwidth |
The amount of bandwidth required to play back this movie file
(in Kbytes per second). Bandwidth can refer to a
disk or network "bandwidth"
|
filler |
Filler is added, as needed, to pad the jpheader to fill 128 bytes |
firstValidFrame
lastValidFrame |
(JPEG_VERSION_3 or later movies) The first and last frames of the
movie to be played. Useful for trimming a few frames off the ends
of the movie without having to save the whole movie again (see
Multimedia User's Guide manual, Using MovieTool chapter, Editing
a Movie section. |
fps |
The movie file playback rate (in frames per second). This value is
usually based on the frame speed delivered by the original video
source (30 for NTSC, 25 for PAL/SECAM).
|
frames |
The number of movie frames (video-only, or AV) in this file |
height |
The image height of any frame in this movie (in pixels) |
indexbuf |
Index address (in number of bytes); acts as pointer to the
file's integer array to frame offsets (this array contains
the UNIX file equivalent of Computer Video Control (CVC)
frame addresses).
|
magic |
The magic work (the first 8 bytes of the movie file, which
distinguishes the file type) is defined as "j_movie"
|
mapsize |
The number of colors in video images stored in this file; the
Parallax Video 24-bit true color mapsize is 2^24
|
options |
(JPEG_VERSION_4 or later movies) Specifies frame (default)
versus field mode, and for field mode, whether to start on even (0, usual
setting) or odd (1) fields. IMPORTANT: Only frame mode is supported at this
time. True field mode capture does not work at this time, so you must only
use frame mode.
|
qfactor |
The Quantization (Q) factor used in compression (from Q tables
defined in Annex K of the ISO CD 10918).
|
tracks |
The number of audio tracks interleaved within each frame
|
unused |
(JPEG_VERSION_3 or earlier movies) This 4-byte wide field
is unspecified.
|
version |
The version number of this j_movie file format |
volbase |
(JPEG_VERSION_4 or later movies) The baseline for volume control
(default baseline is 0). (Not implemented in current version of
MovieTool.)
|
width |
The image width in any frame of this movie (in pixels). |
Hex Addresses |
Operand |
Description |
(0xed) |
END_FRAME |
Specifies the end of the current frame. Use for every frame;
it is the minimal frame that can be specified. |
(0xee) |
CLEAR_FRAME |
For software-decompressed files only; Initializes off-screen
image data. Use before changing a color map (omit otherwise).
|
(0xe5) |
LOAD_AUDIO_0 |
Loads audio stream from track 0. Length of audio data is given
by value of audioslice in header.
Note that JPEG audio data is not compressed. Only one audio
track is currently playable, so only the user-specified track
is processed; all others are discarded.
|
(0xe4) |
LOAD_AUDIO_1 |
Loads audio stream from track 1.
|
(0xe3) |
LOAD_AUDIO_2 |
Loads audio stream from track 2.
|
(0xe2) |
LOAD_AUDIO_3 |
Loads audio stream from track 3.
|
(0xf9) |
LOAD_CMAP |
For software-decompressed files only; Loads a new colormap
into the frame-buffer registers. Use on frame-by-frame basis
or set once to change from default colormap. The mapsize field
in the jpheader specifies the number of color values to be used
in the colormap (can be 0 to 16.78 million). The colormap is
defined as: mapsize * three bytes of RGB (8 bits each of R, G, and B).
|
(0xf8) |
LOAD_MMAP |
For software-decompressed files only; Mutates the current
colormap into a new one using the difference table stored with
this operand. The difference table is defined as follows:
First byte is the number of new colors; following two bytes
contain a color slot number (index to colormap value to be
changed/mutated), and an RGB triplet value |
(0xdb) |
NEW_FPS |
Specifies an additional byte which contains a new frames per
second value (1 to 30). Audio rate is unchanges, and may not
be synchronized; Use at your own discretion for special effects |
(0xec) |
LOAD_JPEG |
Indicates the beginning of JPEG compressed data. First 4 bytes
contain the length of the JPEG relevant information.
Note that DQT and DHT markers are not defined in the JPEG
Movie file data. The DQT data is generated with the qfactor
value specified, and the default Huffman tables are always used. |
Hex Addresses |
Operand |
Description |
(0xe6) |
NEW_QFACTOR |
Indicates that a new Q factor (i.e. different from
the previous Q factor, such as the one in the movie header) should be used
for all frames following this instruction. First 2 bytes contain the new Q
factor. You can change the Q factor once, several times, or every frame.
NOTE: If you vary the Q factor, this can slow down performance a little
while the Q table is calculated and placed in the GC. To minimize this
problem, you can limit the available Q factors (instead of 20, 21, 22, ...
use 20, 25, 30, ...), pre-detect the Q factors used in a movie, and
pre-compile the Q tables.
|
(0xf0) |
APP_DATA_0 |
Allows an application to store application-specific
information in the movie. First 4 bytes contain the length of the
application data that follows.
|
(0xf1) |
APP_DATA_1 |
For storing additional application-specific data.
|
(0xf2) |
APP_DATA_2 |
For storing additional application-specific data.
|
(0xf3) |
APP_DATA_3 |
For storing additional application-specific data.
|
(0xf4) |
LOAD_COMPRESSED_AUDIO_0 |
Used to load compressed audio from
audio track 0, First 4 bytes contain the length of the audio data. (Note
MovieTool does not support compressed audio, but you could build it into
your own application.)
|
(0xf5) |
LOAD_COMPRESSED_AUDIO_1 |
Load compressed audio from track 1.
|
(0xf6) |
LOAD_COMPRESSED_AUDIO_2 |
Load compressed audio from track 2.
|
(0xf7) |
LOAD_COMPRESSED_AUDIO_3 |
Load compressed audio from track 3.
|