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 a new issue