about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-11-29 17:32:51 -0600
committermultiple creatures <dev@multiple-creature.party>2019-11-29 17:32:51 -0600
commita11e99a15b3a8cb653d75fc312a570eb56182a46 (patch)
treedca1e4567155e9ef38ce0eac0813a4eff9102ad3 /app/models
parente9e85284324eb516cba16fb71a3bb6c44fe21c85 (diff)
raise video & audio quality
Diffstat (limited to 'app/models')
-rw-r--r--app/models/media_attachment.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 2a4ff51a6..b5f7741b6 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -63,6 +63,7 @@ class MediaAttachment < ApplicationRecord
           threads: 2,
           vcodec: 'libx264',
           acodec: 'aac',
+          'b:a': '256k',
           movflags: '+faststart',
         },
       },
@@ -93,9 +94,8 @@ class MediaAttachment < ApplicationRecord
         'vf'       => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'',
         'vsync'    => 'cfr',
         'c:v'      => 'h264',
-        'b:v'      => '500K',
-        'maxrate'  => '1300K',
-        'bufsize'  => '1300K',
+        'maxrate'  => '2M',
+        'bufsize'  => '2M',
         'crf'      => 18,
       },
     },