Documentation
¶
Overview ¶
Package progress parses ffmpeg's `-progress` output — the machine-readable key=value blocks ffmpeg emits (one `key=value` per line, a block terminated by `progress=continue|end`) when run with `-progress pipe:N`. keryx taps it to turn a render into a live percentage against the reel's known total duration (spec 0026). The format is ffmpeg's, so the same parser serves any backend that can stream that stderr (the native ffmpeg backend today; afmpeg once it can stream).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutTimeSec ¶
OutTimeSec parses an `out_time_us=<microseconds>` progress line into seconds of output produced so far. ok is false for any other line, or when ffmpeg emits a placeholder (e.g. `out_time_us=N/A`) during startup.
Types ¶
This section is empty.