Skip to main content
Skip table of contents

SGX Producer

SGX Producer is the core batch processing system of SGX. It is a command-line executable for Windows, and can be found in the SGX Production Tools installation at SGX_ProductionTools/bin/SGX_Producer.exe.

See SGX Batch Processing for a general introduction to batch processing.

The program can be launched in two ways:

  1. By running the executable directly on the command line.

  2. Via the more user-friendly batch processing interface in SGX Director, which launches an instance of SGX Producer (see Batch Processing in the SGX Director product guide).

There are currently three main commands in SGX Producer:

  • help

  • about

  • process

Help command

The help command prints version/copyright information and usage information.

Syntax

NONE
SGX_Producer.exe help

About command

The about command prints version/copyright information, and opens a web page in your default browser listing notices and additional terms for licensed third-party software components included within SGX.

Syntax

NONE
SGX_Producer.exe about

Process command

The process command executes audio-to-animation processing on a given batch. This command can be launched alternatively from the SGX Director batch tab.

As discussed in SGX Batch Processing, there are two batch processing modes:

  • process new events

  • process existing events

In SGX Producer, the default mode is process existing events. In order to process new events, use the -i option, which specifies the location from where new audio and transcripts will be imported into new events.

Syntax

NONE
SGX_Producer.exe process -e <events_path> -c <character_path> 
[-i <import_path>] [-f] [ -L<languages_path> ] [ -l<language_name> ] 
[ -b behavior_settings ] [-P <pre-roll>] [-Q <post-roll>] 
[-A] [-N] [-E] [-M] [-r <framerate>] [-x <custom_parameters>]

Options

Options without arguments are booleans — true if present, false otherwise.

Option

Status

Argument

Description

-e [ --events ]

required

Path

The path to the directory containing events to be processed. In process new events mode, this is where new events will be output.

-c [ --character ]

required

Path

The path to the character control file. See Processing Configuration - Character.

-i [ --import ]

optional

Path

The path containing input audio and transcript files to import. This may be a directory or spreadsheet (.csv) file. See Batch Input Formats.

-f [ --overwrite ]

optional

None

Whether newly created events can overwrite existing events with the same name in the events directory. Only relevant in process new events mode.

-L [ --languages ]

optional

Path

The path of the directory containing the language modules. See Installing Language Packs.

-l [ --language ]

optional

String

The language module base name (e.g. English_US_2.1). Be sure to specify the language (and dialect) heard in the input audio. If no language is specified, transcripts are not used. See Input Options.

-b [ --behavior ]

optional

String

Behavior settings as a string made up of markup attributes. See example below.

-P [ --pre_roll ]

optional

Number

Add pre-roll to each animation. Either provide a fixed time value (in milliseconds), or “0” for auto-calculation. See Pre Roll . The actual duration of pre-roll added will be reported in the Batch Report.

-Q [ --post_roll ]

optional

Number

Add post-roll to each animation. Either provide a fixed time value (in milliseconds), or “0” for auto-calculation. See Post Roll . The actual duration of post-roll added will be reported in the Batch Report.

-r [ --framerate ]

optional

Number

Frame rate of all output events in frames/second. See Frame Rate.

-A [ --active_start ]

optional

None

Active start option (see Active Start ).

-N [ --neutral_finish ]

optional

None

Neutral finish option (see Neutral Finish).

-E [ --export_animation ]

optional

None

Export animation as plain-text RTS files alongside event files (see Export animation ).

-M [ --export_metadata ]

optional

None

Export metadata from events.

-x [ --custom ]

optional

String

List of parameters for custom or experimental features, in the format xxx;xxx;xxx.

Examples

Example processing command including only the required arguments:

CODE
SGX_Producer.exe process -e "C:/Events" -c "C:/Characters/Vivian.k"

Example processing command including optional arguments:

CODE
SGX_Producer.exe process -e "C:/Events" -c "C:/Characters/Vivian.k" -i "C:/Characters/Audio" 
-L "C:/Languages" -l English_GB-EAW_1.1
-b "mode=\"Neutral\" auto_modes=\"positive,negative,effort\" speech_magnitude=\"1.050000\" nonverbal_magnitude=\"1.200000\" "
-P 0 -Q 0 -N -E -M

Exit Codes

The SGX_Producer.exe program has these exit codes:

CODE
0 - success
1 - license error
2 - input error
3 - processing error    

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.