about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorSkyler Hawthorne <skyler@dead10ck.com>2022-11-25 10:20:47 -0500
committerGitHub <noreply@github.com>2022-11-25 16:20:47 +0100
commit5b2ff8d32d66a3820799660ad81275d1b6df24fe (patch)
tree33614a3b7e05cbbed75df445b550ceaa45aada3b /app
parent3d906d8e62097d463a59b40c9498a47fdb850856 (diff)
fix media uploads with ffmpeg 5 (#21191)
Diffstat (limited to 'app')
-rw-r--r--app/models/media_attachment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index d2bdc55f0..51b256482 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -104,6 +104,7 @@ class MediaAttachment < ApplicationRecord
         'c:v' => 'h264',
         'maxrate' => '1300K',
         'bufsize' => '1300K',
+        'b:v' => '1300K',
         'frames:v' => 60 * 60 * 3,
         'crf' => 18,
         'map_metadata' => '-1',