Skip to main content

Module media

Module media 

Source
Expand description

Media engine v0.1: video + audio via ffmpeg (external process).

  • probe shells out to ffprobe and maps the result into MediaInfo.
  • plan is pure bitrate budgeting → an EncodePlan (tested without ffmpeg). plan dispatches on media kind: two-pass video vs single-pass audio.
  • run executes the plan: encode, size verification and (for video) a single correction retry on overshoot.

Structs§

MediaEngine
The ffmpeg engine for video and audio.

Enums§

PassKind
Which pass of the encode a progress update belongs to.