Expand description
Parse ffmpeg’s -progress pipe:1 key=value stream.
With -progress pipe:1 -nostats, ffmpeg writes blocks of key=value lines
to stdout, ending each block with progress=continue or progress=end.
We only care about the elapsed output time and the terminal marker.
Enums§
- Progress
- One parsed progress line of interest.
Functions§
- fraction
- Convert elapsed microseconds and total seconds into a clamped 0.0..=1.0 fraction.
- parse_
line - Parse a single line. Returns
Nonefor keys we ignore.