1
0
Fork 0
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 GitHub
parent 3d906d8e62
commit 5b2ff8d32d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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