From ac59ed39dd408d1f66025b8b0b64f04afe3e7370 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 20 Jan 2025 10:22:49 +0100 Subject: [PATCH] Fix re-encoding of high-framerate VFR videos with FFmpeg 6+ (#33634) --- lib/paperclip/transcoder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paperclip/transcoder.rb b/lib/paperclip/transcoder.rb index 3efffa355a..47e3f9f547 100644 --- a/lib/paperclip/transcoder.rb +++ b/lib/paperclip/transcoder.rb @@ -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