Files
lpms/ffmpeg
Josh Allmann e8530933f8 ffmpeg: abort runaway encodes when FPS/filter explodes frame count
Some inputs can trigger the FPS/filter pipeline to generate far more output frames
than are actually decoded, leading to very long, disk-filling  transcodes.

Plumb decoded frame counts into the encoder path and, for video outputs, abort with
`lpms_ERR_ENC_RUNAWAY` when encoded frames exceed 25x decoded frames, excluding
`image2` inputs where expansion is expected.

The exact inputs which trigger this behavior are unknown as of now but we can
construct a contrived test which reproduces the issue.
2026-01-27 22:16:48 +00:00
..
2025-01-17 17:43:04 -08:00
2025-09-05 08:20:32 -07:00
2025-01-17 17:43:04 -08:00
2022-06-16 08:33:10 +02:00
2025-01-17 17:43:04 -08:00
2025-01-17 17:43:04 -08:00