You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/lib/paperclip
Claire 166f6e4b50
Fix some media attachments being converted with too high framerates (#17619)
Video files with variable framerates are converted to constant framerate videos
and the output framerate picked by ffmpeg is based on the original file's
container framerate (which can be different from the average framerate).

This means that an input video with variable framerate with about 30 frames per
second on average, but a maximum of 120 fps will be converted to a constant 120
fps file, which won't be processed by other Mastodon servers.

This commit changes it so that input files with VFR and a maximum framerate
above the framerate threshold are converted to VFR files with the maximum frame
rate enforced.
3 years ago
..
attachment_extensions.rb
blurhash_transcoder.rb
color_extractor.rb
gif_transcoder.rb
image_extractor.rb
lazy_thumbnail.rb
response_with_limit_adapter.rb Fix upload of remote media with OpenStack Swift sometimes failing (#16998) 3 years ago
storage_extensions.rb
transcoder.rb Fix some media attachments being converted with too high framerates (#17619) 3 years ago
type_corrector.rb
url_generator_extensions.rb