mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 12:18:06 +01:00
Add vsync -cfr option when converting gif to webm
This commit is contained in:
parent
79b08c5f0a
commit
6382ef2bc6
1 changed files with 4 additions and 3 deletions
|
@ -62,9 +62,10 @@ class MediaAttachment < ApplicationRecord
|
||||||
format: 'webm',
|
format: 'webm',
|
||||||
convert_options: {
|
convert_options: {
|
||||||
output: {
|
output: {
|
||||||
'c:v' => 'libvpx',
|
'c:v' => 'libvpx',
|
||||||
'crf' => 4,
|
'crf' => 4,
|
||||||
'b:v' => '500K',
|
'b:v' => '500K',
|
||||||
|
'vsync' => 'cfr',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue