A simple boolean option is defined like so:
Code:
--debug
text: Debug
type: bool
help: Debug mode (makes output deterministic)
a string option like so:
Code:
--output
text: Output
type: string
help: Output filename
a numeric option like so:
Code:
--cpu-used
text: CPU Used
type: numeric
min: 0
max: 8
help: CPU Used (0..8)
instead of numeric type can also be int or float
options:
Code:
--bit-depth
text: Depth
type: option
help: Bit depth for codec (8 for version <=1, 10 or 12 for version 2)
options: 8, 10, 12
integer options:
Code:
--aq-mode
text: AQ Mode
type: int option
help: Adaptive quantization mode
options: off, variance, complexity, cyclic refresh