FFix.Runner.Progress (ffix v0.2.0)

Copy Markdown View Source

One ffmpeg -progress update, grouped through its progress=continue or progress=end marker. Fields without a closing marker are not emitted.

The common fields are exposed directly, while the original key/value payload is kept in fields for callers that need something more specific.

Summary

Types

status()

@type status() :: :continue | :end

t()

@type t() :: %FFix.Runner.Progress{
  bitrate: String.t() | nil,
  drop_frames: non_neg_integer() | nil,
  dup_frames: non_neg_integer() | nil,
  fields: map(),
  fps: float() | nil,
  frame: non_neg_integer() | nil,
  out_time: String.t() | nil,
  out_time_ms: non_neg_integer() | nil,
  out_time_us: non_neg_integer() | nil,
  speed: float() | nil,
  status: status() | nil,
  total_size: non_neg_integer() | nil
}