Fix re-encoding of high-framerate VFR videos with FFmpeg 6+ (#33634)

This commit is contained in:
Claire 2025-01-20 10:22:49 +01:00 committed by GitHub
parent 8962f11578
commit ac59ed39dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,8 +52,8 @@ module Paperclip
@output_options['bufsize'] = bitrate * 5
if high_vfr?(metadata)
# TODO: change to `fps_mode` in the future, as `vsync` is being deprecated
@output_options['vsync'] = 'vfr'
@output_options['r'] = @vfr_threshold
end
end
end