Skip to content

How-to guides

Goal-oriented recipes for specific problems.

From Go (via afmpeg):

  • Consume a released module: WithModuleURL(<release asset>, WithSHA256(…)).
  • Run a transcode entirely in memory: build a Command and RunJob; see the job-spec vocabulary for the process/probe shapes.

When a job fails

  • Read the stderr line first: it names the cause. Errors & exit codes maps every message to what to change.
  • Check the capability is in your profile: most "unknown encoder" and "bad filtergraph" failures are a lean module being asked for something in intermediate. See codecs, filters and containers.
  • Check it is supported at all: limits lists what no build does.