mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
fix media uploads with ffmpeg 5 (#21191)
This commit is contained in:
parent
3d906d8e62
commit
5b2ff8d32d
@ -104,6 +104,7 @@ class MediaAttachment < ApplicationRecord
|
|||||||
'c:v' => 'h264',
|
'c:v' => 'h264',
|
||||||
'maxrate' => '1300K',
|
'maxrate' => '1300K',
|
||||||
'bufsize' => '1300K',
|
'bufsize' => '1300K',
|
||||||
|
'b:v' => '1300K',
|
||||||
'frames:v' => 60 * 60 * 3,
|
'frames:v' => 60 * 60 * 3,
|
||||||
'crf' => 18,
|
'crf' => 18,
|
||||||
'map_metadata' => '-1',
|
'map_metadata' => '-1',
|
||||||
|
Loading…
Reference in New Issue
Block a user