Skip to content
This repository has been archived by the owner on Jan 27, 2020. 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 abcang committed Oct 15, 2019
1 parent 9086d16 commit afc3c58
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 afc3c58

Please sign in to comment.