This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add vsync -cfr option when converting gif to webm
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
79b08c5f0a
commit
6382ef2bc6
1 changed files
with
4 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-3
app/models/media_attachment.rb
+ 4
- 3
app/models/media_attachment.rb
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'
,
}
,
}
,
}
,
Write
Preview
Loading…
Cancel
Save