mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-08 08:44:27 +00:00
add loglevel to ffmpeg in gif upload (#9368)
This commit is contained in:
parent
4ffdf33137
commit
8c8575db74
|
@ -59,6 +59,7 @@ class MediaAttachment < ApplicationRecord
|
|||
format: 'mp4',
|
||||
convert_options: {
|
||||
output: {
|
||||
'loglevel' => 'fatal',
|
||||
'movflags' => 'faststart',
|
||||
'pix_fmt' => 'yuv420p',
|
||||
'vf' => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'',
|
||||
|
|
Loading…
Reference in a new issue