gearheads
/
mastodon
Archived
2
0
Fork 0

Add vsync -cfr option when converting gif to webm

gh/stable
Eugen Rochko 2017-03-05 23:27:25 +01:00
parent 79b08c5f0a
commit 6382ef2bc6
1 changed files with 4 additions and 3 deletions

View File

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