76
Argus Encoder Family Version 2.6 API Developer’s Guide
The IBM Video Registry Table
If the Argus Registry locations listed above are not established prior to the first en-
code, a call to the Filter Manager method
Load()
will create the Registry, providing
default settings for each of the keys. These settings can be modified programmati-
cally (refer to MSDN help) or manually using the
regedt32
or
regedit
command.
The Filter Manager component provides two special functions that load and save
all of the Filter Manager settings as well as those of the tables listed above:
long Load() –
Loads all of the Registry settings for the locations listed above. If
the Registry location does not exist, the
Load()
call creates it, creates all of the
Registry keys, and assigns them their default values. This method should be
called prior to each encode. Returns 0 if successful, or, on failure, returns an
error code listed in Appendix C.
long Save() –
In the appropriate Registry tables, saves all of the settings for the
current encode. Returns 0 if successful, or, on failure, returns an error code
listed in Appendix C.
Refer to “RegCtrlPnl,” page 57, for an explanation and examples of manipulating
encoder Registry settings programmatically with a sample application included
with this application.
Detailed Explanation of Registry Tables
Descriptions of the keys found in each of these Registry locations are listed in the
following tables. RegCtrlPnl screen shots can be found in Chapter 4.
The
IBM Video
Registry Table
Many of the video encoder properties are interrelated. The first of the following
tables identifies and describes the properties themselves. The second table shows
the relationship between format, chroma, mode, and resolution. Finally, the third
table defines the relationship between I-frame distance (N value), Reference
Frame Distance (M Value), Closed/Open GOP, and GOP structure.