FFix.Command.Output (ffix v0.1.0)

Copy Markdown View Source

One ffmpeg output declaration.

sources is the ordered list of graph exports or input streams that become -map entries. options is a flat keyword/list of ffmpeg output options and is rendered after the maps and before the output target.

The public FFix.output/2 helper accepts media-role options such as video: and audio: and lowers them into this source list. Use sources: when exact map ordering matters.

Summary

Types

option()

@type option() :: {atom() | String.t(), term()}

t()

@type t() :: %FFix.Command.Output{
  options: [option()],
  sources: [FFix.Command.source()],
  target: target()
}

target()

@type target() ::
  String.t() | :stdout | {:pipe, non_neg_integer()} | {:url, String.t()}