diff options
author | Hugo Gameiro <hmgameiro@gmail.com> | 2018-11-27 11:19:12 +0000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-11-27 12:19:12 +0100 |
commit | b6681d21ad8f8569af447bfe2106a04eab32d153 (patch) | |
tree | c3a00c6452d70d75d0eeb51cdedb1b03bba58c09 /app/models | |
parent | 73faadad28b897cd61cc1d6c8bee47e7d72a51a1 (diff) |
add loglevel to ffmpeg in gif upload (#9368)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/media_attachment.rb | 1 |
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\'', |