CineCast HD/2 Model 2000-0600-1CineCast HD/1 Model 2000-0600 CineCast HD Model 2000-2165
MPEG-2 HDTV/SDTV/DTV
High Definition 4:2:0 Decoder System
Document Part Number 9050-2165
Page 2
Copyright 2002 Vela LP. All rights reserved.
This manual is written and published by Vela LP (Vela). All rights reserved. Vela
reserves the right to make changes to this manual and to the product(s) represented without notice. No portion of this manual may be copied, reproduced, or
transcribed without the express written authorization of Vela LP.
All brand names, product names, or trademarks appearing in this manual are
registered to the respective companies or organizations that own the names or
trademarks. CineCast is a trademark of Vela LP. Dolby and the double-D symbol
are trademarks of Dolby Laboratories.
Returns must be accompanied by an authorized RMA number obtained from Vela.
The Vela CineCast® HD series of high-definition decoders are SCSI-based
MPEG-2 audio/video decoders designed for High Definition Television
(HDTV) applications. Such applications include broadcast, post production,
advertising and other video distribution applications; large-format point-ofinformation applications (such as those found in large theme park and sports
venues) using new plasma display technology and new-generation 16:9 display
devices and projection systems; high-resolution output such as e-cinema; HD
content repurposing; and digital archiving applications.
Examples of CineCast HD users are HD production facilities needing an
upstream decoding device for studio signal monitoring or to feed downstream
HD switchers and routers or HD DVE equipment. Another end use example
would be that of a movie theater requiring decoders for e-cinema applications.
The CineCast HD version 1.0 series of decoders come in one-channel (Model
HD/1) and two-channel (Model HD/2) models designed to be conveniently
mounted in a standard 19-inch equipment rack, occupying one rack unit of
space. The CineCast HD is also available in a standalone board version,
Model 2000-2165.
Features such as genlock capability, a 2x1 A/V switcher, redundant power
supplies, triple stereo AES audio, two to six channels of SMPTE 299M digital
audio, AAC and MPEG audio, Dolby Digital (AC-3) bitstream out, and dual
analog stereo audio make the CineCast HD ideal for high-end professional
applications. In addition, SMPTE 337M AES/EBU compressed bitstream output is
supported. Each decode channel supports individual LTC time code outputs. The
HD supports one General Purpose Interface (GPI) input and output per channel.
The CineCast HD is fully ATSC compliant, supporting all 18 ATSC modes. It
provides LTC time code output support and VIP 2.0 over-the-top video bus for
VGA display of HD resolution video. It also implements the Vela Media Bridge
bus, designed to work in conjunction with another CineCast HD decoder for
switching functionality.
CineCast is a registered trademark of Vela LP. Dolby is a trademark of Dolby Laboratories. All other
trademarks, brand names, or product names appearing in this publication are registered to the
respective companies or organizations that own the names or trademarks.
Introduction
Page 12
2CineCast HD Version 2.6 Installation and User Manual
Every effort has been made to maintain software compatibility with the existing
CineCast SCSI family system software. The current release is version 2.6. The
CineCast HD operates under Windows 2000, Windows NT 4.0, and Solaris.
The CineCast HD is built around the TeraLogic TL850 and TL855 HD decoder
chips. The primary differences between the TeraLogic TL850 and TL855 HD
decoder chips is that the TL850 supports only 4:2:0 HD profile decoding while it
offers a broad range of SD to HD, HD to SD, and HD to HD scaling capabilities.
The optional TL855 offers 4:2:2 profile SD and HD playback.
The CineCast HD incorporates some technologies from the existing CineView Pro
XL and CineCast Quad Pro decoders, namely the SCSI Ultra-2 LVDS interface, the
VIP 2.0 interface, transcode bus, AC-3/AAC audio, and miscellaneous I/O components. In addition, the CineCast HD introduces a number of new features and
capabilities not found in other Vela products, including the use of the Teralogic
TL850 and TL855 decoders.
A primary design goal has been to support the CineCast HD as a subset of an
expanded CineCast Quad Pro API. This provides existing customers an immediate upgrade path to the CineCast HD from the CineCast Quad Pro, the CineCast Quad, and the CineCast Prime decoder products.
Configuration
The CineCast HD SCSI decoder is designed to interface to a SCSI Ultra-2
Fast-40 LVDS (or SCSI Ultra-Fast-20) single-ended interface. A sketch of the
decoder, along with pinouts of audio connectors, and views of the front and
back panels, is provided at the end of this chapter.
CineCast HD Features
Video Decoder:
• SMPTE 292M SDI video output with triple stereo embedded digital audio.
• YUV/RGB component video output.
• Standard NTSC composite video output.
• Composite video genlock input.
• Demultiplexing of MPEG-2 Transport streams.
• Support for all 18 ATSC formats.
• Support for DVB compliant MPEG-2 Transport streams.
Configuration
Page 13
Chapter 1 — Getting Started3
• Stream Data Rates:
SD 4:2:0 streams: up to 50 Mbps
HD 4:2:0 streams: up to 50 Mbps
HD 4:2:2 streams: up to 80 Mbps (optional)
• Chroma profile support.
• 4:2:0 stream decoding for SD resolution streams.
• 4:2:0 decoding support for HD resolution streams.
• Two stereo channels of balanced analog audio (18dB/20dB headroom select).
• Decodes stereo MPEG Layers 1 and 2.
• Supports compressed stereo or 6-channel AAC.
• Audio sampling rates: 32kHz, 44.1kHz, 48kHz.
• Four analog audio outputs, balanced or unbalanced.
MPEG Decoder
• Supports MPEG-2 HD and 4:2:2 Profile @ Main Level.
• Supports MPEG Transport stream bit rates up to 50Mbps (80Mbps for 4:2:2).
• Supports all ATSC formats.
• Supports all NTSC and PAL resolutions.
CineCast HD Features
Page 14
4CineCast HD Version 2.6 Installation and User Manual
Playback Modes
• Playlist: Allows the user to create, modify and/or play back a list of MPEG
video files.
• “Back-to-back with no black” mode supported (stream concatenation).
• Pause on under-run modes: This determines what happens to a playback when
the host system can not keep up with the demand of data. Available modes:
1. Freeze Video: Pause video, start playback when data flow is restored.
2. Go To Black: When the decoder runs out of data in the SDRAM buffer,
playback will terminate and an error code will be returned to the host.
MPEG Play on Trigger Options
• Pause on first frame of video (soft trigger).
• Hardware trigger using General Purpose Input discrete 1.
• Hardware trigger on GPIN2 from Vela Media Bus.
Selection of Video and Audio Content:
• Automatic: Firmware parses the MPEG headers to choose video and
audio streams.
• Manual: Transport Program ID (PID) selects the audio and video content
within a Transport stream.
Playback Controls
• Playlist (create and play lists of MPEG files).
•Play.
• Frame accurate start/stop and play out of all frames of MPEG data.
• Stop (go to black).
• Stop (with freeze frame).
• Pause video (freeze frame and suspend playback).
• Pause on first frame of video.
• Pause on last frame of video.
• Fast Forward (skips B-frames).
• Slow Motion (eight different speeds).
• Single Step (frame advance and frame advance by ‘n’ frames).
• Resume normal play (from trick mode).
CineCast HD Features
Page 15
Chapter 1 — Getting Started5
• Blank and Unblank video.
• Internal A/B switch allows video and audio switching of two decoder
channels into a single A/V output channel (SDI output only).
• Video and audio fading between two decoder channels with adjustable
fade times.
Audio Controls
• Audio selection for primary and secondary audio outputs.
• Audio fade and switch (two-channel HD/2 model), fade time adjustable from
zero to 255 frames.
• Analog audio: Selectable 18dB/20dB headroom; default is 18dB.
• Three stereo channels of audio get embedded into the SDI video stream
and are subsequently output as two analog audio channels and three AES/
EBU digital audio channels.
Video Support
• Video fade and switch (two-channel HD/2 model), fade time adjustable from
zero to 255 frames.
Supported Inline Trick Modes
• Occur at specific output SMPTE time code.
• Occur at specific frame count.
• Occur when input discrete (GPIN1) is activated or inactivated.
• Occur when playback starts or stops (used for audio/video switching).
Built-in MPEG Test Pattern
• Color bars pattern.
Background Color
• Programmable background color: black, blue, or user defined color for Y, Cr,
Cb values.
LTC/VITC Time Code Options
• MPEG GOP header SMPTE time code: Firmware will calculate time code
for each picture in the GOP.
• User defined starting time code: Firmware will increment time code for each
video frame.
CineCast HD Features
Page 16
6CineCast HD Version 2.6 Installation and User Manual
Other Features
• One general purpose input discrete (GPIN1).
• One general purpose output discrete (GPOUT1).
• Fade to black or color; fade from black or color to video.
• Audio fade to and from mute.
• VGA display in RGB supported for HD (via VIP 2.0).
System Connectors and Interfaces
• 68-pin Ultra-2 (Fast-40) LVDS SCSI interface (80MBps), compatible with
single-ended Ultra SCSI, for MPEG data input.
• LED status panel indicates board power-up status, LUN playback activity,
over temperature indicator, and power supply and fan failure indicators.
• Each of the two decoder channels is independently accessible via individual
SCSI IDs.
• BNC connectors for HD SDI digital output (SMPTE 292M).
• BNC connectors for genlock input.
•Molex
®
Microcross™ P & D connector for composite analog video output
(SD monitoring), YUV output, RGB output, triple-digital stereo audio output, four-channel analog audio output, GPI in and GPO out, LTC output.
• Standard PCI edge connector (model 2000-2165 board-only model).
Environmental and Support Requirements
• Commercial 115V, 60 Hz or 230V, 50 Hz AC voltage source.
• Operating temperature not to exceed 104° F (40° C).
• Relative humidity between 10% and 90%.
• Associated equipment needed to accomplish the decoding process, such as
video and audio monitors, video servers, distribution apparatus, etc.
• Tools, cables, and associated hardware necessary for installation of the
CineCast HD decoder.
Environmental and Support Requirements
Page 17
Chapter 1 — Getting Started7
System Flow
The following block diagram shows a typical CineCast HD system flow.
SDRAM
EMBEDDED PCI BUS
HD DECODER
PCI — LOCAL
TRANSPORT
VCX0
TL 850
TL 810 &
DUAL
DEMUX
SCSI
ULTRA 2
ISP1080
MIPS
QED5231a
SCSI CONNECTOR
SDRAM
BOOT
FLASH
FLASH
CCIR-601
YPbPr or RGB
Software Selectable
SDI Video
Audio
Embedder
Transcode
VIP 2.0
Composite
Video
COMPONENT VIDEO
SMPTE 292M VIDEO
VELA MEDIA BRIDGE
VGA DISPLAY
NTSC / PAL VIDEO
AES / ANALOG AUDIO
AUDIO
2 AUDIO PESs
DECODERS
Figure 1-1. CineCast HD Block Diagram
Recommended PC System Configuration
• PC-compatible computer with Pentium 200 or better processor.
• 32MB RAM (64MB recommended).
• PCI bus architecture.
• Microsoft Windows 2000 or Windows NT 4.0 (Service Pack 6a).
• CD-ROM drive for software and driver installation.
System Flow
Page 18
8CineCast HD Version 2.6 Installation and User Manual
• Ultra-2 / Wide (16-bit) SCSI-3 host adapter (PCI bus), such as those made
by Qlogic™. See“Host Adapter (Initiator) Configuration” on page 12 for
configuration information.
• System hard drive (SCSI, EIDE or IDE) for operating system.
• Dedicated SCSI hard drive to hold MPEG video files.
Decoder Specifications
See Appendix A for a complete list of CineCast HD decoder specifications.
CineCast Playback Application Overview
The full-featured CineCast Playback Application ships with every Vela CineCast
HD decoder. Details of the application, including GUI screen illustrations, playback
mode details, and setup mode information can be found in Chapter 3 of this manual.
Functions Summary
ItemFunctions/Commands
1.Play
2.Stop
3.Blank Video
4.Un-Blank Video
5.Pause Video (Freeze frame & stop playback)
6.Fast Forward (one speed)
7.Slow Motion (various speeds)
8.Resume Normal Play from Slow, Fast Motion, or Pause
9.Single Step (after Pause)
10.Frame Advance
11.On-Screen Display
12.Back-to-back with no black mode
13.Loop Mode
Table 1-1. CineCast HD Functions Summary
Decoder Specifications
Page 19
Chapter 1 — Getting Started9
ItemFunctions/Commands
14.Play List
15.Pause on Under-run Mode
• Freeze video
• Go to black
16.Pause on First Frame of Video
17.Pause on Last Frame of Video
18.Mid-Steam Start
• By Frame Counts
• By SMPTE Time Code
• By Byte Offset
19Output Resolution Select
20.Audio/Video PID Select
21.Genlock Mode Select:
• Genlock disable (standalone mode)
• Genlock enable
22.A/V Switch and fade
23.Programmable Audio/Video Fade: 0 – 255 frames
24.Audio Attenuation Control
• 18dB/20dB Select (analog)
• Step Attenuation: 1/16 dB/step
25.Audio Output Select
• MPEG Audio
• AC-3 Bitstream Out
• AAC Two Channel
• AAC 5.1 Channel
26.Linear Time Code Output Source Select (Each decode channel)
• MPEG Stream Time Code Extraction
• Frame Count
27.Revision Page
28.Error Reporting On/Off
Table 1-1. CineCast HD Functions Summary
Functions Summary
Page 20
10CineCast HD Version 2.6 Installation and User Manual
ItemFunctions/Commands
29.Firmware Download Mode
30.LTC Output Reporting
Table 1-1. CineCast HD Functions Summary
Decoder Installation
HD Board Only Installation
1. Power off the PC, unplug it from the AC source, and remove the cover to
expose the chassis and motherboard.
2. It is important that the CineCast HD decoder board be plugged into a PCI bus
master slot, making sure the edge connectors are fully engaged. Secure the board’s
mounting bracket to the PC chassis.
3. Connect video, audio, genlock, and SCSI cables as required.
4. Set the SCSI ID switch to the correct ID. Set the SCSI terminator switch to the
down position to disable the internal SCSI terminators, if required.
5. Reinstall the PC cover and power up normally.
Models HD/1 and HD/2 Rack-Mount Decoders
1. Install the decoder unit in a suitable 19-inch equipment rack, insuring that
adequate ventilation is available.
2. Connect video, audio, and SCSI cables as required.
3. Set the SCSI ID switch to the correct ID. Set the SCSI terminator switch to the
down position to disable the internal SCSI terminators.
4. Assure that the AC power switch on the front panel is off, then connect the
AC power cable from the receptacle on the rear of the unit to a suitable AC
outlet. Note that if a customer-supplied power cable is used, it must be equal to
or exceed 18 AWG, 1250W, 10A-125V.
5. Power-up the unit by depressing the power switch.
6. The play indicator(s) and the power indicator on the front panel should begin
blinking, indicating normal operation.
Decoder Installation
Page 21
Chapter 1 — Getting Started11
The SCSI Interface
The Vela CineCast HD decoder connects to the host system through a Small
Computer Systems Interface (SCSI) interface. This interface conforms to the
following ANSI standards, except as detailed in this specification. The type of
interface is Low Voltage Differential Signal (LVDS) Ultra-2 (Fast-40), which is
compatible with single-ended (SE) Ultra (Fast-20) SCSI.
American National Standards Institute SCSI Standards
Typically, each device on a SCSI bus, including the host adapter, must have a
unique SCSI ID. The SCSI ID serves two purposes:
• It uniquely defines each SCSI device on the bus.
• It determines the device’s priority on the bus during arbitration for the bus.
Setting the Decoder’s SCSI ID
The SCSI ID of the CineCast HD decoder is set via the SCSI ID selector switch
located on the rear of the board or on the rear panel of HD/1 and HD/2 models. It
should be noted that ID7 is usually reserved for the SCSI initiator (host adapter).
On HD/2 decoders, a unique ID should be set for each of the two boards
Priority in Arbitrating For the Bus
• Normally, the SCSI initiator (host adapter) is set for SCSI ID 7, which is the
highest priority.
• Each SCSI device on the bus must have a unique SCSI ID.
• Not all host adapters support SCSI IDs 8–15.
• Some host adapters and operating systems have further restrictions on SCSI
IDs for hard disk, CD-ROMs, and tape drives.
• Operating systems and SCSI device drivers may restrict the use of SCSI IDs
to SCSI IDs 0 through 7 only.
Decoder Installation
Page 22
12CineCast HD Version 2.6 Installation and User Manual
Bus Termination
A terminator switch is located on the rear of the decoder board. Setting the switch
to the left position (farthest away from the connector area) enables termination.
Model HD/2 decoders should have termination enabled on only one of the two
boards contained within the unit, per general SCSI procedures.
Host Adapter (Initiator) Configuration
The following Ultra-2 SCSI host adapters, based on the PCI bus, are recommended:
• Qlogic™ Ultra-2 Wide SCSI host adapter, model QLA-1080.
• Adaptec™ 29160 Ultra 160 host adapter.
Host Adapter ParameterSetting
Disconnect AllowedEnabled (mandatory for multiple SCSI
decoder operation)
Synchronous Data Transfer
(Synchronous Negotiation)
Synchronous Data Transfer Rate80M transfers/second (REQ/ACK period)
Wide Data Transfer (16-bit)Enabled
Renegotiate on ErrorEnabled
Enable Device at BootEnabled
Enable LUNEnabled
Table 1-2. Host Adapter Settings
ParameterDecoder
SCSISupports SCSI Disconnect-Reconnect
SCSI Transfer Rates
• Asynchronous SCSI supports up to 10MBps for fast/
wide SCSI (16-bit Fast SCSI-2)
• Synchronous SCSI supports 80MBps for Ultra-2/Wide
SCSI (16-bit Ultra-2 SCSI-2)
Enabled
Table 1-3. SCSI Parameters
Decoder Installation
Page 23
Chapter 1 — Getting Started13
ParameterDecoder
SCSI ID and LUNProvides selectable SCSI ID (0–15)
TerminationSelectable termination
Table 1-3. SCSI Parameters
Jumper Information
See Figure 1-22 for jumper locations on the HD circuit board. Most jumpers
should be left in their factory default positions.
In case of a corrupt firmware, situation, Jumper JP6 will need to be reconfigured
from its default 16-bit boot mode to an 8-bit boot mode to enable recovery of
firmware settings. See Figure 1-2 for default and firmware recovery setting.
Jumper JP9 indicates the primary Vela Media Bus decoder board. In board-only
and Model HD/1 versions, the jumper is normally open. In the case of HD/2
models (with two boards), one and only one of the two boards should have this
jumper enabled. See Figure 1-2 for primary VMB jumper placement.
Connector Locations and Pinouts
Refer to Figure 1-22 to locate and identify the various connectors, switches and
jumpers that populate the CineCast HD decoder board. Two BNC connectors
are provided for digital video output and genlock input. Connector P1 is a
Molex brand “Microcross” (P&D) multi-functional connector through which
the decoded signals are output.
CineCast HD Multi-Output Cable Assembly
Figure 1-24 is a representation of an accessory multi-output cable that can be
purchased from Vela to facilitate easy connection of the CineCast HD decoder.
Depending on the cable purchased, signals appearing on the cable can include
YUV, RGB and composite video, LTC time code, AES audio, analog audio, GPI
in and out, and VGA monitor signals.
The input end of the cable assembly terminates in a connector that mates with the
Microcross P&D connector located on the CineCast HD decoder board.
Table 1-4 and Table 1-5 contain pinout information for the available pre-fabricated cable assemblies. Vela part numbers are 6000-0165 (YUV and balanced
audio) and 6000-0166 (RGB and balanced audio). Contact your Vela sales representative to order the cable assemblies.
Connector Locations and Pinouts
Page 24
14CineCast HD Version 2.6 Installation and User Manual
The following sections pertain to the installation of Vela Release 2.6 system software for the CineCast HD decoder. Determine the operating system you are using
(Windows 2000 or Windows NT) and follow the corresponding instructions.
Be sure to review the “readme” files on the system software CD-ROM for
the very latest information on installation and performance issues.
Installing Under Windows NT
All of the software that you need to install the CineCast HD decoder on Windows
NT 4.0 is located on the single CD-ROM you received with the decoder. Just
follow these steps, whether you are upgrading to version 2.6 or installing it for the
first time. Remember that a number of system restarts (reboots) may be required
during the installation process. Do not remove the CD-ROM disc from the
drive until you've completed the last step of the installation process.
NOTE: Hardware drivers for Windows NT are automatically installed with the application.
1. Uninstall any CineCast software currently on the system. Use the Windows
Control Panel > Add/Remove Programs application. For compete details
on uninstalling current and previous versions of software, see “Uninstalling CineCast Software” on page 36.
2. Install Windows NT Service Pack 6a or later, if it’s not already installed on
your system. You can download this service pack from the Internet, or you can
install it from the CineCast System Software CD-ROM, as follows:
• Insert the CD-ROM into the CD-ROM Drive. The Autorun install setup
screen will appear (Figure 1-3).
• From the Autorun screen, select the “Explore This CD” option. A screen
similar to that in Figure 1-4 will appear.
• Double-click on the System folder, then double-click on the “NT Service
Pack” folder.
• Double-click on the sp6i386.exe file.
• The application will extract files, then ask you to read a license agreement.
After reading the agreement, check the “Accept License Agreement”
checkbox as well as the “Backup Files Required to Uninstall” checkbox.
• Click Install.
• Click Next, OK, or Finished to all of the screens that follow.
Software Installation
Page 30
20CineCast HD Version 2.6 Installation and User Manual
• If you are asked to reboot, allow the system to restart before continuing.
3. The Autorun setup screen (Figure 1-3) should appear after the reboot. If it
does not, use Windows Explorer to select and run setup.exe from the CD-ROM.
4. Install Internet Explorer version 5, Service Pack 4 or later, if it's not already
installed on your system. Again, you can download this from the Internet, or
you can install it from the Vela system software installation CD-ROM. To use
the CD-ROM, follow these steps:
• Insert the CD-ROM disc into the CD-ROM drive.
• When the setup screen appears, select the “Explore This CD” option.
• Double-click on the “System” folder.
• Double-click on the “MSIE5 NT” folder.
• Double-click on the setup.exe icon. When a window pops up to select
“Typical” or “Minimal” Installation, select “Minimal.”
• On the next screen, deselect (remove the checks from) the “Windows Media
Player” and “Outlook Express” selections.
• The version of Windows Media Player included with Internet Explorer 5.0 is
outdated. A more recent version is included on this CD, though the installation of Windows Media Player and Outlook Express are not a requirement
for the CineCast HD decoder.
• Click Next, OK, or Finished to all of the screens that follow.
• If you are asked to reboot, allow the system to restart before continuing.
5. The setup screen should appear after the reboot. If it does not, use Windows
Explorer to select and run setup.exe from the CD-ROM or click Start > Run.
6. Install MDAC 2.6, if it is not already installed on your system. Again, you
can download this from the Internet, or you can install it from the installation
CD-ROM. To use the CD-ROM, follow these steps:
• Insert the CD-ROM into the CD-ROM drive.
• When the setup screen appears, select the “Explore This CD” option.
• Double-click on the “System” folder.
• Double-click on the “MDAC 2.6" folder.
• Double-click on the mdac_typ.exe.
• The application will extract files, then ask you to read a license agreement.
Software Installation
Page 31
Chapter 1 — Getting Started21
After reading the agreement, check the “Accept License Agreement”
checkbox. Click Next.
• If you are asked to restart, allow the system to reboot before continuing.
7. The Autorun setup screen (Figure 1-3) should appear after the system
restart. If it does not, use Windows Explorer to select and run setup.exe from
the CD-ROM or click Start > Run.
8. From the Autorun setup screen, select Install “CineCast,” then follow the
steps listed below:
• Read the Welcome screen (Figure 1-5), then click Next.
• On the “Choose Destination Location” screen (Figure 1-6), accept the
Program Files\ Vela Research
destination, as listed, by clicking Next.
Do not change the destination! The default destination is required
for proper decoder operation.
9. On the “Select Components” screen (Figure 1-7):
• If you have not yet run the MFC update option for this release, check the
“MFC Update” checkbox on the “Select Components” screen. This step
needs to be done only once. If you check this box, there will be an extra set
of steps automatically included in the procedure specified below— and the
installation procedure will require an additional system restart. Just follow
the instructions presented by the MFCupdate.exe installation application.
• Also check the “CineCast Decoder Application” checkbox.
• If you have purchased the SDK, check the “CineCast Decoder SDK” check
box, too. (Because it is password-protected, you will be able to install the
SDK only if you purchased it and received the corresponding password.
If you cannot locate the password, call Vela Support for assistance. You can
return to this screen to install the SDK at a later time if you need to).
C:\
• Reminder: If you have not already done so, you must enable “MFC Update”
and “CineCast Decoder Application.” These two checkboxes must be
checked when requesting the SDK to insure proper installation of the SDK.
• Click Next to proceed with the installation.
• On the “Select Program Manager Group” screen (Figure 1-8), accept Vela
Research by clicking Next.
• On the “Start Installation” screen (Figure 1-9), click Next.
Software Installation
Page 32
22CineCast HD Version 2.6 Installation and User Manual
• A “DO NOT REMOVE THE CD” message box will display as a reminder
that a number of reboots may be required during the installation process.
Click OK to continue.
• If you have chosen to run the MFC Update option, the installation process
will begin here to copy files.
• On the “Install” message box (Figure 1-10), note that the system must
be restarted. Click OK, and then wait as the system reboots. Leave the
CD-ROM in the drive through the system restart process.
10. If you remembered to leave the CD-ROM in the drive, the setup application
will appear soon after the reboot. Continue the installation by following these steps:
• On the “CineCast License Agreement” screen (Figure 1-11), select the “I
Agree” radio button after reading the agreement. Then click OK. The
application will install some files.
11. If you elected to install the SDK:
• Select the “I Agree” radio button on the “CineCast SDK End User
License Agreement” screen (Figure 1-12). Click OK.
• On the Password screen (Figure 1-13), you will be asked for a password. Use
the one supplied when you purchased your Software Developer’s Kit. If you
have problems finding your password, contact Vela Support. After entering
the password, click OK. A few more files will be installed.
12. On the “Installation Complete” screen (Figure 1-14), note that CineCast 2.6
has been successfully installed. Click Finish.
13. The “Install” message box (Figure 1-10) will note that the system must be restarted. Click OK, then let the system reboot. Leave the CD-ROM in the drive.
14. After the system has been rebooted, close the setup application if it is active,
then remove the CD-ROM disc from the drive.
Software Installation
Page 33
Chapter 1 — Getting Started23
Figure 1-3. Installation Autorun Setup Screen
Figure 1-4. “Explore This CD” Screen
Software Installation
Page 34
24CineCast HD Version 2.6 Installation and User Manual
Figure 1-5. Install Welcome Screen
Figure 1-6. Destination Location Screen
Software Installation
Page 35
Chapter 1 — Getting Started25
Figure 1-7. Select Components Screen
Figure 1-8. Program Manager Group Screen
Software Installation
Page 36
26CineCast HD Version 2.6 Installation and User Manual
28CineCast HD Version 2.6 Installation and User Manual
Figure 1-13. Password Dialog Box
Figure 1-14. Installation Completion Screen
Software Installation
Page 39
Chapter 1 — Getting Started29
Installing Under Windows 2000
Just follow these steps to upgrade to version 2.6, remembering that a number of
reboots may be required during the installation process. Do not remove the CD-ROM disc from the drive until you've completed the final step.
Note: Do not install any new hardware at this time.
If CineCast decoder system software is currently installed, first uninstall the software from the Control Panel. See “Uninstalling CineCast Software” on page 36.
1. Install Windows 2000 Service Pack 2, if it is not already installed on your
system. You can download this service pack from the Internet, or you can install
it from the CD-ROM. To use the CD-ROM, follow these steps:
• From the Autorun screen (Figure 1-3), select “Explore This CD.”
• From the “Explore This CD” screen (Figure 1-4), double-click on the
System folder.
• Double-click on the “Win2k Service Pack” folder.
• Double-click on the w2ksp2.exe file.
• The application will extract files, then ask you to read a license agreement.
After reading the agreement, check the “Accept License Agreement” checkbox as well as the “Backup Files Required to Uninstall” checkbox.
• Click Install.
• Click Next, OK, or Finished to all of the screens that follow.
• If you are asked to reboot, allow the system to restart before continuing.
2. The Autorun screen should appear after the reboot. If it does not, run
setup.exe from the CD-ROM or click Start > Run.
After installing Windows 2000 Service Pack 2, if necessary, follow the instructions below to install hardware drivers. after installing any Vela hardware.
Remember that a number of reboots may be required during the install process.
Hardware Driver Installation — Windows 2000
Before installing CineCast release 2.6 system software, and after installing the
Windows 2000 Service Pack 2, follow these directions to install the hardware
drivers:
1. Shut down Windows, power off the system, and install the new hardware.
2. After reassembling the machine, power up any external decoders, such as the
CineCast HD/1 or HD/2 rack-mount decoders, then power up the host PC.
3. If the “Add New Hardware Wizard” appears, click Cancel.
Software Installation
Page 40
30CineCast HD Version 2.6 Installation and User Manual
4. If the “Digital Signature Not Found” screen appears, click Yes to continue
with the installation.
5. Insert the CD-ROM if you have not already done so. Exit the Autorun setup
screen if it appears.
6. Right click on the “My Computer” icon on the desktop. A drop-down menu
should appear. Highlight “Properties,” then click on it.
7. Click on the tab labeled “Hardware.”
8. Click on “Device Manager.” A screen similar to that of Figure 1-15 appears.
Click on the Action tab, then “Scan for hardware changes.”
9. The “Found New Hardware Wizard” will detect the Vela CineCast decoder
type. The “Device Driver Wizard” screen will appear (Figure 1-16). Click Next.
10. Wizard screen “Install Hardware Device Drivers” (Figure 1-17) appears.
Select the radio button “Search for a suitable driver for my device.” Click Next.
11. Wizard screen “Locate Driver Files” (Figure 1-18) will appear. Check
“Specify a Location,” then click Next.
12. A message box (Figure 1-19) will appear that will allow you to browse your
computer until you find a driver for the Multimedia controller. Check Browse to
select the device from the following path for the driver.
Drivers\Cinecast\Windows 2000\Cinecast.INF.
Note: When prompted for the CineCast.sys file, the directory path is the same as above.
13. When the Vela Decoder driver installation is complete, a prompt screen
(Figure 1-20) will appear: “Completing the Upgrade Device Driver Wizard.” Click
Finish. Close the screens and return to “Device Manager,” where the Vela CineCast
decoder should be recognized. Repeat steps 9–14 for each device as needed.
14. When the Vela CineCast driver installation is complete, a prompt screen
(Figure 1-20) will appear: “Completing the Upgrade Device Driver Wizard.”
Click Finish. Close screens and return to “Device Manager,” where each Vela CineCast decoder should be recognized,
15. At this time you will receive a “System Settings Change” message box (Figure
1-21). Click Yes to restart the system. If this does not occur, manually reboot your
system. Do not remove the CD-ROM disc during the restart process.
16. The setup screen should pop up after the system restart. If it does not, run
setup.exe from the CD-ROM or click Start > Run.
Proceed with the installation of CineCast system software. See “Installing CineCast 2.6 Software (Windows 2000)” on page 34.
Software Installation
Page 41
Chapter 1 — Getting Started31
Figure 1-15. System Properties Device Manager Screen
Figure 1-16. Device Driver Wizard: Welcome Screen
Software Installation
Page 42
32CineCast HD Version 2.6 Installation and User Manual
34CineCast HD Version 2.6 Installation and User Manual
Figure 1-21. System Settings Change Message Box
Installing CineCast 2.6 Software (Windows 2000)
1. Install MDAC 2.6, if it is not already installed on your system. Again you
can download this from the Internet, or you can install it from the installation
CD-ROM. To use the CD-ROM, follow these steps:
• Insert the CD-ROM into the CD-ROM drive.
• When the Autorun setup screen (Figure 1-3) appears, select the “Explore
This CD” option (Figure 1-4).
• Double-click on the “System” folder.
• Double-click on the “MDAC 2.6" folder.
• Double-click on the mdac_typ.exe.
• The application will extract files, then ask you to read a license agreement.
After reading the agreement, check the “Accept License Agreement”
checkbox. Click Next.
• If you are asked to restart, allow the system to reboot before continuing.
2. The Autorun setup screen (Figure 1-3) should appear after the system restart.
If it does not, use Windows Explorer to select and run setup.exe from the CDROM or click Start > Run.
3. From the Autorun setup screen, select Install “CineCast,” then follow the
steps listed below:
• Read the Welcome screen (Figure 1-5), then click Next.
• On the “Choose Destination Location” screen (Figure 1-6), accept the
C:\ Program Files\ Vela Research destination, as listed, by clicking Next.
Do not change the destination! The default destination is required for
proper decoder operation.
4. On the “Select Components” screen (Figure 1-7):
Software Installation
Page 45
Chapter 1 — Getting Started35
• If you have not yet run the MFC update option for this release, check the
“MFC Update” checkbox on the “Select Components” screen. This step
needs to be done only once. If you check this box, there will be an extra set
of steps automatically included in the procedure specified below— and the
installation procedure will require an additional system restart. Just follow
the instructions presented by the MFCupdate.exe installation application.
• Under Required Components on the “Select Components” screen, check the
“Core Decoder Modules” checkbox.
• Click Next to proceed with the installation of the selected components.
• On the “Select Program Manager Group” screen (Figure 1-8), accept Vela
Research by clicking Next.
• On the “Start Installation” screen (Figure 1-9), click Next.
• A “DO NOT REMOVE THE CD” message box will display as a reminder
that a number of reboots may be required during the installation process.
Click OK to continue.
• If you have chosen to run the MFC Update option, the installation process
will begin here to copy files. Note: If you have not already done so, you
must run the “MFC Update” and “Core Decoder Modules” under Required
Components. These two check-boxes must always be checked when requesting the SDK — This insures proper installation of the SDK.
• On the “Install” message box (Figure 1-10), note that the system must be
restarted. Click OK, and then wait as the system reboots. Leave the CD-
ROM in the drive through the system restart process.
5. If you remembered to leave the CD-ROM in the drive, the setup application
pops up immediately after the reboot. Continue with the installation by following
these steps:
• On the “CineCast End User License Agreement” screen (Figure 1-11), select
the “I Agree” radio button after reading the agreement. Then click OK.
The application will install some files.
6. If you elected to install the SDK:
• Select the “I Agree” radio button on the “CineCast SDK End User License
Agreement” screen (Figure 1-12). Click OK.
• On the Password screen (Figure 1-13), you will be asked for a password. Use
the one supplied when you purchased your Software Developer’s Kit. If you
have problems finding your password, contact Vela Support. After entering
the password, click OK. A few more files will be installed.
Software Installation
Page 46
36CineCast HD Version 2.6 Installation and User Manual
7. On the “Installation Complete” screen (Figure 1-14), note that CineCast 2.6
has been successfully installed. Click Finish.
8. The “Install” message box (Figure 1-10) will note that the system must be restarted. Click OK, then let the system reboot. Leave the CD-ROM in the drive.
9. After the system has been rebooted, close the setup application if it is active,
then remove the CD-ROM from the drive.
Uninstalling CineCast Software
If, at some point, you need to uninstall CineCast decoder system software,
always use the Windows Control Panel > Add/Remove Programs application.
Never manually remove any files installed by the installation process, unless
specifically directed, as doing so may prevent proper removal of some or all of
the files installed. Note that complete removal of the product with Add/Remove
Programs is possible only if the product was originally installed in the default
target folder created by the install process.
In most cases, when you upgrade to version 2.6, you'll be removing a previous
version of CineCast software. To uninstall that previous version of software, consult the user's manual that you received when you installed it. At some point, you
may need to uninstall CineCast version 2.6 from your system. To do so, just
follow the steps below.
• On the software list that is displayed when you select “Add/Remove
Programs” from the Control Panel, click on the entry that begins with
the phrase “Vela Research, Software Version ….” Then, on the Uninstall
Information panel, click OK.
• When asked to select the uninstall method, select “Automatic” and click Next.
• You may see a message indicating that a particular file is no longer being
used by any program. Click “Yes to All” to delete it and any other such files.
• On other screens that may appear, Click on Next or Finish until the uninstall process is complete.
• After you click Finish on the last screen of the uninstall procedure, you will
be asked to restart the system. Click OK, and allow the system to restart.
When the system has finished rebooting, there should be no file entries in the
C:\Program Files\Vela Research folder. If you find files or folders remaining
in the
C:\Program Files\Vela Research folder, delete them manually.
Software Installation
Page 47
Chapter 1 — Getting Started37
Application Development
Vela offers a Windows-based SCSI Software Developer’s Kit (SDK) which
includes dynamic linked libraries (DLLs) and documentation of function calls,
permitting programmers to design specialized functionality for the CineCast
HD decoder. The Vela CineCast SCSI SDK includes the following:
• SCSI Application Programming Interface (API) source documentation of
function calls.
• Sample applications for Visual C++ 6.0 and Visual Basic 6.0.
• Sample application source code examples.
Contact Vela for pricing and availability of the CineCast SDK. Vela’s Customer
Service number is (727) 507-5301. You may also contact the Vela representative
serving your geographic region to obtain the SDK. Note that installation of the
SDK is a password-protected process. Included with the SDK is a authenticated
password that allows installation of the SDK and accompanying files.
Along with the optional SDK, the setup program installs Microsoft Visual Basic™
and Microsoft Visual C++™ sample applications that can be used to decode and
play MPEG encoded files through the CineCast Prime. The SDK requires versions
6.0 or higher of Visual Basic and Visual C++.
Customer Support
In the event of problems with your CineCast HD decoder, do not hesitate to contact Vela Training and Support using the following methods:
• Phone: (727) 507-5301
• E-mail: support@vela.com
• World Wide Web — http://www.vela.com
Application Development
Page 48
38CineCast HD Version 2.6 Installation and User Manual
Figure 1-22.CineCast HD Decoder Chassis Layout
Customer Support
Page 49
Chapter 1 — Getting Started39
Figure 1-23.CineCast HD Rear Panel View
Customer Support
Page 50
40CineCast HD Version 2.6 Installation and User Manual
Figure 1-24.CineCast HD Cable Assembly, P/N 6000-0165
Customer Support
Page 51
Chapter 1 — Getting Started41
Figure 1-25.CineCast HD Cable Assembly, P/N 6000-0166
Customer Support
Page 52
Page 53
Chapter 2
Decoder Command Set Guide
SCSI Decoder Command Set
This command set for the Vela CineCast HD decoder family performs per the
SCSI-2 Standard. Contact Vela for the latest firmware revision and complete
information on the command set, if needed.
SCSI Command Sequence from Power-up, SCSI
Reset, or Bus Device Reset
The CineCast HD decoder will report Check Condition to the first SCSI command (excluding
seeing the check condition, should respond by performing a
Per SCSI recommendations, the initiator should renegotiate for synchronous data
transfers and wide transfers. This is done to enable hot swap capability and proper
negotiation for Sync and Wide data.
INQUIRY and REQUESTSENSE). The host adapter (initiator), after
REQUESTSENSE.
SCSI Command NameOperation CodeSCSI-2 Section Number
Inquiry12h8.2.5
Mode Sense1Ah8.2.10
Decoder Command45hCustom Command
MPEG PlayA5hCustom Command
Read Capacity25h9.2.7
Request Sense03h8.2.14
Test Unit Ready00h8.2.16
MPEG Write (10)2Ah9.2.21
Write Buffer3Bh8.2.17
Table 2-1. Command and Status Processing List
The decoder will report Check Condition for all commands except
REQUESTSENSE from a Power-up, SCSI Reset, or Bus Device Reset.
INQUIRY and
Page 54
44CineCast HD Version 2.6 Installation and User Manual
To enable all commands, the following sequence must be performed:
INQUIRY
TEST
UNITREADY(Will report check condition)
REQUESTSENSE
TEST
UNITREADY(Optional, will report Good status)
This command sequence is typically performed automatically by the SCSI host
adapter (initiator) during power-up. Following the above sequence, all decoder
commands will be active.
SCSI Command Description
The following command descriptions contain detailed information on the SCSI
commands that are supported by the CineCast HD decoder.
Command fields within SCSI Command Descriptor Blocks are supported as
follows:
Logical Unit Number (LUN)
Ignored by the decoder. Per SCSI-2 recommendations this field should be set to
0. This field was used for SCSI-1 devices, but is now reserved. SCSI-2 requires
Logical Unit Number to be specified in the Identify message, not in this field.
Reserved
Reserved bits, fields, bytes, and code values are set aside for future standardization and must be set to zero. If the decoder receives a command that contains
non-zero bits in a reserved field or a reversed code value, the command is terminated with a Check Condition status. The sense key (read via a
is set to
ILLEGALREQUEST.
REQUESTSENSE)
Control
The control byte is the ending byte of all SCSI Command Descriptor Blocks and
has the following format:
Bit
Byte
0
765
43210
ReservedFlagLinkVendor Specific
Table 2-2. Control Byte Format
NOTE: The control byte of each SCSI command must be zero. Linked commands are
not supported by the decoder.
Page 55
Chapter 2 — Decoder Command Set Guide45
INQUIRY Command
(OpCode 0x12, 6 bytes)
The INQUIRY command allows the initiator (host adapter) to determine the kind of
SCSI devices attached to its SCSI Bus. It causes a device that is attached to a
SCSI bus to return information about itself. Since the function of the SCSI decoder does not fit into any of the standard SCSI device types, a new device type has
been defined. The function of the MPEG decoder is similar to a Direct Access
Storage Device, e.g., a hard disk, but also has characteristics of a CD-ROM. The
MPEG decoder can be viewed as a write-only device.
The decoder can provide two categories of data in response to an
INQUIRY com-
mand: Standard Inquiry Data and Vital Product Data. Standard Inquiry Data
contains basic data about the decoder, and Vital Product Data comprise several
pages of additional data. Each Vital Product Data page requires a separate
INQUIRY command from the initiator.
Table 2-3. INQUIRY Command Descriptor Block
EVPD
Enable Vital Product Data. If 0, the decoder returns the Standard Inquiry Data
page; if 1, the decoder returns the Vital Product page specified in Page Code.
Page Code
Specifies the Vital Product Data page to be returned.
Allocated Length
Specifies the number of bytes of inquiry
information to be returned to the initiator.
INQUIRY Command
Page 56
46CineCast HD Version 2.6 Installation and User Manual
Standard Inquiry Data
This is returned when EVPD = 0 with a Page Code = 0. If Page Code is not
zero with EVPD = 0, a Check Condition status is returned. Size of the Standard
Inquiry data is 56 bytes.
Table 2-4. Standard Inquiry Data Block Format
Standard Inquiry Data
Page 57
Chapter 2 — Decoder Command Set Guide47
Standard Inquiry Data Description
Peripheral Qualifier0
Peripheral Device Type0Ch (MPEG SCSI Decoder)
RMB0
Device-Type Modifier0
ISO Version0
ECMA Version0
ANSI-Approved Version2 (SCSI-2)
AENC0 (Asynchronous Event Notification not implemented)
TrmIOP0 (Terminate I/O Process not supported)
Response Data Format2 (SCSI-2 data format)
RelAdr0 (Relative Address not supported)
WBus320
WBus161 (16-Bit SCSI)
Sync1 (Synchronous Data Transfers)
Linked0 (Linked commands not supported)
CmdQue0 (Command Tag Queing not supported)
SftRe0 (Hard Reset option of SCSI-2 implemented)
Vendor Identification“Vela” in ASCII (bytes 8-15)
Product Identification “CineCast HD” in ASCII (bytes 16-31)
Product RevisionNumerical revision in ASCII (bytes 32-35)
Unit Serial Number“Unknown” in ASCII (bytes 36-51)
ReservedBytes 52-55
Standard Inquiry Data
Page 58
48CineCast HD Version 2.6 Installation and User Manual
Vital Product Data Pages
Vital Product Data pages are supported for obtaining additional information about
the decoder. The Vela HD decoder supports the following Vital Product Data pages:
Page CodeVital Product Data
00hSupported Vital Product Data Pages
80hUnit serial number page
C0hRevision page
Supported Vital Product Data Page (00h)
This page lists the Vital Product Data pages supported by the HD. The size of the
Supported Vital product Data page is eight bytes.
Bit
Byte
0
1
2
3
4-6
765
43210
Peripheral Qualifier = 0Peripheral Device Type = 0Ch
Page Code (00h)
Reserved
Page Length = 4
Support Page List:
00h Supported vital product data pages
80h Unit serial number page
C0h Revision page
7
Table 2-5. Vital Product Data Page Format
Reserved
Unit Serial Number Page (80h)
This page returns the serial number of the decoder. The size of the Unit Serial
Number page is 20 bytes, and currently reports the serial number as “unknown”
in ASCII.
Vital Product Data Pages
Page 59
Chapter 2 — Decoder Command Set Guide49
Bit
Byte
0
1
2
3
4-19
765
43210
Peripheral Qualifier = 0Peripheral Device Type = 0Ch
Page Code (80h)
Reserved
Page Length = 16
Unit Serial Number in ASCII
Table 2-6. Unit Serial Number Page Format
Revision Page (C0h)
This page returns the various revision codes of hardware and firmware (microcode) components which make up the CineCast HD decoder.
NOTE: All fields in bytes 4-43 are ASCII characters
Table 2-7. Revision Page Format
Vital Product Data Pages
Page 60
50CineCast HD Version 2.6 Installation and User Manual
Decoder Firmware Revision
Returns revision of decoder firmware, which is the same as that reported in the
product revision field of the Standard Inquiry data.
Programmable Logic (PLD) Revision
Returns revision of the programmable logic.
FPGA Revision
Returns revision of the FPGA.
SCSI Controller Hardware Revision:
Returns the hardware revision of the SCSI controller. Current revision is “117."
SCSI Controller Firmware Revision
Returns the firmware revision of the SCSI controller. Current revision is “0910.”
TL850 Revision
Returns revision of the MPEG decoding hardware.
Firmware Build Date
Returns eight ASCII characters reflecting the build date of the firmware, e.g.,
“01/10/98”.
MPEG PLAY Command
(OpCode 0xA5, 12 bytes)
This is an OpCode taken from the CDROMPLAYAUDIO (12) command which is
used to start decoder playback. This command is the primary mechanism for
controlling decoder playback.
The power-up default video resolution is the last selected resolution. To change
resolutions, decoder (45h) command with command code 001Bh must be used.
MPEG PLAY Command
Page 61
Chapter 2 — Decoder Command Set Guide51
Table 2-8. MPEG PLAY Command Format
Error Recovery on Data Under Flow (ErrRcvy)
Determines how the decoder handles a data starvation condition. When set to
zero (default), and when the decoder uses up all data in the DRAM buffer, the
decoder will end playback and force the screen to black. This happens when the
host is not sending data fast enough to keep up with the playback rate. This is a
fatal playback error, in which the decoder is informing the host system that playback has stopped. The decoder will return the following on the next
WRITE (10):
SCSI StatusCheck Condition
Sense Key03h Medium Error
Additional Sense Code and Qualifier0005h End-of-Data Detected
RESETBUFFER command, new data [via WRITE (10)], and a new MPEGPLAY
A
command are required before playback can start again.
When set to 1, the decoder will automatically enter a Pause state when the
MPEG PLAY Command
Page 62
52CineCast HD Version 2.6 Installation and User Manual
decoder detects that the DRAM buffer is empty. The decoder will wait for eight
64-K buffers to be filled before resuming playback. This mode requires that a
RESETBUFFER be sent at the end of a stream, so the decoder knows the differ-
ence between the data underflow and the end of a stream. Also, the decoder
keeps a count of the number of times this data underrun condition occurs.
Refer to Mode Page (30h).
Mid-Stream Start (Midstrm)
By setting this bit to 1, the decoder will automatically find the first valid sequence
header before starting playback. This allows the start of playback in a random
position within an MPEG file. (This feature may delay video start-up by a few
frames. The end result will be more black between back-to-back videos.)
Autodetect must be used with mid-stream starts. By setting this bit to 0, the
decoder assumes that the MPEG stream begins on a valid sequence header.
Automatic Pause on First Visible Frame (Pause)
When this bit is set to 1, the decoder begins playback, but automatically pauses
on the first non-black video frame. This depends on the value of Pre-Black. Once
paused, use the
pause. Alternatively, the
DECODER(45H) command with code 0012h to resume from
FRAMEADVANCE (010F) command can be used to
advance one video frame.
Trigge r
When this bit is set to 1, the decoder waits for the trigger event (as defined in Trigger
Event) to occur before beginning playback.
Stream TypeHex Code
Autodetect00h
MPEG-2 Transport Stream28h
NOTE: All other stream type codes are reserved.
Autodetect
If the stream type is set to 00h, the decoder will parse the beginning of the stream
to determine stream type. The CineCast HD decoder currently only supports
MPEG-2 Transport streams.
Pre-Black
8-bit pre-black interval in video frames. A value of 0h uses default pre-black (first
frame). To display the first frame of video with no pre-black frames, set a value of 1.
NOTE: The CineCast HD does not currently support pre-black.
MPEG PLAY Command
Page 63
Chapter 2 — Decoder Command Set Guide53
Post-Black
16-bit post-black interval in video frames. A value of 0h uses the default of eight
frames. In Single playback mode, this field specifies the minimum number of black
frames until starting the next play. A value of 0h uses the default of eight frames.
In Switched playback mode, this field represents the amount of black which is
inserted between the switched playback. A value of 0 means no black is inserted
before changing channels.
NOTE: The CineCast HD does not currently support post-black.
Frame Count
32-bit frame count in video frames. Video and audio will play back for this specified number of frames. A value of 0h plays in non-frame count mode.
NOTE: The CineCast HD does not currently support frame count.
Trigge r Event
When Trigger = 1, this field determines which event will start (trigger) the playback.
Trigger Source
Value
0000b Hardware trigger using GPIN1 (default)
0001b Hardware trigger using GPIN2 (VMB)
Source Event
To cancel a pending Triggered Playback, use the Stop command (decoder command 45h with command code 0023h). To override the Triggered Playback, send
the command “Resume from Pause” (0012h). This will cancel the wait for trigger
and force playback to begin immediately.
For a Hardware Trigger based on either GPIN1 or GPIN2, the decoder waits for
the trigger discrete input (GPIN1 or GPIN2) to be closed (grounded) before
beginning playback. GPIN2 is located on the Vela Media Bus (VMB).
DECODER Command (45h)
(OpCode 0x45, 10 bytes)
This is an OpCode taken from CDROMPLAYAUDIO (10), which is used to control
decoder operation. This OpCode is for experienced users who desire additional
control over the decoder’s operation. Format of the command is:
DECODER Command (45h)
Page 64
54CineCast HD Version 2.6 Installation and User Manual
Table 2-9. Decoder Command Format
Supported Commands
ValueDecoder CommandSupported?/Notes
0000Soft Reset Audio/VideoYes
0004Set Time CodeYes
0005LTC Time Code Config. Yes
0006Reserved
0007Reserved
0008Set Audio GainYes/Replaces 002fh
0009Reserved
000AReserved
000BReserved
000CSlow MotionYes
000D Fast MotionYes
000E Closed Captioning ReorderingNo
000FPause Video (freeze frame)
& frame advance Yes
0010 Freeze Frame No
0011Flush Channel Buffer
DECODER Command (45h)
Page 65
Chapter 2 — Decoder Command Set Guide55
(same as 0021)Yes
0012Resume Play (from Pause) Yes
0013Mute Audio Yes
0014Unmute Audio Yes
0015Set Stand-alone mode
(Genlock disable) Yes
0016Set Genlock Mode Yes
001AResume from Slow or
Fast Motion Resume Yes
001BDefault Resolution Setup Yes/Sets HD output resolution.
001DFlush Inline Commands Yes
0021Buffer Reset and Pause on
Last FrameYes
0023Stop Yes
0024 Set Frame CountYes
0026Film Mode (24 frames/sec) No/Command ignored by F/W.
0028Select Audio/Video Stream ID No
0029Video Encoder Register
Address SetupYes
002AVideo Encoder Data Yes
002BError Mask Yes
002CBuilt-in Test Pattern
(Color Bars) Yes (color bars only)
002DBlank/Unblank Video Yes
002FVolume Control No/Use Set Audio Gain (0008h) instead.
0030Enable Playback Status
Return Enable/DisableNo
0032Wait for Condition No
0033 Set Background ColorYes/Black, Blue, or user-selectable
background color.
0034Video Format No
0035Read Back Frame Count Yes/Command not necessary.
0036Set PAL Buffer Model No
0037 Second Channel Audio ModeNo
0038Video Level (Luma)
Adjust Luma ValueNo
DECODER Command (45h)
Page 66
56CineCast HD Version 2.6 Installation and User Manual
0039Switch Audio Input SelectNo
003A Set Output DiscretesYes
003DSet Transport Program ID (PID) Yes
003ESet Freeze Field/Frame Yes
0046Genlock to SDI Timing Adjustment Yes
0047Video/Audio FadeYes
Inline: When set to 0, commands are executed immediately; when set to 1, commands executed “inline.” “Inline” commands will remain pending until the specific
event occurs, as defined in Inline Mode.
InLine Mode: Determines by what event the inlined command is activated. The
following table illustrates typical inline modes and event triggering commands:
Inline
Mode
Inline Event Triggering Command Execution
0001bOutput SMPTE Time Code Mode: Command will remain pending until a
specific output time code (either MPEG GOP time code or extracted VITC
time code) is reached. Use command 0004 Set Time Code to set the specific time code.
0010bReserved
0011bFrame Count Mode: Command will remain pending until a specific frame
count is reached. Use command 0024 Set Frame Count to set the specific
frame count.
0100bPlayback Start: Command will remain pending until MPEG play has
started.
0101bPlayback End: Command will remain pending until MPEG play has
stopped.
0110bGPIN1 Active: Command will remain pending until GPIN1 is activated
(grounded).
0111bGPIN1 Inactive: Command will remain pending until GPIN1 is deacti-
vated (open).
1000bGPIN2 Active: Command will remain pending until GPIN2 is activated
on VMB.
DECODER Command (45h)
Page 67
Chapter 2 — Decoder Command Set Guide57
Inline
Mode
1001bGPIN2 Inactive: Command will remain pending until GPIN2 is
The decoder will allow four commands to be “inline.” Command code 001d will
flush any pending inline commands. When playback stops, pending inline commands using MPEG Data Mode are flushed. Also the following inline commands
are flushed (regardless of inline mode) at the end of play: Slow Motion, Fast
Forward, Pause, Freeze Frame, Mute, Unmute, and Blank.
The following table shows when the command can be sent: before MPEG Play is
sent, or during playback as an Immediate or Inline command. (“Immediate” means
that, during playback, the command is executed immediately when received.)
Command
Code
0000Soft Reset Audio/VideoXXX
0004Set Time CodeXX
0005LTC Time Code ConfigurationX
0008Set Audio GainXXX
000CSlow Motion XX
000DFast Motion XX
000FPause VideoXX
010FFrame Advance XX
0011Flush Channel BufferXX
0012Resume Play (from Pause)XX
Function Name
Before
Play
DECODER Command (45h)
ImmedInline
Page 68
58CineCast HD Version 2.6 Installation and User Manual
Command
Code
0013Mute AudioXXX
0014Unmute AudioXXX
0015Set Stand-Alone mode (Genlock disable)X
0016Set Genlock ModeX
001AResume Normal Play from Slow or Fast
Motion
001BDefault Resolution SetupX
001DFlush Inline CommandsXX
0021Buffer Reset and Pause on Last FrameXX
0023StopXX
0024Set Frame CountX
Function Name (Continued)
Before
Play
ImmedInline
XX
002BError MaskXX
002CBuilt-in Test Pattern (Color Bars)X
002DBlank/Unblank VideoXXX
002FVolume ControlXXX
0033Set Background ColorX
003ASet Output DiscretesXXX
003DSet Transport Program ID (PID)X
003ESet Freeze Field/FrameXX
0046Genlock to SDI Timing AdjustmentX
0047Video/Audio FadeXXX
Command Code Description
0000 Soft Reset, Audio/Video: This command performs a reset of the audio and
video circuits and forces the screen to black or selected background color.
0004 Set Time Code: This command passes a SMPTE time code to the decoder
DECODER Command (45h)
Page 69
Chapter 2 — Decoder Command Set Guide59
for use with a subsequent command. The time code is defined in the 32-bits of
data as shown: This command has four different uses:
Table 2-10.Time Code Command Description
• Set User Defined starting time code (used in place of GOP header time code):
1. Send “Set Time Code” (command 0004h) with specific starting
time code.
2. Send “LTC Time Code Configuration” (command 0005h) command
with bits 11&10=01b.
• Execute an Inline trick mode (e.g., Pause or Stop) at a specific time code:
1. Send “Set Time Code” (command 0004h) with specific time code.
2. Send decoder command (such as Stop or Pause) with fields “Inline” =
1 and “Inline Mode” = 011b.
0005 LTC Timecode Configuration: This command configures the LTC output.
Command BitsFunction NameComments
Bits 8 & 9Reserved
Bits 11–10Output Time
Code Source
Bits 15–12ReservedReserved
00b = Use GOP header SMPTE time code (default)
01b = Use user-defined starting time code. See
command 0004h, “Set Time Code.”
10b, 11b = Reserved
0008 Set Audio Gain: Each audio output has an adjustable gain control from
0dB to -128dB. The host must pass a gain value in dB. The parameter passed to
the firmware is the gain in dB times 16, giving a resolution of 1/16 dB. The host
DECODER Command (45h)
Page 70
60CineCast HD Version 2.6 Installation and User Manual
passes a 12-bit signed (two’s complement) value of the gain for both the primary
and secondary outputs. 32-bits of data are used to pass the gain parameter.
• Byte 4 & 5 — Primary Audio Gain
• Byte 6 & 7 — Secondary Audio Gain
Examples of Actual Gain Parameters
Actual Gain
0.0dB0x000
-2.5dB0xfd8
-12dB0xf40
-128dB0x800
Gain Parameter
(Gain x 16)
Any gain value requested which is outside the valid range will be limited to
0dB to -128dB. Default power-up gain is 0dB, which provides unity gain from
Vela encoders through the CineCast HD decoder.
Bits 8 and 9 of the command determine the analog headroom of 18dB or 20dB.
This only effects the analog outputs and does not affect the digital/embedded
audio. Default is 18dB headroom, matching Vela audio/video encoders.
Command BitsFunction NameComments
Bit 8Primary Headroom 0 = 18dB Headroom
1 = 20dB Headroom
Bit 9Secondary Headroom0 = 18dB Headroom
000C Slow Motion: This commands slows the playback rate. A three-bit field
(bits 8-10 of the command) determines playback speed.
Bits 10–8Playback Speed
000bNormal rate (each frame is displayed once)
001bSlower rate (each frame is displayed twice)
DECODER Command (45h)
1 = 20dB Headroom
Page 71
Chapter 2 — Decoder Command Set Guide61
Bits 10–8Playback Speed
111bSlowest rate (each frame is displayed eight times)
Use command 001Ah to resume normal playback rate. This mode is reset on a
new playback.
000D Fast Forward: This command increases the playback rate. The decoding
hardware will only display the I- and P-frames from the MPEG stream, skipping
all B-frames. Use command 001Ah to resume normal playback rate. This mode is
reset on a new playback.
NOTES: (1) Fast Forward increases the playback rate, which increases the decoder’s
demand for data; therefore, the system must be capable of handling this increased
throughput.
(2) Bit rates higher than 40Mbps may result in break-up and data underflow problems,
forcing a return to Play mode.
(3) An MPEG stream comprised only of I-frames or IP-frames cannot be fast-forwarded.
000F Pause Video/Frame Advance:
Pause (000Fh): Stops playback on current frame, freezing the video image.
Use Resume command to resume playback.
Frame Advance (010Fh): Once in pause mode, sending the Pause command
with bit 8 set will frame advance the number of video frames indicated in the
32 bits of data. When the 32 bits of data is 0 or 1 the decoder will frame advance by 1 video frame.
NOTE: Once the decoder has been Paused, additional MPEG data (via the write 10
command) should not be sent. If all the MPEG buffers become full while in Pause, the
next write 10 will never complete. This usually results in a SCSI command timeout from
the host adapter (initiator) which causes a Bus Reset. If more MPEG data is sent, the
application must check Mode Page 30h (via mode sense command) to be sure there is
sufficient room in the MPEG buffers (bytes 14 and 15). When Frame Advance is used,
the decoder will require additional MPEG data when advancing many frames.
0011 Flush Channel Buffer: Stops playback after all data in the decoder’s buffers is used. Equivalent to
RESETBUFFER (0021h).
0012 Resume Play (from Pause): Resumes playback after a pause.
0013 Mute Audio: Mutes the audio output.
0014 Unmute Audio: Unmutes audio output. Disabled during Fast Forward,
Slow Motion, and Pause.
DECODER Command (45h)
Page 72
62CineCast HD Version 2.6 Installation and User Manual
0015 Set Stand-Alone Mode (Genlock Disable): Default mode of the decoder.
0016 Set Genlock Mode: This enables the decoder to synchronize to the gen-
lock input source.
• Bit 8 of the command is reserved.
• Bit 9 of the command allows for automatic switching to Standalone
mode upon detection of loss of genlock.
• Bits 10-15 of the command are reserved.
Bit 9Loss of Genlock, switch back to Standalone
0Feature disabled (default)
1Enables feature. When the decoder detects a loss of genlock,
the decoder will automatically switch back to standalone mode.
This feature requires that Error Reporting be enabled, i.e., decoder (45h) command, command code 002Bh, with bit 10 set to 1 to enable Genlock Loss
reporting. When genlock input is not detected during playback, the decoder
will switch back to Standalone mode and return the following error:
Recovered
Error, Genlock Sync Lost.
SCSI StatusCheck Condition
Sense Key01h
Additional Sense Code and Qualifier6100h
Additional Sense Bytes 18 & 190107h
The decoder from that point on will remain in Standalone mode until genlock
mode is re-enabled by the host.
The genlock hardware requires a genlock resync, which results in a momentary
picture glitch, jump, or white flash when genlock mode is first enabled. The
genlock resync will occur 3–4 seconds after one of the following conditions:
1. The first time the decoder is put into genlock mode (via the Genlock
command 0x0016).
2. When genlock is enabled and the video output resolution is changed.
DECODER Command (45h)
Page 73
Chapter 2 — Decoder Command Set Guide63
3. After a loss of genlock. The genlock resync will occur upon reacquisition and detection of the genlock signal.
001A Resume from Slow or Fast Motion: This command is used to restore
normal playback rate after Slow or Fast Motion.
001B Output Resolution Setup: This command is use to select the output video
resolution from the various HD resolutions available 1080i, 720p, 480p, and
480i. The HD decoder hardware provides up-conversion and down-conversion of
source video (MPEG stream) to the selected display format. The CineCast HD
provides Serial Digital, Analog HD RGB or YPbPr, and a down-converted analog
composite SD output. The upper 8-bits of the 16-bit Command (0x001B) are not
used. Three fields within the 32-bit data define the Display Group, Display Timing, and HD Analog Video Output Type.
Allows the choice of one of 15 display groups. See table below.
Display Timing Parameter
Allows the choice of one of several format resolutions within the display group, see
the table that starts on the next page. The most common ATSC resolutions are:
1080i1920H x 1080V interlaced
720p1280H x 720V progressive (non-interlaced)
480p 704 or 720H x 480V progressive (non-interlaced)
480i704 or 720H x 480V interlaced
DECODER Command (45h)
Page 74
64CineCast HD Version 2.6 Installation and User Manual
HD Analog Video Output Type
Selects various YUV or RGB sync options for analog HD video output.
HD Analog Video
Output Type
1RGB with composite H/V sync on Green
2YP
3RGB with separate H and V syncs (PC monitor)
Color Space and Sync
with composite H/V sync on Y
bPr
DECODER Command (45h)
Page 75
Chapter 2 — Decoder Command Set Guide65
Display
Group
3SDTV Display
2SDTV Display
1HDTV Display
4720 x 483p 59.94Hz
4:3
16:9
16:9
Mode Name
Display
EIA-770.2Standard
EIA-770.2Wide screen
EIA-770.3Wide screen
Standard
Video
Display Group / Display Timing (Resolution) Setup
aspect 4:3
2720 x 480i 29.97HzYes
3704 x 480p 59.94HzYes
1704 x 480i 29.97HzYes
2720 x 480i 29.97HzYes
3704 x 480p 59.94HzYes
resolution**
0Output resolution equals MPEG
4720 x 483p 59.94Hz
16:9
21280 x 720p 59.94HzYesYes
31920 x 1080i 30HzYes
1704 x 480i 29.97HzYes
0Output resolution equals MPEG
resolution**
41920 x 1080i 29.97Hz
(Power-up default)
monitor 16:9
11280 x 720p 60HzYes
0Output resolution equals MPEG
resolution**
Description
Parameter
Display
Timing
Display Timing Description
SDI Output
YesYes
Support
Composite
Support
Output
DECODER Command (45h)
Page 76
66CineCast HD Version 2.6 Installation and User Manual
Output
Support
Composite
Support
SDI Output
Display
Video
Display
Display Timing Description
Timing
Description
Standard
Mode Name
0Output resolution equals MPEG
resolution**
resolution**
11920 x 1080i 30HzYes
21920 x 1080i 29.97HzYesYes
0Output resolution equals MPEG
31920 x 1080i 25HzYes
11280 x 720p 60HzYes
21280 x 720p 59.94HzYesYes
0Output resolution equals MPEG
resolution**
1720 x 483p 59.94Hz
0Output resolution equals MPEG
resolution**
1720 x 484I 29.97hZYes
2704 x 484I 29.97hZYes
Parameter
16:9
SMPTE 274MWide screen
16:9
16:9
SMPTE 296MWide screen
16:9
16:9
SMPTE 293MWide screen
16:9
aspect 4:3
NTSC
SMPTE 170MStandard
4:3
41080i Display
Group
Display
DECODER Command (45h)
5720p Display
6480p Display
7NTSC Display
Page 77
Chapter 2 — Decoder Command Set Guide67
Display
Group
9All formats
8All formats
4:3
16:9
Mode Name
Display
EIA-770.3
EIA-770.3
EIA-770.2
Standard
aspect 4:3
21920 x 1080i 29.97HzYesYes
31280 x 720p 60HzYes
41280 x 720p 59.94HzYesYes
5720 x 483p 60Hz
6720 x 483p 59.94HzYes
11920 x 1080i 30HzYes
21920 x 1080i 29.97HzYesYes
31280 x 720p 60HzYes
41280 x 720p 59.94HzYesYes
5720 x 483p 59.94HzYes
6720 x 484i 29.97HzYes
resolution**
0Output resolution equals MPEG
7720 x 484i 29.97HzYes
EIA-770.2
16:9
11920 x 1080i 30HzYes
resolution**
Wide screen
0Output resolution equals MPEG
Standard
Video
Description
Parameter
Display
Timing
Display Timing Description
SDI Output
Support
Composite
Support
Output
DECODER Command (45h)
Page 78
68CineCast HD Version 2.6 Installation and User Manual
Output
Support
Composite
Support
SDI Output
Display Timing Description
Timing
Display
Parameter
Description
Video
Standard
resolution**
0Output resolution equals MPEG
Wide screen
monitor 16:9
EIA-770.3
SMPTE 293M
11920 x 1080i 30HzYes
21920 x 1080i 29.97HzYesYes
31280 x 720p 60HzYes
41280 x 720p 59.94HzYesYes
5720 x 483p 60Hz
6720 x 484p 59.94HzYes
resolution**
0Output resolution equals MPEG
Standard
aspect 4:3
EIA-770.3
SMPTE 293M
resolution**
11920 x 1080i 30HzYes
21920 x 1080i 29.97HzYesYes
31280 x 720p 60HzYes
41280 x 720p 59.94HzYesYes
5720 x 483p 59.94HzYes
0Output resolution equals MPEG
Standard
1720 x 576i 50Hz
aspect 4:3
Display
Mode Name
16:9
4:3
4:3
10PC monitor
Group
Display
DECODER Command (45h)
11PC monitor
12PAL display
Page 79
Chapter 2 — Decoder Command Set Guide69
** Output resolution equals MPEG resolution. The output display timing will be changed automatically to match the video resolution
NOTES:
(1) Resolution is Horizontal pixels x Vertical pixels (H x V); “i” interlaced or “p” progressive display, and frame rate.
(2) SDI output is supported only for 1080i and 720p formats.
(3) Down-converted analog SD composite output supported only at frame rates of 29.97Hz or 59.94Hz.
(4) Power-up defaults are 1080i, Display Group 1, Display Timing 4 (1920 x 1080i, 29.97Hz).
contained in the MPEG stream.
15Special
14SMPTE 259M
13ARIB VBI
Display
Group
31440 x 484i 29.97Hz
displays 16:9
16:9 PAL
16:9
Mode Name
Display
SMPTE 259MWide screen
Wide screen
monitor 16:9
11920 x 480p 60Hz
21920 x 480p 59.94Hz
0Output resolution equals MPEG
resolution**
monitor 16:9
21920 x 1080i 29.97HzYesYes
31280 x 720p 60HzYes
41280 x 720p 59.94HzYesYes
5720 x 480p 59.94HzYes
6720 x 484i 29.92HzYes
11920 x 1080i 25HzYes
0Output resolution equals MPEG
resolution**
monitor 16:9
11920 x 1080i 30HzYes
resolution**
Wide screen
0Output resolution equals MPEG
Standard
Video
Description
Parameter
Display
Timing
Display Timing Description
SDI Output
Support
Composite
Support
Output
DECODER Command (45h)
Page 80
70CineCast HD Version 2.6 Installation and User Manual
001D Flush Inline Commands: Commands which are sent as “inline” can be
flushed by sending this command.
0021 Buffer Reset/Pause on Last Frame: Used in the playback sequence to
reset the MPEG buffer pointers before starting download of MPEG data to the
decoder. This can also be used to end playback after all data in the decoder’s
buffers are used. When bit 8 of the command is set, the decoder will freeze
frame on the last decoded picture of the MPEG stream.
0023 Stop/Stop with Freeze Frame: Stops video playback.
0023 Stop: Forces the screen to black at stop.
0123 Stop: Freezes frame of last image at stop.
0024 Set Frame Count: This command is sent before an “inlined” decoder
command, such as Stop or Pause, to set the desired frame count. The 32-bits of
data contain the desired frame count.
• Sequence to execute an inlined decoder command on a specific
frame count:
1. Send command 0024h “Set Frame Count” with the 32-bits of data set
at desired frame count.
2. Send decoder command (such as Stop or Pause) with fields Inline = 1
and Inline Mode = 011b.
0026 Film Mode (24 frames/second): This command is ignored by firmware,
as it is no longer required. Film mode is automatic.
0029 IIC Register Address Setup: Used in conjunction with command 002A to
allow the user to customize various parameters of the output NTSC/PAL video
encoder. Also provides IIC access to a Serial EEPROM. The 32-bits of data are
defined as follows:
32-bit DataFunction
13–15
(Device Select Bits)
8–12
(Command Bits)
0x0 — 7121 (Video Encoder)
0x1 — Serial EEPROM (reserved for factory use only)
0x06 — Register Write
0x07 — Register Read
0–7
(Register Number)
DECODER Command (45h)
0x00 to 0x7F (for SAA7121)
0x00 to 0xFF (for Serial EEPROM)
Page 81
Chapter 2 — Decoder Command Set Guide71
002A IIC Data: Used after command 0x29 has been issued. Data to be written
is specified in the 32-bit data field. On a “Register Write” command, the decoder
will write the value supplied in the lower byte (in byte 7) of 32-bit data into the
device and register specified in command 0029h.
Digital Video Encode Adjustments
Adjustments can be made to the composite video output by changing register values within the Philips SAA7121 NTSC/PAL video encoder. Consult Philips
Semiconductor SAA7121 Data sheet for the “SAA7120; SAA7121 Digital Video
Encoder (ConDENC)” dated 1997 Jan 06, for complete register definition and bit
definition. Video adjustments require the use of decoder command 0x0029 and
0x002A.
Provided adjustments:
• Chrominance Phase (Register 0x5A)
• Gain U (Register 0x5B)
• Gain V (Register 0x5C)
• Black Level (Register 0x5D)
• Blank Level (Register 0x5E)
The 0029/002A commands only provide write access to the SAA7121 registers,
register values cannot be read back. Only one status byte can be read back.
The register values must be reloaded after the following events:
• Power is cycled.
• SCSI Reset or Bus Device Reset occurred.
• Changed between different video standards (PAL/NTSC)
Chrominance Phase (Register 0x5a): Phase of encoded color subcarrier (including burst) relative to horizontal sync. Can be adjusted in steps of 360/256 degrees.
Gain U (0x5B): Variable gain for Cb signal; output subcarrier of U contribution,
input representation in accordance with “CCIR 601."
Gain V (0x5C): Variable gain for Cr signal; output subcarrier of V contribution,
input representation in accordance with “CCIR 601."
Black Level (0x5d): Variable black level; input representation is in accordance
with CCIR-601 standard.
Blank Level (0x5e): Variable blanking level.
DECODER Command (45h)
Page 82
72CineCast HD Version 2.6 Installation and User Manual
Example
To change the Chroma Phase (Register 0x5A) to a value 0x2C:
• Decoder Command 0x0029 with 32-bits data = 0x0000065A (write to 0x5A,
device = 0x00, operation = write).
• Decoder Command 0x002A with 32-bits data = 0x0000002C (write value
0x2C to register 0x5A).
Default Video Parameters — CineCast HD
SAA7121 RegisterNTSC-M
Chroma Phase [0x5A]0x28
Gain U [0x5B]0x91
Gain V [0x5C]0xCB
Black Level [0x5D]0x27
Blank Level [0x5E]0x2A
Serial EEPROM Access
The CineCast HD includes an Atmel AT24C02 (256 x 8) Serial EEPROM. Access to this serial EEPROM is reserved for factory use only.
To write a value to Serial EEPROM, write value 0xAA to address 0x55:
• Decoder Command 0x0029 with 32-bits data = 0x00002655 (write address
0x55)
• Decoder Command 0x002A with 32-bits data = 0x000000AA (write value
0xAA to register 0x55).
To read a value from Serial EEPROM:
• Decoder Command 0x0029 with 32-bits data = 0x00002701 (read address
0x01)
The read data is returned in Mode Page 0x30 in the “Decoded Frame Number” (in
the lower byte, byte 11) for the first access to mode page 0x30 after an IIC Read
command.
002B Error Mask: Used to enable/disable error checking for MPEG stream
decoder errors, audio/video channel buffer errors, and loss of genlock errors.
By default, all these errors are masked (disabled). The 32-bits of data contained
in the Error Mask are as follows:
DECODER Command (45h)
Page 83
Chapter 2 — Decoder Command Set Guide73
BitError MaskNotes & Limitations
0–9Reserved
10Genlock Loss Error Capability provided.
ASB= 0107 Genlock Sync Lost.
11Collision Errors (Sense Key =
01h, ASCQ = 1800h)
12Audio Channel Buffer ErrorNot provided; use Collision Error instead.
13Audio/Video MPEG Decode Error
(MPEG syntax error)
14Video Channel Buffer ErrorNot provided; use Collision Error instead.
002C Built-in Test Pattern (Color Bars): Begins playback of an internal color
bar pattern. Playback continues until a Soft Reset (0000h) command is sent.
002D Blank/Unblank Video: If bit 8 is set to 1 (Blank 012Dh), playback
continues with the video blacked out (audio continues). If bit 8 is set to 0
(Unblank 002Dh), video returns to normal.
002F Volume Control: This command is implemented for compatibility with
existing SCSI decoder products; however, it is recommended that command
0008h Set Audio Gain be used instead.
0033h Set Background Color: Whenever the decoder is idle (i.e. playback not
active), the decoder outputs black. If “Set Background Color” is sent, the decoder
will output the specified color. The default color is black, but can be optionally set
to blue or any color specified by the user.
DECODER Command (45h)
Page 84
74CineCast HD Version 2.6 Installation and User Manual
Bits 8 & 9 of the command determine background color mode:
Bit 9–8Background Color
00bBlack background (default)
01bBlue background (Y=35, Cb=212, Cr=114)
10bUser defined
11bReserved
In User defined mode, the user passes the background color in the 32-bits of data.
Color specified must be ITU-R-BT.601 YCbCr 8-bit color space. The user must
specify 3 eight-bit values corresponding to the Y, Cb, Cr and components. Values
for 75% Amplitude, 100% Saturated Y Cb Cr Colors are as follows:
Valid RangeWhiteYellowCyanGreen
Byte 5
“Y”
Byte 6
“Cb”
Byte 7
”
“C
r
Byte 5
“Y”
Byte 6
“C
”
b
Byte 7
“C
”
r
16 – 235
(black level = 16)
16 – 240
(zero = 128)
16 – 240
(zero = 128)
Valid RangeMagentaRedBlueBlack
16 – 235
(black level = 16)
16 – 240
(zero = 128)
16 – 240
(zero = 128)
180
0xb4
128
0x80
128
0x80
84
0x54
184
0xb8
198
0xc6
162
0xa2
44
0x2c
142
0x8e
65
0x41
100
0x64
212
0xd4
131
0x83
156
0x9c
44
0x2c
35
0x23
212
0xd4
114
0x72
112
0x70
72
0x48
58
0x3a
16
0x10
128
0x80
128
0x80
NOTE: It is the user's responsibility to specify valid YCbCr values.
0034 Video Format: Command ignored by firmware.
0035 Read Back Frame Count: Command ignored by firmware. To read back
frame count, send a mode sense 6 (1Ah) for mode page 30h (Vela MPEG Video
DECODER Command (45h)
Page 85
Chapter 2 — Decoder Command Set Guide75
Command/Status Page). The frame count is read back in bytes 8-11 (Current
Decoder Status).
0036 Set PAL Buffer Mode: Command ignored by firmware.
003A Set Output Discretes: Each decoder channel has one output discrete,
GPOUT1, for the user's application. This command provides access to the output
discretes.
Command BitsFunction NameDescription
Bit 8GPOUT10 = Discrete off (open)
1 = Discrete on (pulled to ground)
Bits 9–15Reserved
The decoder has an additional output discrete, GPOUT2, which is used during
two decoder A/B switching and fading.
003D Set Transport Program ID (PID): This command is used to select different audio and video Program IDs (PID) within a Transport Stream. This command sets the transport PSI table values so different audio streams can be
selected from a Single Program Transport stream with multiple audio. The command also allows selecting a single program from a Multi-Program Transport
Stream.
• PID type is specified in the upper eight bits of the command.
• PID value is specified in the 32-bit data field,
• PID is 16 bits for Program Number, and 13 bits for transport PID.
PID TypeOperation
0Reserved
1Set Program Number
2Reserved
3Reserved
4Reserved
5Set Video PID
6Set Primary Channel Audio PID
DECODER Command (45h)
Page 86
76CineCast HD Version 2.6 Installation and User Manual
PID TypeOperation
7Set Secondary Channel Audio PID
By default the decoder uses the PSI tables in the stream to play the first Program
found in the stream. This command can be used to force the decoder to play
different program numbers and different audio/video PIDs. This requires this
command to be sent three or four times to set the required PSI information:
1. Set Program Number. Command is 0x013D and the Program Number will
be the lower 16-bits of the 32-bits data field. The Program Number will
specify which program to decode in a Multi-Program Transport Stream.
2. Set Video PID. Command is 0x053D and the Video PID will be the lower
13-bits of the 32-bits data field.
3. Set Primary Channel Audio PID. Command is 0x063D and the Audio No. 1
PID will be the lower 13-bits of the 32-bits data field.
4. Set Secondary Channel Audio PID. Command is 0x073D and the Audio No.
2 PID will be the lower 13-bits of the 32-bits data field. (Optional when
transport stream contains more than one audio stream.) Set PID value to 0 if
not using second channel audio.
To restore the default mode where the decoder automatically parses the PSI tables, set the Program Number to zero. Command is 0x013D, and 32-bits data is 0
(Program Number = 0).
Values may only be changed before a playback begins.
003E Set Frame Freeze: This command allows the user to select frame freeze
vs. field freeze when using the “Pause” or “Pause on Underrun.”
• 003E – Pause with Field Freeze displays the same data in both video
fields to prevent frame jitter. This is the default.
• 013E – Pause with Frame Freeze displays both fields.
DECODER Command (45h)
Page 87
Chapter 2 — Decoder Command Set Guide77
0046 Genlock to SDI Timing Adjustment
This command adjusts the relative position of the SDI output to that of the Composite Genlock input. This command only applies to Genlock operation (refer to
command 0016h).
Table 2-12.Genlock SDI Timing Adjustment Command Format
Horizontal Adjustment:
Horizontal Adjustment is in terms of 74.25MHz / 74.175MHz clock delays. The
Horizontal Adjustment is an 12-bit unsigned delay with adjustment range as follows:
• Valid Range for 1080i: 0 to 1920
• Valid Range for 720p: 0 to 1650
Vertical Adjustment:
Vertical Adjustment is 0 to 63 Lines, using an 6-bit value.
Switch Line Number:
This is a 6-bit value containing line number when the video switch is performed.
0046 Genlock to SDI Timing Adjustment
Page 88
78CineCast HD Version 2.6 Installation and User Manual
0047 Video/Audio Fade
This command provides audio and video fading and switching capability. The
command offers video fade down from video source A to background then fade
up to video source B, with a maximum fade time of 255 frames. Video/Audio
switching is accomplished by setting the fade time to 0 or 1.
Fading and switching requires two CineCast HD decoders connected together via
the Vela media bus cable inside the chassis. Both decoders must be genlocked to
the same video source.
To implement an audio/video switch/fade two commands need to be sent:
• The first command needs to be the Fade Up and is sent to the current nondecoding channel. This command should be sent as an inline command
triggering on GPI2. The Fade Down command will automatically set GPI2.
• The second command needs to be the Fade Down and is sent to the current
decoding channel.
Either of the two decoders can be the primary decoder. The primary decoder is the
decoder that has the audio and video cables attached and whose audio/video output is being monitored. The other decoder is called the secondary decoder.
This command is also used to setup the audio routing on each decoder. To set
routing without performing a switch/fade simply clear the “Video Fade enable”
and “Audio Fade enable.”
Table 2-13.Video/Audio Fade Command Format
Video Fade Enable
This bit must be set to enable video fading operation. When cleared, no video
switch or fade will occur.
0047 Video/Audio Fade
Page 89
Chapter 2 — Decoder Command Set Guide79
Video Source
This selects the new video source:
Video SourceVideo Selected
0bMPEG Video Decoder Output
1bVideo from the Vela Media Bus Output
NOTE: Video Switching/Fading requires both channels to be Genlocked to the same
Genlock source. If Genlock is not valid on both channels when switching video, the
video switch will be ignored and the following error will be returned:
RECOVERED ERROR, GENLOCK SYNC LOST
SCSI StatusCheck Condition
Sense Key01h
Additional Sense Code and Qualifier6100h
Fade to Black
This field is reserved, Fade to Black (background) is the only supported fade
operation.The current video source will fade to black (or background color) and
then fade from black (or background color) to the new video source. Background
color is specified in command 0033h.
Fade Down/Up
Used to determine the direction of the fade, whether up or down:
0 — Fade up
1 — Fade down and set GPI2
GPI2 is an internal signal on the Vela media bus used to signal the secondary
decoder when the Fade Down is complete, so that the secondary can begin the
Fade Up operation.
Secondary Decoder
Determines which decoder is the Primary Decoder (decoder which audio/video
output is being monitored):
1 — Secondary decoder
0 — Primary decoder (this is the one whose output is monitored
where video/audio switching occurs)
One decoder must be set to be Primary and the other decoder must be set to be
Secondary.
0047 Video/Audio Fade
Page 90
80CineCast HD Version 2.6 Installation and User Manual
Video Fade Time
Video Fade time is specified in terms of video frames. The maximum fade time is
255 frames (8.5 seconds NTSC or 10.2 frames PAL). A Video Fade Time of 0 or 1
performs an immediate video switch instead of a video fade.
Audio Fade Enable
This bit must be set to enable audio fade operation. When cleared no audio switch
or fade will occur.
Audio Source
This determines from where the new audio source comes: from this decoder's audio
decoder or the audio from the secondary decoder across the Vela media bus.
Audio SourceAudio Selected
0bMPEG Audio Decoder Output
1bAudio from the Vela Media Bus Output
Audio Output A Source
Audio Output B Source
Audio Output C Source
Sets the selected audio source for the three audio outputs. The field “Audio
Source” determines the board from which the audio comes: This channel's (primary) audio or the secondary decoder across the Vela media bus:
Source SelectNameSource
000bSource 0Audio decoder 0 channel 1,2
001bSource 1Audio decoder 0 channel 3,4
010bSource 2Audio decoder 0 channel 5,6
011bReservedReserved
100bSource 3Audio decoder 1 channel 1,2
101bSource 4Audio decoder 1 channel 3,4
110bSource 5Audio decoder 1 channel 5,6
111bReservedReserved
Audio Fade Time
Audio Fade time specified in terms of video frames. The maximum fade time is
0047 Video/Audio Fade
Page 91
Chapter 2 — Decoder Command Set Guide81
255 frames (8.5 seconds NTSC or 10.2 frames PAL). An Audio Fade Time of 0 or
1 performs an immediate Audio Switch instead of an Audio Fade.
Examples
Assume Channel 0 is the primary decoder (audio/video output monitored from
this channel). Channel 1 will be the secondary decoder. Both decoders must be
genlocked to the same source.
Fade Primary to Secondary with a Fade time of 60 frames
1. Issue a Fade Up to Channel 1 using inline execution mode GPI2 Active
(mode 8). The fade up will start when Channel 0 completes the fade down
and sets GPI2.
Fade up issued to Channel 1 (secondary decoder)
Video Fade Enable= 1bVideo fade enabled.
Video Source= 0bThis channel’s video output is not
used. Leave set to MPEG video
decoder output.
Fade Down/Up= 0bFade up.
Secondary Decoder= 1bChannel 1 is the Secondary decoder.
Audio Output A Source= 000bThis channel's audio output is not
used. Leave set to Audio decoder 0
channels 1,2.
Audio Output B Source= 001bThis channel's audio output is not
used. Leave set to Audio decoder 0
channels 3,4.
Audio Output C Source= 100bThis channel's audio output is not
used. Leave set to Audio decoder 1
channels 1,2.
Audio Fade Enable= 1bAudio fade enabled.
Audio Source= 0bThis channel's audio output is not
used. Leave set to MPEG audio
decoder output.
Video Fade Time= 3030-frame video fade up.
Audio Fade Time= 3030-frame audio fade up.
0047 Video/Audio Fade
Page 92
82CineCast HD Version 2.6 Installation and User Manual
2. Issue a Fade Down to Channel 0, usually sent inline to execute on a Frame
Count (inline mode 3) or GOP TimeCode (inline mode 1). The fade down will
start executing when the trigger frame/TimeCode occurs. When the fade down
completes, the primary channel will set GPI2 signal the secondary decoder to
begin the fade up. Also when the fade down is complete, the Audio/Video
Mux hardware will select Channel 1 (secondary) audio and video sources.
Fade down issued to Channel 0 (primary decoder)
Video Fade Enable= 1bVideo fade enabled.
Video Source= 1bVela Media bus will be the new
source, i.e., channel 1 video.
Fade Down/Up= 1bFade down.
Secondary Decoder= 0bChannel 0 is Primary decoder (output
is monitored from this channel).
Audio Output A Source= 000bAudio decoder 0 channels 1,2.
Audio Output B Source= 001bAudio decoder 0 channels 3,4.
Audio Output C Source= 100bAudio decoder 1 channels 1,2.
Audio Fade Enable= 1bAudio fade enabled.
Audio Source= 1bVela Media bus will be new source,
i.e., channel 1 audio.
Video Fade Time= 3030-frame video fade down.
Audio Fade Time= 3030-frame audio fade down.
Fade Secondary to Primary with a Fade time of 60 frames
1. Issue a Fade Up to Channel 0 using inline execution mode GPI2 Active
(mode 8). The Fade Up will start when Channel 1 completes the fade down
and sets GPI2.
Fade up issued to Channel 0 (primary decoder)
Video Fade Enable= 1bVideo fade enabled.
Video Source= 0bMPEG video decoder output (channel
0047 Video/Audio Fade
0 video).
Page 93
Chapter 2 — Decoder Command Set Guide83
Fade up issued to Channel 0 (primary decoder)
Fade Down/Up= 0bFade up
Secondary Decoder= 0bChannel 0 is the Primary decoder.
Audio Output A Source= 000bAudio decoder 0 channels 1,2.
Audio Output B Source= 001bAudio decoder 0 channels 3,4.
Audio Output C Source= 100bAudio decoder 1 channels 1,2.
2. Issue a Fade Down to Channel 1 with appropriate inline mode. The fade down
will start executing when the trigger frame/TimeCode occurs. When the fade
down completes, the secondary channel will set GPI2 signal the primary decoder
to begin the Fade Up. Also when the Fade Down is complete, the Audio/Video
Mux hardware will select Channel 0 (primary) audio and video sources.
Fade down issued to Channel 1 (secondary decoder)
Video Fade Enable= 1bVideo fade enabled.
Video Source= 0bThis channel’s video output is not
used. Leave set to MPEG video
decoder output.
Fade Down/Up= 1bFade down.
Secondary Decoder= 1bChannel 1 is the Secondary decoder.
Audio Output A Source= 000bThis channel's audio output is not
used. Leave set to Audio decoder 0
channels 1,2.
Audio Output B Source= 001bThis channel's audio output is not
used. Leave set to Audio decoder 0
channels 3,4.
0047 Video/Audio Fade
Page 94
84CineCast HD Version 2.6 Installation and User Manual
Fade down issued to Channel 1 (secondary decoder)
Audio Output C Source= 100bThis channel's audio output is not
used. Leave set to Audio decoder 1
channels 1,2.
Audio Fade Enable= 1bAudio fade enabled.
Audio Source= 0bThis channel's audio output is not
used. Leave set to MPEG audio
decoder output.
Video Fade Time= 3030-frame video fade down.
Audio Fade Time= 3030-frame audio fade down.
0047 Video/Audio Fade
Page 95
Chapter 2 — Decoder Command Set Guide85
MODE SENSE (6)
(OpCode 0x1A, 6 bytes)
The MODESENSE command allows the initiator to read the mode pages. This is the
complementary command to
Table 2-14.MODE SENSE Command Format
MODESELECT.
DBD – Disable Block Descriptor
When DBD = 0, the decoder returns the Block Descriptor. If DBD = 1, the decoder
does not return the Block Descriptor.
Page Code
Determines which pages are returned to the initiator. Page Code of 3Fh causes all
supported pages to be returned. See
MODESELECT for description of Mode Page
Header, Block Descriptor and changeable page formats.
Page Control (PC)
This field defines the type of mode parameter values to be returned by the
SENSE command.
PCType of Parameters
00bCurrent Value
01bChangeable Values
10bDefault Values
11bSaved Values
MODE
Current Values: The decoder will return the current values of the request mode
page.
MODE SENSE (6)
Page 96
86CineCast HD Version 2.6 Installation and User Manual
Changeable Values: The decoder returns a mask denoting those mode parame-
ters that can be changed by a
MODESELECT command. In the returned mask, the
fields of the mode parameters that are changeable are set to a 1 and those that
are non-changeable are set to a 0.
Default Values: The decoder will return the default values of the request mode
page.
Saved Values: The decoder will return the values which are saved in non-volatile
memory. The firmware maintains a place holder for Saved Pages, but since nonvolatile page save is not currently supported, the Saved Values are the same as
the default values.
Supported Mode Pages
Vela MPEG Decoder Status Page(Mode Page 30h)
MPEG Audio/Video Status Page(Mode Page 32h)
Time Code Page(Mode Page 34h)
Return All Mode Pages(Mode Page 3Fh)
MODE PARAMETER List
The Mode Parameter List fetched in the Data-Out phase has the following format:
Bit
Byte
0-3
4-11
12-n
Table 2-15.MODE PARAMETER List Command Format
765
Mode Parameter Header
Block Descriptor (Optional)
Page(s) (One or more pages)
43210
MODE PARAMETER Header
MODE SENSE (6)
Page 97
Chapter 2 — Decoder Command Set Guide87
Bit
Byte
0
1
2
3
Table 2-16.MODE PARAMETER Header Format
765
Mode Data Length
Medium Type
Device Specific Parameter
Block Descriptor Length
43210
Mode Data Length
Reserved for MODE SELECT: Must be 0.
Medium Type
Ignored by decoder.
Device Specific Parameter
Ignored by decoder.
Block Descriptor Length
If “0,” then the Block Descriptor is not included; otherwise it must be “8” if the
Block Descriptor is included.
MODE PARAMETER Block Descriptor
The Block Descriptor gives information on the size of the logical block in bytes.
This section is included in the mode parameter data only if the Block Descriptor
Length above is specified.
Bit
Byte
0
1-3
4
5-7
Table 2-17.MODE PARAMETER Block Descriptor Format
765
Density Code
Number of Blocks
Block Length
43210
Reserved
MODE SENSE (6)
Page 98
88CineCast HD Version 2.6 Installation and User Manual
Density Code
Ignored by the decoder.
Number of Blocks
Ignored by the decoder.
Block Length
Ignored by the decoder. The decoder’s Block Length is always 512 bytes per
block. This 512-byte length applies to all SCSI
READ and WRITE commands.
Vela MPEG Decoder Status Page (30h)
The Vela MPEG decoder Status Page size is 20 bytes. The page is non-changeable.
Table 2-18.Vela MPEG Decoder Status Page Format
GPIN1
Returns the state of the general purpose input discrete 1 (GPIN1):
0 = Input shorted to ground (closed or low)
1 = Input open (high)
GPIN2
Returns the state of the general purpose input discrete 2 (GPIN2):
0 = Input shorted to ground (closed or low)
MODE SENSE (6)
Page 99
Chapter 2 — Decoder Command Set Guide89
1 = Input open (high)
Note that GPIN2 is dedicated to audio/video switching and fading.
Vela Media Bus Direction
When performing audio/video switching and fading, two CineCast HD decoders
are connected together through a ribbon cable, called the Vela Media Bus. One
card is configured to output video and audio data onto the Media Bus; the second
card is configured as an input.
0b — Vela Media Bus is an input.
1b — Vela Media Bus is an output.
Video Source Select
Determines whether video source comes from this card’s video decoder or from
the other card across the Vela Media Bus.
0b — Video source from this decoder (Primary).
1b — Video source from other HD decoder across the
Vela Media Bus (Adjacent).
Genlock Valid
Returns state of genlock source and Video Switch status. Bit 4 reflects the status
of the video switch; bit 3 reflects the status of the genlock input source.
0b — Genlock loss or standalone mode (non-genlock).
1b — Genlock is valid.
Under
Set to 1 when decoder enters a pause on data underflow condition. See
PLAY (A5h), Error Recovery on Data Underflow (ErrRcvy).
MPEG
Queue
Set after a
RESETBUFFER is received; cleared only after playback has started.
Play
Set to 1 when playback is active; 0 indicates decoder is idle.
Unused FIFO Data After Stop
Reports the number of 64-K blocks of MPEG data unused after a Stop has been
issued.
Last Decoder Command
Indicates the last command code executed by the decoder firmware. See Opcode
DECODER command for command codes.
45h
MODE SENSE (6)
Page 100
90CineCast HD Version 2.6 Installation and User Manual
Frame Reporting
Returns the current frame number (number of video frames decoded). Starts at
0 and increments for each picture decoded. This frame count accounts for all
trick modes (Pause, Slow Motion, Fast Forward, and Frame Advance). Mode
Page 34h provides a frame number, which is derived from the GOP time code.
Data Underflow Error Count
Returns the number of data underflows since power-up/reset. The count is incremented on a data underflow when ErrRcvy = 1 in the
MPEGPLAY (A5h) command.
FIFO Buffer Status
Returns the number of 64-K buffers free on the decoder. The number of buffers is
defined as twenty-four 64K buffers, 1.5MB.
GPOUT1
Returns the state of the general purpose output discrete 1 (GPOUT1):
0 = Output active (closed or low)
1 = Output open (high)
GPOUT2
Returns the state of the general purpose output discrete 2 (GPOUT2):
0 = Output active (closed or low)
1 = Output open (high)
Note that GPOUT2 is dedicated to audio/video switching and fading.
Preload
Indicates that the decoder is loading data into the MPEG hardware but playback
has not begun. After the decoder channel has received the MPEG Play command,
the decoder normally takes some amount of time to preload MPEG data before
audio and video is generated.
During a “Pause on First Frame,” the Play bit (byte 2 bit 0) does not get set until
Resume occurs. The Preload bit will remain set while the decoder is paused on the
first frame. Preload is cleared when playback starts, i.e., when the Play bit is set.
Pause
Set when the decoder enters the paused state. When using “Pause on First
Frame,” this bit gets set when the paused frame is reached. The bit is cleared
when playback is resumed.
MODE SENSE (6)
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.