about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorHugo Gameiro <hmgameiro@gmail.com>2018-11-27 11:19:12 +0000
committerEugen Rochko <eugen@zeonfederated.com>2018-11-27 12:19:12 +0100
commitb6681d21ad8f8569af447bfe2106a04eab32d153 (patch)
treec3a00c6452d70d75d0eeb51cdedb1b03bba58c09 /app/models
parent73faadad28b897cd61cc1d6c8bee47e7d72a51a1 (diff)
add loglevel to ffmpeg in gif upload (#9368)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/media_attachment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 1bfe02fd6..62a11185a 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -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\'',