From 5b2ff8d32d66a3820799660ad81275d1b6df24fe Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Fri, 25 Nov 2022 10:20:47 -0500 Subject: [PATCH] fix media uploads with ffmpeg 5 (#21191) --- app/models/media_attachment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index d2bdc55f0f6..51b256482a8 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',