Add vsync -cfr option when converting gif to webm
parent
671d1d8a26
commit
354eb3b757
|
@ -62,9 +62,10 @@ class MediaAttachment < ApplicationRecord
|
|||
format: 'webm',
|
||||
convert_options: {
|
||||
output: {
|
||||
'c:v' => 'libvpx',
|
||||
'crf' => 4,
|
||||
'b:v' => '500K',
|
||||
'c:v' => 'libvpx',
|
||||
'crf' => 4,
|
||||
'b:v' => '500K',
|
||||
'vsync' => 'cfr',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue