video2gif 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae887ec3dbdd0ead6c363292ab6b90ee975646d053e130a17e36899f778446a
4
- data.tar.gz: 1c35d1d4f1694faeb8e9cbdd692b4819002172aaa20d60a17382577ab9a145b7
3
+ metadata.gz: aacb63993f33cf1bb593327b75cf9fd326bdceaa3f1b9d2de83b49d66cd5eb3c
4
+ data.tar.gz: ad6e7a8425347b277ef662098806b60e528b27e68d90f755f33539e0a139d607
5
5
  SHA512:
6
- metadata.gz: 25c4b8b6d9bd4063dd192ff74b1223f6795ea55dbc4796f79fcd76b2c04270046ef71bf37d8f361876cff06c42fb1c4a9c1d0158a26b5eb83127d69aeca1e3eb
7
- data.tar.gz: 036d26b295bd119b9dd5f8fb202b3a2cee1799175f5cc378a006b11e500ff549e3b817ce85f264547c93c5782575faf6ded923fd7da7b0832180995592b67673
6
+ metadata.gz: 4c647f9cf366c367af4cb12c9281711f4ddc4307742905c8f43a3c541a767a3a2b400403ae861501f50348d36e9aadc9b57fefbcf7e1bdb9a91030d524e5c6ea
7
+ data.tar.gz: 91b8b57e3f3eb3f554daf46ed4c53fb2cdedf5e8955ba3afef16afb9429eedfd5b875d66068587ccfe88994fca421606cc017fc3171e82dcfffb6b07930fa4a7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- video2gif (0.0.23)
4
+ video2gif (0.0.24)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -107,7 +107,7 @@ module Video2gif
107
107
  y='#{ options[:ypos] || "(main_h-line_h*1.5*#{count_of_lines})" }'
108
108
  fontsize='#{ options[:textsize] || 32 }'
109
109
  fontcolor='#{ options[:textcolor] || 'white' }'
110
- borderw='#{ options[:textborder] || 3 }'
110
+ borderw='#{ options[:textborder] || 1 }'
111
111
  fontfile='#{ options[:textfont] || 'Arial'}'\\\\:style='#{options[:textvariant] || 'Bold' }'
112
112
  text='#{text}'
113
113
  ].join(':')
@@ -151,9 +151,9 @@ module Video2gif
151
151
  parser.on('--subtitles [INDEX]',
152
152
  '(Experimental, requires ffprobe) Attempt to use the',
153
153
  'subtitles built into the video to overlay text on the',
154
- 'resulting GIF. Takes an optional integer value to',
155
- 'choose the subtitle stream (defaults to the first',
156
- 'subtitle stream, index 0)') do |s|
154
+ 'resulting GIF. May be extremely slow for text subtitles.',
155
+ 'Takes an optional integer value to choose the subtitle',
156
+ 'stream (defaults to the first subtitle stream, index 0)') do |s|
157
157
  unless Utils.is_executable?('ffprobe')
158
158
  puts 'ERROR: Requires FFmpeg utils to be installed (for ffprobe)!'
159
159
  exit 1
@@ -181,31 +181,31 @@ module Video2gif
181
181
 
182
182
  parser.on('-C TEXTCOLOR',
183
183
  '--text-color TEXTCOLOR',
184
- 'Set the color for text overlay') do |p|
184
+ 'Set the color for text overlay (default white)') do |p|
185
185
  options[:textcolor] = p
186
186
  end
187
187
 
188
188
  parser.on('-S TEXTSIZE',
189
189
  '--text-size TEXTSIZE',
190
- 'Set the point size for text overlay') do |p|
190
+ 'Set the point size for text overlay (default 30)') do |p|
191
191
  options[:textsize] = p
192
192
  end
193
193
 
194
194
  parser.on('-B TEXTBORDER',
195
195
  '--text-border TEXTBORDER',
196
- 'Set the width of the border for text overlay') do |p|
196
+ 'Set the width of the border for text overlay (default 1)') do |p|
197
197
  options[:textborder] = p
198
198
  end
199
199
 
200
200
  parser.on('-F TEXTFONT',
201
201
  '--text-font TEXTFONT',
202
- 'Set the font name for text overlay') do |p|
202
+ 'Set the font name for text overlay (default "Arial")') do |p|
203
203
  options[:textfont] = p
204
204
  end
205
205
 
206
206
  parser.on('-V TEXTSTYLE',
207
207
  '--text-variant TEXTVARIANT',
208
- 'Set the font variant for text overlay (e.g., "Semibold")') do |p|
208
+ 'Set the font variant for text overlay (default "Bold")') do |p|
209
209
  options[:textvariant] = p
210
210
  end
211
211
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Video2gif
4
- VERSION = '0.0.23'
4
+ VERSION = '0.0.24'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video2gif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily St.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-28 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler