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

Getting started

Prerequisites

  • pixelflow binary available locally.
  • An input video file readable through FFMS2.
  • Write access to output path.

Create a minimal script

Create hello.pf:

output = source("input.mkv")

Render output

Run:

pixelflow hello.pf -o out.y4m

This command reads script, indexes reachable source(...) nodes, validates final graph, and writes an output stream selected from the final clip format. Integer Gray/YUV clips write Y4M; planar RGB clips write rawvideo.

Write to stdout instead of a file

Run:

pixelflow hello.pf -o - > out.y4m

Video bytes go to stdout. Progress, indexing messages, diagnostics, and timing output stay on stderr.

Next steps