|
@ -59,6 +59,7 @@ class MediaAttachment < ApplicationRecord |
|
|
format: 'mp4', |
|
|
format: 'mp4', |
|
|
convert_options: { |
|
|
convert_options: { |
|
|
output: { |
|
|
output: { |
|
|
|
|
|
'loglevel' => 'fatal', |
|
|
'movflags' => 'faststart', |
|
|
'movflags' => 'faststart', |
|
|
'pix_fmt' => 'yuv420p', |
|
|
'pix_fmt' => 'yuv420p', |
|
|
'vf' => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'', |
|
|
'vf' => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'', |
|
|