]> cat aescling's git repositories - mastodon.git/commitdiff
Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 12 Jun 2017 22:51:48 +0000 (00:51 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2017 22:51:48 +0000 (00:51 +0200)
app/models/media_attachment.rb

index cf73c22b85f9bac4cb043b394bb63722c0a6bf67..340109ab607c00eef94018cfd7cdb76cd8da1b20 100644 (file)
@@ -88,7 +88,8 @@ class MediaAttachment < ApplicationRecord
                 'vsync'    => 'cfr',
                 'b:v'      => '1300K',
                 'maxrate'  => '500K',
-                'crf'      => 6,
+                'bufsize'  => '1300K',
+                'crf'      => 18,
               },
             },
           },