View Single Post
Old 27th May 2017, 18:53   #2  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
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

Last edited by stax76; 27th May 2017 at 18:58.
stax76 is offline   Reply With Quote