about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-06-13 00:51:48 +0200
committerGitHub <noreply@github.com>2017-06-13 00:51:48 +0200
commit85d5518b6bb07772119bb042198967c877e5ab5e (patch)
treec4186b15d5ac0742eb78aad6c211319a8d396923
parent5104bd79886f4466f81c062de031be8eefb0310a (diff)
Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)
-rw-r--r--app/models/media_attachment.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index cf73c22b8..340109ab6 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -88,7 +88,8 @@ class MediaAttachment < ApplicationRecord
                 'vsync'    => 'cfr',
                 'b:v'      => '1300K',
                 'maxrate'  => '500K',
-                'crf'      => 6,
+                'bufsize'  => '1300K',
+                'crf'      => 18,
               },
             },
           },