Files
FFmpeg/doc
Skanda Vyas 361174e5ea avfilter/vf_fps: preserve first output frame at EOF
When the input duration rounds to zero in the output timebase, the
rounded EOF timestamp can equal next_pts before any frame has been
output. In that case, do not discard a buffered frame whose timestamp
matches next_pts.

Keep the selected EOF timestamp rounding, but allow this first-frame
exception to extend output by one output frame period. Preserve start_time
trimming by checking the last input frame and EOF before rounding. A frame
located at start_time remains eligible even when its duration is zero.

Document the first-frame exception and add FATE coverage for a short
single-frame input and trimming at start_time, including a frame spanning
the start and a zero-duration frame at the start.

Fixes ticket #7361.

Signed-off-by: Skanda Vyas <skandavyas20@gmail.com>

Assisted-by: Fairy
2026-10-03 15:53:40 +00:00
..
…
2026-09-10 18:23:50 +00:00
2026-03-20 22:01:43 +01:00
2026-01-18 03:33:04 +00:00
…
2026-05-22 08:20:13 -05:00
…
…
2026-07-13 18:57:37 +09:00
…
…
2026-09-12 23:52:20 +00:00
2025-08-03 13:48:47 +02:00