about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-06 01:50:35 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-06 01:50:35 +0100
commitd6cb4bbe99f16b40c5962130d19ca3336124af1b (patch)
tree7ec9acad81639a4dce8832fa45aed81b4e43b6e7 /app/models
parent03a857f59a773483924a942ac3bda1b290f82a2e (diff)
Performance improvement for profiles
Diffstat (limited to 'app/models')
-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 1090f1b39..818190214 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -67,7 +67,8 @@ class MediaAttachment < ApplicationRecord
                 'vf'       => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'',
                 'vsync'    => 'cfr',
                 'b:v'      => '1300K',
-                'crf'      => 4,
+                'maxrate'  => '500K',
+                'crf'      => 6,
               },
             },
           },