Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Script parameters

Pass script parameters with --set NAME=VALUE.

Name rules

Parameter names must be valid script identifiers.

Value coercions

Current coercion rules are:

  • true / false -> bool,
  • whole numbers -> int,
  • finite decimal numbers -> float,
  • rational text such as 24000/1001 -> rational,
  • anything else -> string.

After injection, script can use parameter names like normal variables.

Example

pixelflow demo.pf -o out.y4m --set width=1280 --set fps=24000/1001 --set title=sample