Skip to content

Commit 39f6c2f

Browse files
Hugo Gameiromayaeh
authored andcommitted
add loglevel to ffmpeg in gif upload (mastodon#9368)
1 parent 8e5f87e commit 39f6c2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/models/media_attachment.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class MediaAttachment < ApplicationRecord
5959
format: 'mp4',
6060
convert_options: {
6161
output: {
62+
'loglevel' => 'fatal',
6263
'movflags' => 'faststart',
6364
'pix_fmt' => 'yuv420p',
6465
'vf' => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'',

0 commit comments

Comments
 (0)