Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

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 Gargron committed Nov 30, 2018
1 parent 404dc97 commit ec20a5d
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 ec20a5d

Please sign in to comment.