Skip to content

Commit

Permalink
add loglevel to ffmpeg in gif upload (mastodon#9368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gameiro authored and mayaeh committed Nov 27, 2018
1 parent 8e5f87e commit 39f6c2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/media_attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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\'',
Expand Down

0 comments on commit 39f6c2f

Please sign in to comment.