video2gif 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc6e44b0ef580d23810cfaaae7449d4c0aa42e4e21a4a549f14cd549ed78a6e4
4
- data.tar.gz: 229342c782db8a61f1e7706e13f00e25ad5a289bd796e9b2975482a16e2d8d31
3
+ metadata.gz: d7c44e514f51abaa8a8e62d5a5d4c10c773abc153c81cf681a5b52aa5a535e35
4
+ data.tar.gz: d0c29308eb5de00e89f09d3361062b12936bb998ca8102a8b2585036bcd8e894
5
5
  SHA512:
6
- metadata.gz: 18edb4ce95a5f30993cd2adddc22ade8bc1e135c322ad150bfa051590e46dc676b4ae5d611bc81addf1c521bc0143f755faa9381893120ccf894609d8635b69e
7
- data.tar.gz: aeb1a6e3183f0e1c4b9c7fbac2015d8a8d289cf9f177b6e1ea18699301cd63e6c981ca2a2416fb9354b90fabb22363867c8c28d9e2b35dcdcffe2e743674fcc3
6
+ metadata.gz: 2889843a7689713191f3adebdd0b035ff3cfbeed0a991ad70d6af8ca8d803b59ad77e19a3f4321a1e19a07b9184e3d0c8ae14a328b94e9524719d690d4b48907
7
+ data.tar.gz: a4aedbe2ea00eb8d3ac5904041bf426541a57e1e64076fec0945099ea437467c8f8da812747bb4033d510481878de14db780edcd020ad30b98c55f27175290ce
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- video2gif (0.0.33)
4
+ video2gif (0.0.35)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -40,7 +40,7 @@ module Video2gif
40
40
  end
41
41
 
42
42
  def self.fps(options)
43
- "fps=#{ options[:fps] || 10 }"
43
+ "fps=#{ options[:fps] || 20 }"
44
44
  end
45
45
 
46
46
  def self.crop(options)
@@ -59,8 +59,8 @@ module Video2gif
59
59
 
60
60
  zscale_parameters << 'dither=none'
61
61
  zscale_parameters << 'filter=lanczos'
62
- zscale_parameters << "width=#{ options[:width] || 400 }"
63
- zscale_parameters << "height=trunc(#{ options[:width] || 400 }/dar)"
62
+ zscale_parameters << "width=#{ options[:width] || 480 }"
63
+ zscale_parameters << "height=trunc(#{ options[:width] || 480 }/dar)"
64
64
 
65
65
  'zscale=' + zscale_parameters.join(':')
66
66
  end
@@ -92,8 +92,8 @@ module Video2gif
92
92
 
93
93
  scale_parameters << 'flags=lanczos'
94
94
  scale_parameters << 'sws_dither=none'
95
- scale_parameters << "width=#{ options[:width] || 400 }"
96
- scale_parameters << "height=trunc(#{ options[:width] || 400 }/dar)"
95
+ scale_parameters << "width=#{ options[:width] || 480 }"
96
+ scale_parameters << "height=trunc(#{ options[:width] || 480 }/dar)"
97
97
 
98
98
  'scale=' + scale_parameters.join(':')
99
99
  end
@@ -131,7 +131,7 @@ module Video2gif
131
131
  drawtext_parameters << "y='#{ options[:ypos] || "(main_h-line_h*1.5*#{count_of_lines})" }'"
132
132
  drawtext_parameters << "fontsize='#{ options[:textsize] || 32 }'"
133
133
  drawtext_parameters << "fontcolor='#{ options[:textcolor] || 'white' }'"
134
- drawtext_parameters << "borderw='#{ options[:textborder] || 1 }'"
134
+ drawtext_parameters << "borderw='#{ options[:textborder] || 2 }'"
135
135
  drawtext_parameters << "fontfile='#{ options[:textfont] || 'Arial'}'\\\\:style='#{options[:textvariant] || 'Bold' }'"
136
136
  drawtext_parameters << "text='#{text(options)}'"
137
137
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Video2gif
4
- VERSION = '0.0.34'
4
+ VERSION = '0.0.35'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video2gif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily St.