22
Argus Encoder Family Version 2.6 API Developer’s Guide
Common Encode Parameters: The Windows Registry
the needed keys. You can then programmatically or manually (using Microsoft's
regedt32 or regedit tool) change Registry settings before subsequent encodes.
All of the Argus Registry settings are stored in one of 12 Registry locations
under
HKEY_CURRENT_USER\Software\Vela Research\Broadcast Argus
.
These sub-locations are: “EncoderConfig,” “FilterMgr,” “IBM Audio”
“IBM Video,” “Mux,” “RemoteStore,” “VTR,” “DualEnc,” “LigosMpeg1,”
“LigosMux,” “RealNetworks,” and “Wmf.” Appendix A identifies and
describes in detail each of the general Registry settings that support the
single-board Argus, while Appendix B lists specific Registry settings for
the Argus Spectrum multi-stream encoding process.
There are a number of circumstances under which you may need to access the
encoding parameters that are stored in the Windows Registry. As shown in
Table 2-1, the Argus SDK provides a variety of tools to assist with the task of
managing these encoding parameters.
Task
Tool
Description
Review, modify, save the full set of
parameters through an application
other than the user interface to the
encoder.
RegCtrlPnl
An application that displays all of the
encoding parameters, allowing the user
to review and modify them. Source code
is provided with the SDK. See page 57.
Change individual Registry settings
(i.e., file name, mark-in) before
starting an encode.
CRegistry class,
SetValue() method
The CRegistry class, whose source code
is provided with the RegCtrlPnl applica-
tion, provides easy-to-use GetValue()
and SetValue() commands to manage
encoding parameters of all data types.
Display a specific set of encode
parameters through the user inter-
face to the encoder.
CRegistry class,
GetValue() method
Load the full set of encoding
parameters from the Windows
Registry in preparation for an
encode.
FilterManager
Load() method
Loads all of the encode parameters from
the Registry into the specific encoder
COM components to which the parame-
ters apply.
Save the full set of encoding
parameters under which Argus is
currently encoding.
FilterManager
Save() method
Dumps all of the encoding parameters
currently in memory out to the
Windows Registry.
Table 2-1. Managing Encode Parameters