logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 6382ef2bc6f54f01a107fc921a8f29ec2eb9878c
parent: 79b08c5f0a05844d2465e1e99c5cde4d7b4f6d0e
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun,  5 Mar 2017 23:27:25 +0100

Add vsync -cfr option when converting gif to webm

Diffstat:

Mapp/models/media_attachment.rb7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb @@ -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', }, }, },