Command-line options
Command-line options are entered after the command streamdemuxer
to
specify various startup options for Streamdemuxer. Some
options are mandatory. Options are separated by spaces.
-i
This mandatory option and argument identify the source test files (including location). The test files can be a manifest file or a media file.
streamdemuxer -i <test_file_path> -o <path>
In
this syntax, <test_file_path>
is the file path of the test file. You
can use the absolute or relative path to the test file. -o
This option is mandatory. The option specifies a temporary workspace for resulting files of
the demultiplexing process. During the demultiplexing process, the Streamdemuxer reserves manifest files, dumps segment files, and
outputs elementary streams. All of these files are placed in the folder specified by the
-o
option. It supports absolute and relative paths.
streamdemuxer -i <test_file_path> -o <path>
--track-id
This option is not required. It is used to specify the track that needs to be demultiplexed.
streamdemuxer -i <test_file_path> [--track-id <id>] -o <path>
-v
This option is not required. It is used to display the version information of the Streamdemuxer.
The syntax is shown in the following pseudocode:
streamdemuxer -v
--decryption-keys
This option is required for encrypted content. The argument is a comma-separated list of key ID and key pairs. A key ID and a key are represented as 32 hexadecimal digits.
The syntax is shown in the following pseudocode:
streamdemuxer -i <input file> [-o <path>] --decryption-keys <Key_ID>:<Key> ...