mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-24 19:11:44 +01:00
Fix re-encoding of high-framerate VFR videos with FFmpeg 6+ (#33634)
This commit is contained in:
parent
8962f11578
commit
ac59ed39dd
@ -52,8 +52,8 @@ module Paperclip
|
|||||||
@output_options['bufsize'] = bitrate * 5
|
@output_options['bufsize'] = bitrate * 5
|
||||||
|
|
||||||
if high_vfr?(metadata)
|
if high_vfr?(metadata)
|
||||||
|
# TODO: change to `fps_mode` in the future, as `vsync` is being deprecated
|
||||||
@output_options['vsync'] = 'vfr'
|
@output_options['vsync'] = 'vfr'
|
||||||
@output_options['r'] = @vfr_threshold
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user