fix media uploads with ffmpeg 5 (#21191)

This commit is contained in:
Skyler Hawthorne 2022-11-25 10:20:47 -05:00 committed by GitHub
parent 4b21adb4b2
commit ce10b313bb

View file

@ -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',