Script, Caption, And Subtitle Files; Introduction; Script Files - Ultech Corporation DV2000 User Manual

Digital video vbi encoder / character generator
Table of Contents

Advertisement

5. Script, Caption, and Subtitle Files

5.1 Introduction

The DV2000 is able to read and encode closed caption files in a number of formats. Like-
wise, it can read subtitle files and associated "bit mapped" image files to produce open
subtitles. When reading a caption or subtitle file, the DV2000 processes each caption or
subtitle single-mindedly until the file ends. Although this mode of operation is fine for
simple captioning and subtitling jobs, the full potential of DV2000 is realized using script
files.

5.2 Script Files

DV2000 VBI Encoder/Subtitle Generator may be controlled by command sequences stored
in script files. Script files may be loaded from the DV2000 floppy drive, or they may enter
via any of the communications ports including the modem and local area network port.
Scripts may be created and edited using a text editor such as Microsoft Notepad. ULTECH
provides script templates for many different applications. The templates contain default
settings for all of the changeable parameters. In the near future, ULTECH will offer a
Windows program that makes it easy to create and test scripts.
DV2000 scripts contain sections for setting up closed captioning, teletext, Audio-in-VBI,
and the character generator. These sections correspond to DV2000 on-screen menus. The
body of the script may contain commands to display text and graphics. The script may also
contain commands to encode line 21 data such as closed captions and XDS. When a script is
loaded, the user can scroll through the menus in order to verify settings. The user can also
change settings, although some are awkward using just cursor keys (such as XDS fields with
long names). DV2000 scripts have a file extension of ".uxf". In section 5.3, you will read
about another script file format that is optimized for subtitle applications.
Details of Script Language
A script file is an ASCII text file that contains lines of commands. There are three categories
of commands:
1). Script Control Commands which control the sequencing of the script files.
2). Caption Commands which affect DV2000 caption settings or generate closed caption/
text/XDS data.
3). CG Commands which affect character generator settings or generate text/graphics on
screen.
Only one command per line is allowed with a maximum of 132 characters per line. Script
commands are case insensitive and leading spaces are allowed. Any text separated by a
delimiter following a script command on the same line is considered a comment and is
ignored except with the MSG command where the entire line following the command is used
as a message.
27

Advertisement

Table of Contents
loading

Table of Contents