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 hiyuki2578 committed Oct 2, 2019
1 parent 788a8e4 commit c1bc57f
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 c1bc57f

Please sign in to comment.