From: Eugen Rochko Date: Sun, 5 Mar 2017 22:27:25 +0000 (+0100) Subject: Add vsync -cfr option when converting gif to webm X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6382ef2bc6f54f01a107fc921a8f29ec2eb9878c;p=mastodon.git Add vsync -cfr option when converting gif to webm --- diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index f300c127c..30a76f3ec 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -62,9 +62,10 @@ class MediaAttachment < ApplicationRecord format: 'webm', convert_options: { output: { - 'c:v' => 'libvpx', - 'crf' => 4, - 'b:v' => '500K', + 'c:v' => 'libvpx', + 'crf' => 4, + 'b:v' => '500K', + 'vsync' => 'cfr', }, }, },