bigbluebutton-Github/record-and-playback/core/lib
Calvin Walton 46970162fb Recording: move tpad ffmpeg filter before fps
In cases of extremely short (single frame) input videos, the fps filter
can sometimes generate 0-frame output videos, resulting in the tpad
filter having no input (this breaks it, causing a busy loop).

Move the tpad filter to before the fps filter to solve this problem.
This isn't perfect, since the tpad filter doesn't work well on variable-
framerate video (it generates extremely high framerate video with a lot
of frames that will be discarded), but this only happens between the
tpad and fps filters, and only at the end of an input video (usually
right before a cut) so this seems acceptable.

Since the tpad and fps filter are in the same process, these duplicate
frames don't actually require copying any data (the frame is
reference-counted), and still process reasonably quickly.

Fixes #16407
2023-01-06 10:56:50 -05:00
..
recordandplayback Recording: move tpad ffmpeg filter before fps 2023-01-06 10:56:50 -05:00
boot.rb RaP: Clean up resque worker code, add worker for keep_events feature 2020-01-21 17:14:39 -05:00
custom_hash.rb Merge remote-tracking branch 'mconf/mconf' 2017-03-20 19:45:59 +00:00
recordandplayback.rb [fix-PR-14628] - Include Return of the props in the read_props method. 2022-04-20 10:00:07 -03:00