home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
avc0493.zip
/
README.DVI
< prev
next >
Wrap
Text File
|
1992-07-23
|
37KB
|
768 lines
**************************** File: README.DVI *******************************
AVC Release 1.05 April 1992
----------------------------
This information describes how an Audio Visual Connection* (AVC) story can
display Digital Video Interactive** (DVI**) files. DVI is supported in the
OS/2* environment only.
This documentation is organized into these parts:
1. DVI overview
2. Requirements (hardware and software)
3. Installation
4. AVC stories to help you get started
5. AVA DVI Instructions
6. Error Codes
------------------------------------------------------------------------------
1. DVI OVERVIEW ==============================================================
You can now create stories in AVC that, with DVI support, will display video,
play audio, and display still image files created with DVI technology. DVI
digital files are decompressed and played back via the ActionMedia** II
Display Adapter under control of an AVC story. AVC-DVI support is provided
for the OS/2 environment only.
You can display your story output in three different ways:
o Combine DVI images and AVC images on one PS/2 monitor
o Display DVI images on one PS/2 monitor and AVC images on another
o Display DVI images on a television monitor (NTSC or PAL output) and
AVC images on a PS/2 monitor
AVC can play DVI still images and video clips, but there is no edit or
capture capability within AVC. Video file types supported by the ActionMedia
II Adapter include any 9-bit PLV (Production-Level Video) or RTV (Real Time
Video) with ADPCM or PCM audio components of various sampling rates.
If you want to capture an RTV video clip file you could, for example, use the
OS/2 program CAPTURE from the ActionMedia Toolkit. To get a PLV video clip
file, you must contact a company, licensed by the Intel Corporation, that can
produce PLV files.
DVI still file images supported by the ActionMedia II Adapter include:
o 9-bit compressed (includes JPEG format) and uncompressed stills
o 16-bit compressed and uncompressed stills
Note: JPEG=Joint Photographic Experts Group standard (ISO document CD10918-1)
If you want to capture DVI still image files, one possibility is to use the
OS/2 program SNAPSHOT from the ActionMedia Toolkit.
You can display multiple DVI still images at the same time, but you can only
play one video clip at a time on the screen. See Section 4 of this file
for a description of the AVA instructions that play DVI files in your story
and that manipulate visual and audio effects.
When DVI images are displayed on a monitor that already has an AVC image, the
DVI image behaves as if it is on another plane behind the AVC image. The DVI
image will "show through" the transparent area of the AVC image currently on
the screen. (The transparent area is where the color is black, or the RGB
color values are equal to 0.) The DVI images can show through (be overlaid
on) the following AVC image types:
o 8514/A (XGA) (640x480x256 colors)
o VGA (640x480x16 colors)
o VGA8 (360x480x256 colors)
Note: AVC MCGA images (320x200x256 colors) can be used in your AVC story
but cannot be displayed simultaneously with DVI video or still images.
------------------------------------------------------------------------------
2. REQUIREMENTS (HARDWARE AND SOFTWARE) ======================================
o Computer with 80386SX (or higher level of processor)
o OS/2 1.3
o ActionMedia II Display Adapter
o ActionMedia II Capture Option (for live video monitoring)
o ActionMedia II device drivers for OS/2 1.3
o VGA or XGA adapter
LIMITATIONS:
1. AVC-DVI does not support the 8514/A graphics adapter. All 8514/A image
files are supported by AVC via the XGA adapter.
2. The M-Motion Adapter cannot coexist with the ActionMedia II Adapter.
3. DVI audio output is directed to the ActionMedia II audio output connector
only. If your story plays sound through both DVI and the Audio Capture
and Playback Adapter (ACPA), you will need either separate speakers or an
audio mixer.
4. You can have only one DVI application running on a PS/2. You must stop
any DVI application that is running before starting another one.
------------------------------------------------------------------------------
3. INSTALLATION ==============================================================
Step 1: Refer to IBM PS/2* ActionMedia II Display Adapter installation
instructions for how to install the adapter card and the device drivers.
Your OS/2 CONFIG.SYS file will be automatically modified with the latest
device driver information. The driver file AVD.SYS will normally be defined
to reside in the following directory in your CONFIG.SYS file:
C:\AM2\DRIVERS
Step 2: Be sure to run the OS/2 ActionMedia II Configuration and Confidence
Test to verify that the monitor(s) and video cables have been installed
correctly. There are two ways you can set it up. (1) Use the ActionMedia II
Video Cable (Y-shaped) to merge the PS/2 system video and the DVI video for a
single monitor. (2) Connect the ActionMedia II's Video Cable Output Connector
or its Auxiliary Video Output Connector (a TV signal referred to as S-VHS,
S-Video, or Y/C output -- either NTSC or PAL) to a separate monitor for
displaying the DVI signal.
Note: NTSC is the television standard of the National Television Standards
Committee. PAL is the Phase Alternating Line standard.
The DVI initialization file AVK.INI, which is in the same subdirectory as the
driver file AVD.SYS, is automatically set up with several operating values
during this step.
Step 3: Follow the instructions for installing AVC and answer "Yes" to the
question on AVC/DVI support. This step installs the file AVCDVI.DLL in the
AVC directory SYSTEM.!AV; and a new KMVLOL.DLL is copied to the ActionMedia
DLL subdirectory to override the version 1.0 KMVLOL.DLL that comes with your
adapter installation, and the file AVK.INI in the ActionMedia DRIVERS
subdirectory is also modified. You can use an ASCII editor to edit the file
AVK.INI to make sure that the [DebugMvl] parameter is changed to the following
value:
Flag4=4
------------------------------------------------------------------------------
4. AVC STORIES THAT HELP YOU GET STARTED =====================================
Once AVC-DVI support is installed, try some of the following basic examples
of AVC stories. This example plays a video clip file named AIRPLANE.AVS
after the image file CLOUD is displayed:
| AVA Statement |Method |Dir |Line |Wait |Size |
/* AVC Image in VGA,VGA8, or XGA mode */
SHOW "C:\IMAGE\CLOUD" 0
DPLAY "C:\VIDEO\AIRPLANE.AVS" /* Video sequence */
WAIT KEY
Note: The file name must include the drive and directory when playing files
from various drives and directories. A file can be played from your hard
disk, CD-ROM drive, any other magneto-optical media, or LAN drive supported
by OS/2. The WAIT KEY statement prevents the story from ending until the
video play is finished.
Depending on the contents of the image CLOUD, this story will both display and
block out portions of the DVI video image AIRPLANE "through" the AVC image.
The DPLAY instruction displays the AIRPLANE.AVS video anywhere in the AVC
image CLOUD that contains the transparent color (black). In places where the
image file CLOUD does not have the transparent color the corresponding part of
the video image is blocked out.
The following story displays a DVI still-image file FLOWER overlaid by the AVC
image CLOUD:
| AVA Statement |Method |Dir |Line |Wait |Size |
/* AVC Image in VGA,VGA8, or XGA mode */
SHOW "C:\IMAGE\CLOUD" 0
DSHOW "C:\STILLS\FLOWER.AVS" /* Video still image */
WAIT KEY
Note: The DVI FLOWER.AVS still-image file is decompressed and displayed by
the ActionMedia II Adapter. Like DVI video, DVI stills can also be displayed
concurrently with AVC images in your story. The DVI still-image FLOWER will
"show through" the transparent (black) color in the AVC image CLOUD.
Reminder: Your AVC story must be in one of the 3 graphics modes (VGA, VGA8,
or 8514/A (XGA)) before you can display a DVI video or still. You cannot, for
example, start DVI video or still, following a text mode line or an image in
MCGA mode.
To display 100% of the DVI video (no part blocked by an AVC image) you can
use any one of these methods:
o An AVA CLEAR BLACK instruction (your AVC PROFILE must be set to one of
the three acceptable graphic modes)
o Use SHOW to display a black image
o SHOW any image with Method set to none
Examples:
| AVA Statement |Method |Dir |Line |Wait |Size |
/* Using CLEAR */
CLEAR BLACK 0
DPLAY "C:\VIDEO\AIRPLANE.AVS"
WAIT KEY
/* Setting Method to none */
SHOW "C:\IMAGE\CLOUD" none 0
DPLAY "C:\VIDEO\AIRPLANE.AVS"
WAIT KEY
Another good way to get started is to look at the sample story SEEDVI, which
is available in the USEFUL application (in the directory USEFUL.!AP). The
SEEDVI story is shipped with AVC and assumes that you have certain sample DVI
files (shipped with the ActionMedia II drivers). You can also use this story
to help you display your own DVI video clips by changing the path and file
names called in the DPLAY instructions in SEEDVI.
When you start creating more complex stories you should understand that the
video started by DPLAY runs concurrently with the story instructions that
follow the DPLAY (such as displaying images, showing text, or playing music
via the ACPA card). The computer will switch automatically between the tasks
of playing the video and story instructions that follow the DPLAY. As the
story author, you will need to use instructions, such as WAIT (waits for key
or for a specific video frame number) and DQUERY (finds out the current
playing status) to control story synchronization. This prevents the video
from getting out of synchronization with the rest of the AVC story.
Synchronization can be affected by both the speed of the computer running the
story and the demands made on the computer by your story.
------------------------------------------------------------------------------
5. AVA DVI INSTRUCTIONS ======================================================
The AVA instructions for AVC-DVI support are:
o DCONFIG - Controls your DVI profile
o DLOCATE - Defines source image size and target image size/location
o DPAUSE - Pauses a video sequence
o DPLAY - Plays a DVI video file or monitors live video
o DQUERY - Returns the current frame number and play status
o DSTATE - Saves current or restores previous state values
o DSTEP - Advances the DVI video one frame
o DSTOP - Stops the DVI video or audio
o DSHOW - Displays a DVI still image
o WAIT D - Waits for a specific video frame number is reached
The AVA syntax for each DVI instruction follows:
------------------------------------------------------------------------------
5.1 DCONFIG state_item value
All state items (except MON) set with DCONFIG can be changed at any time
within an AVA story and will be reflected immediately in the current or
subsequent play of DVI files.
If you specify an unrecognized state_item, the program will generate a
non-zero return code. If you specify an unrecognized value for any of the
state_item values, the program will use the default value.
Note: All negative values must be enclosed in quotes or parenthesis.
STATE_ITEM VALUES
------------- ------------------------------------------------------------
RES value= LOw or HIgh (DEFAULT: low)
Low (The monitor screen is represented by the 256x240
resolution DVI plane)
High (The monitor screen is represented by the 512x480
resolution DVI plane)
RES defines the resolution of the DVI screen where upon
video or stills are displayed. High resolution has 4 times
as many pels as does low resolution, therefore high
resolution produces better quality images.
The video sources are normally sized 256x240. When this
size is played on a low resolution screen (256x240), it
covers the entire screen; when it is played on a high
resolution screen (512x480), it covers only 1/4 of the
entire screen.
The DVI still images can be various dimensions, but normally
the largest dimension used is 512x480. When a still image
(sized 512x480) is shown on either a low resolution screen
(256x240) or a high resolution screen (512x480), it can
cover the entire screen area.
Note: The DVI plane resolution is independent of the
resolution of the AVC image that it appears with (either
VGA or XGA).
Example: DCONFIG RES High
---------- ------------------------------------------------------------
SPD value= Any percentage from 1 to 100 (DEFAULT: 100)
SPD determines video play speed. Specified as a percentage
of full speed. If speed is not 100%, audio is muted.
Example: DCONFIG SPD 50
---------- ------------------------------------------------------------
MON value= ONE, TWO, NTSC, or PAL (Default: ONE)
MON sets the number and type of monitor that the AVC
story (DVI video or still images) plays on.
When the value ONE is specified (default), the DVI image
plane is displayed through the transparent color (black) of
the AVC image plane. This option requires that you use the
ActionMedia II Video Cable to combine the DVI and AVC image
signals for one monitor.
When the value TWO is specified, the AVC Story Tables and
images are shown on the monitor connected to your graphics
adapter (either VGA or XGA). The DVI images are displayed
on another monitor that is attached to the Video Cable
Output Connector (from the ActionMedia II Adapter).
However, with this setting, if you use the Video Cable
(Y-shaped) to connect to just one monitor, you will see only
the DVI images.
When either NTSC or PAL is specified, two monitors are
assumed. The AVC Story Tables and images are shown on the
monitor connected to your graphics adapter (either VGA or
XGA). The DVI images are displayed on the television
monitor using the TV input signal (available from the
Auxiliary Video Output Connector of the ActionMedia II
adapter). The DVI video output signal is either NTSC or
PAL, based on what you specify.
Notes:
1. Be sure to run the ActionMedia II Configuration program
and set the displays and cable connection properly before
using the MON state_item in an AVC story.
2. When state_item = NTSC or PAL, the monitor resolution
can only be LOW.
Example: DCONFIG MON NTSC
---------- ------------------------------------------------------------
VOL value= Any percentage from 0 to 100 (Default 100)
VOL controls the DVI audio volume.
Example: DCONFIG VOL 50
---------- ------------------------------------------------------------
BAL value= Any number from -100 to 100 (Default: 0)
BAL controls the audio balance in the left and right
speakers.
The value 0 plays the DVI audio equally from both speakers.
The value -100 plays the audio from the left speaker only.
The value 100 plays audio from the right speaker only.
Example: DCONFIG BAL 50 (Right speaker dominant)
---------- ------------------------------------------------------------
A_V value= AV, A, V, or None (Default: AV)
A_V controls the playing of DVI audio and video.
AV plays video and audio
A plays audio only
V plays video only
None suppresses video and audio.
A_V lets you, for example, suppress the DVI audio component
of a video file; letting the user have silence or audio from
another source. The other source might be audio controlled
via the ACPA card. Similarly, you could suppress the DVI
video and use the DVI audio to accompany other AVC graphics.
Or you could suppress both audio and video, playing the
sequence in the background until reaching a specific frame
position of the DVI file.
These options do not affect DVI still-image display.
Example: A_V None
---------- ------------------------------------------------------------
ERS value= Yes or No (Default: No)
ERS controls whether the previously displayed DVI file image
is erased or not (at the next DLOCATE T instruction).
ERS NO leaves the previous frame of the video or still image
"frozen" on the display. This lets you overlay DVI images.
ERS YES removes the previous DVI frame when the next
DLOCATE T instruction is issued. This lets you move the
DVI display area. (It removes the old display from the
screen.)
Example:
DCONFIG ERS No /* Set ERS to No
DLOCATE T 0 0 50 50 /* Locate image at top 1/4 screen
DSHOW "C:\STILLIMG.AVS" /* Show a DVI still image
WAIT 5 /* Wait 5 seconds
DLOCATE T 50 50 50 50 /* Locate video at bottom 1/4 screen
DPLAY "C:\VIDEO.AVS" /* Show full motion video
WAIT 5 /* Wait for 5 seconds
SHOW "C:\IMAGE\OVER1" /* Show AVC image OVER1 superimposed on video
---------- ------------------------------------------------------------
CON value= Any number from -100 to 100 (Default: 0)
CON adjusts the monitor contrast for DVI images.
The value -100 provides minimum contrast.
The value 100 provides maximum contrast possible.
Example:
DCONFIG CON (-10)
---------- ------------------------------------------------------------
SAT value= Any number from -100 to 100 (Default: 0)
SAT adjusts the monitor color saturation value.
The value -100 displays a monochrome DVI image.
The value 100 creates maximum color saturation of an image.
Example:
DCONFIG CON (-100) /* Initial contrast at -100
DCONFIG SAT (-100) /* Initial saturation at -100
DPLAY "C:\VIDEO.AVS" /* Start video
Do i = -100 to 0
DCONFIG CON i /* Fade in video
DCONFIG SAT i
WAIT .1
END
---------- ------------------------------------------------------------
TIN value= Any number from -100 to 100 (Default: 0)
TIN controls the monitor tint adjustment.
The value -100 is maximum green.
The value 100 is maximum red.
---------- ------------------------------------------------------------
BRI value= Any number from -100 to 100 (Default: 0)
BRI controls the monitor brightness adjustment.
The value -100 is the darkest possible.
The value 100 is maximum brightness.
Example:
DO i = -80 to 80
DCONFIG BRI i /* Video brightness transition
END
------------------------------------------------------------------------------
5.2 DLOCATE option parameters
DLOCATE defines what part of the rectangular DVI source
image to display, and the size and location of the
rectangular area where the target image will be shown on
the screen. Both stills or video clips can be controlled
by this instruction. Options are S or T.
OPTION PARAMETERS
---------- ----------------------------------------------------------------
S x [y [xd [yd] ] ] (Defaults: 0 0 100-x 100-y)
x, y, xd, and yd can be any percentage from 0 to 100
x and y designate the upper left coordinate of the source
(DVI image) rectangle in a percentage relative to the
entire source image.
xd and yd designate the width and height of the source (DVI
image) rectangle in a percentage relative to the entire
source image.
Note: x+xd must not exceed 100; y+yd must not exceed 100.
Examples:
DLOCATE S 0 0 100 100 /* Default full size source
DLOCATE S 25 25 50 50 /* middle quarter of the source
---------- ----------------------------------------------------------------
T x [y [xd [yd] ] ] (Defaults: Same as source values)
x, y, xd, and yd can be any value from 0 - 100.
x and y designate the upper left coordinate of the target
display rectangle as a percentage of the full screen.
xd and yd designate the width and height of the target
display rectangle as a percentage of the full screen.
Note: If target xd is provided, but target yd is not,
target xd is used as the value for yd.
Examples: At Low resolution (256x240), the following
DLOCATE instruction displays a 256x240 DVI video or still
in full screen.
DLOCATE T 0 0 100 100
The following DLOCATE instruction displays a 256x240 DVI
video or still image in the center of the screen (covering
1/4 of the screen):
DLOCATE T 25 25 50 50
Note: The DLOCATE T instruction can resize (reduce) DVI
sources (video or stills) to display them in an small target
area, but it cannot enlarge them to fit an over-sized target
area. When a target area is larger then the size of the
source, the source is displayed starting at the upper left
corner of the defined target area.
Example:
/* This story displays a shrinking target rectangle
DCONFIG RES LOW
DPLAY "C:\AIRPLANE.AVS" /* Select image to display
DO i=0 to 100 by 2
DLOCATE T i i 100-i-i 100-i-i /* Resize (shrink) the target
WAIT .3
END
------------------------------------------------------------------------------
5.3 DPAUSE
DPAUSE freezes the video input. Subsequent DPAUSE or DPLAY statements
will restart the video. When video play resumes, it uses the parameter
values defined by the last DLOCATE instruction.
Note: The user can press the backspace key to pause and restart video
during the DPLAY. (The backspace key is used in AVC to pause a story.)
------------------------------------------------------------------------------
5.4 DPLAY [source_file | @dMonitor] [S]
The DPLAY instruction plays the specified DVI video or audio file,
or monitors live video with the ActionMedia II Capture Option. A
source_file need not be specified if the DPLAY follows a DPAUSE. The
DPLAY, in this case, restarts the paused file.
The name source_file is the DVI video or audio file to be played,
designated by its fully qualified path name. For example:
C:\VIDEO\TREES.AVS. For a list of file types supported, see section 1
of this document.
You can issue an AVC SHOW or PASTE instruction either before or during a
video DPLAY sequence. In this way you can overlay various AVC images on
the DVI video.
The DPLAY option for DVI files available is: S (synchronous)
The default mode of DPLAY instruction is asynchronous, or interruptible.
When video is played asynchronously, the computer system will play the
video and serve other AVC tasks within the system. This could, however,
cause any time-consuming task to interfere with other tasks. For
example, a DPLAY instruction could be followed by another story line that
interferes with the video being played -- including, perhaps, changes to
the video color, speed, and display location.
DPLAY can be used in "pass-through" mode to monitor the analog video
input from the ActionMedia II Capture Option directly. The instruction
is
DPLAY @dMonitor
Either NTSC or PAL inputs from the ActionMedia II Capture Option can be
shown on the designated PS/2 monitor. Like DPLAY with DVI files, DPLAY
@dMonitor can also have AVC image and text overlaid. It can also be
stopped by DSTOP, another DPLAY or DSHOW, or by the Esc key. Under such
live video monitoring operation, it is always full screen with high
resolution, and always asynchronous. It is not subject to the control of
DCONFIG or DLOCATE.
The monitored source could be from a camera, a VCR or a laser disk player.
In case it comes from a RS-232C controlled videodisc player, commands
such as MPLAY, MSEEK, etc. can also be used even though there is no
M-Motion Adapter plugged in PS/2.
Notes:
1. During a DPLAY sequence all AVC images must be of the same mode (either
VGA, VGA8 or XGA (8514/A)). The AVC image mode can only be switched after
a DPLAY is finished and prior to the next DPLAY. Switching the AVC
image mode during a video play stops the video play sequence.
2. To avoid unpredictable display behavior, do not switch to another OS/2
Presentation Manager session (pressing the Ctrl+Esc keys) while video is
displayed on the screen.
OPTION
------ ----------------------------------------------------------------
S You can play a video file without interruption by using the
synchronous (S) option. For example:
DPLAY "C:\AIRPLANE.AVS" S /* play video without interruption
DCONFIG VOL 50 /* volume change request
When you use the synchronous option, the computer system will
devote all of its time to playing the video (until all the frames
of the file are finished). The video will not be interrupted
unless the user presses the Esc key and then the Ctrl+Break keys.
Because the video cannot be interrupted by other AVC tasks in the
system, the video will play more efficiently. This is a useful
option when you want the video to finish before running any of
the following instructions in the story, or you are playing video
on a slow machine, or you are playing video files that are from a
slow LAN server. In the above example, the line: DCONFIG VOL 50
will change the volume percentage only after the video has
finished playing.
CAUTION: No other AVC task will start while video is played
using this option.
--------------------------------------------------------------------------
5.5 DQUERY
DQUERY returns the current frame number and play status in these AVA
variables:
@DFRAME: - @DFRAME contains the current frame number
Notes:
1. @DFRAME may not be updated for as much as one second
after a play has started; therefore this value is not
reliable during this time.
2. @DFRAME contains the value -1 when there is no video
being played or a video play has ended.
@DSTATUS: - @DSTATUS contains one of the following:
STOP -- if play is stopped normally
PAUSE -- if play is paused
PLAY -- if file is being played
ERROR -- if the DVI story is in error
Example:
DPLAY "C:\AIRPLANE.AVS"
Do until @DSTATUS=STOP /* Set loop to check for end-of-play */
DQUERY /* Get status */
say "Frame no.= "@dFrame /* Show current video frame number
WAIT .1 /* Wait 1/10 of a second */
End /* Continues on when play has stopped */
------------------------------------------------------------------------------
5.6 DSTATE request (no default value)
DSTATE lets you save the current state, restore a previously stored state,
or restore the start-up defaults. The request value can be:
S -- Saves the current state.
R -- Restores the previously saved state.
D -- Defaults to the start-up default state.
Note: The state represents all of the parameters specified by DCONFIG
and DLOCATE instruction. DSTATE lets you change and restore any of these
parameters for the next DPLAY or DSHOW instruction.
Example: DSTATE D
------------------------------------------------------------------------------
5.7 DSTEP
DSTEP advances the DVI video/audio play one frame at a time.
------------------------------------------------------------------------------
5.8 DSTOP
DSTOP stops the DVI video/audio play.
Note: The user can stop a DVI story by pressing the escape key.
------------------------------------------------------------------------------
5.9 DSHOW [source_file]
DSHOW displays a DVI still image file.
Where source_file is the fully qualified file name of the DVI still file
to be displayed.
DVI still image files supported by the ActionMedia II Adapter are:
o 9-bit compressed (includes JPEG format) and uncompressed stills
o 16-bit compressed and uncompressed stills
The supported file name extensions are:
FILE EXTENSION FILE CHARACTERISTICS
.AVS 1 file 9-bit or 16-bit compressed/uncompressed
.IMY .IMU .IMV 3 files 9-bit uncompressed
.CMY .CMU .CMV 3 files 9-bit compressed
.I16 1 file 16-bit uncompressed
.C16 1 file 16-bit compressed
Note: When a still image is represented by 3 component files, for
example, .IMY, .IMU, and .IMV, you can use any one of the three file
extension names with the DSHOW instruction. (The three files must reside
in the same directory.)
Example: To display the image represented by the three files
FLOWER.CMY, FLOWER.CMU, and FLOWER.CMV the AVA statement could be:
DLOCATE T 0 100 0 0 /* start image as a single dot
DSHOW "C:\STILLS\FLOWER.CMU"
DO i = 0 to 50
DLOCATE T i ((i-50)*(i-50))/25 i i /* curved path of target rectangle
END
------------------------------------------------------------------------------
5.10 WAIT D frame#
WAIT D makes a story wait until the specified video frame number is
reached (accuracy is within 10 frames). You can type the frame number with
the WAIT D instruction in the AVA statement column, or put the D and the
frame number in the Wait column. For example:
| AVA Statement |Method |Dir |Time |Wait |Size |
WAIT D 245
WAIT D 245
------------------------------------------------------------------------------
6. ERROR CODES ===============================================================
All AVC-DVI instructions return their execution status with the AVA variable
"rtn_code". The story can display this return code via the following AVA
statement:
say rtn_code
A rtn_code = 0 means that the instruction ran error free.
In addition, after the DPLAY instruction, AVC-DVI returns the play status in
the AVA variable "@dLastError". The story can display this variable with the
following AVA statement:
say @dLastError
The following lists the non-zero values of rtn_code and @dLastError:
1 - 699: Internal error of audio visual kernel (AVK). Refer to
ActionMedia II Technical Reference and contact IBM for support.
801: Unsupported parameter in the DVI-AVC instructions. Change and
rerun the story.
802: DVI file could not be found. Check the file name for accuracy.
803: File name missing. Provide file name with DVI instruction.
804: Unsupported graphics mode active. The story must be in VGA, VGA8
or 8514/A (XGA) mode when issuing a DVI DPLAY or DSHOW instruction.
808: Internal error in the AVK. Query @dLastError and contact IBM.
809: Time out for starting a DVI programming thread. Free up any
other simultaneously running programming thread(s).
810: Error in switching OS/2 screen sessions.
811: Could not start a DVI programming thread. Free up any other
simultaneously running programming thread(s).
812: Could not restart from DPAUSE.
813: DPAUSE failed.
814: Unsupported sampling rate for the audio data file.
901: DVI data file version is incorrect.
902: DVI data file open access denied.
903: DVI data file read access denied.
904: DVI data file seek access denied.
905: Unable to allocate memory for DVI data file read.
906: DVI still file is empty or contains unrecognizable data.
908: DVI still-data file has incorrect compression algorithm.
------------------------------------------------------------------------------
========================== TRADEMARKS ========================================
* Audio Visual Connection is a trademark of the IBM Corporation
* IBM is a trademark of the International Business Machines Corporation
* OS/2 is a trademark of the International Business Machines Corporation
* PS/2 is a trademark of the International Business Machines Corporation
* XGA is a trademark of the International Business Machines Corporation
** ActionMedia is a trademark of the Intel Corporation
** Digital Video Interactive is a trademark of the Intel Corporation
** DVI is a trademark of the Intel Corporation
================================ End of File ==================================