Browse Source

add loglevel to ffmpeg in gif upload (#9368)

pull/4/head
Hugo Gameiro 5 years ago
committed by Eugen Rochko
parent
commit
b6681d21ad
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/models/media_attachment.rb

+ 1
- 0
app/models/media_attachment.rb View File

@ -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\'',

Loading…
Cancel
Save