Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Commit 40ddb33

Browse files
authored
Merge pull request mastodon#1314 from pixiv/set_ffmpeg_loglevel
add loglevel to ffmpeg in gif upload (mastodon#9368)
2 parents 9086d16 + afc3c58 commit 40ddb33

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)