1
0
Fork 1
forked from fedi/mastodon

fix media uploads with ffmpeg 5 (#21191)

This commit is contained in:
Skyler Hawthorne 2022-11-25 10:20:47 -05:00 committed by talon
parent 12b802e871
commit 587d3feccd

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