video2gif 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/video2gif/ffmpeg.rb +6 -5
- data/lib/video2gif/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2905fc3a1a3ebebfa2f2e9cfe464ddff85f3e287d163b4eb5195a6b9766e3bb
|
4
|
+
data.tar.gz: 4fd1a4c2233f36261253684a57ed285b06dfde299c66c953d30467fe905591f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f086509e0375b35179c4e583601c5808c5958ee2f16a7093831ef305b0c5e35dc7c179f222cc9814057e5f62cca2edff974c2cdca07c1780625fb27cda4ecc1
|
7
|
+
data.tar.gz: de455ff906c6a4a8c0254edb74dc646e55facb932c0f07fe866732e057ac867e407f032733258a14f981bf62086c98062e41bee5f5f7d6e2a02208e38cc987c6
|
data/lib/video2gif/ffmpeg.rb
CHANGED
@@ -37,11 +37,12 @@ module Video2gif
|
|
37
37
|
# Apply automatic cropping discovered during the cropdetect run.
|
38
38
|
filtergraph << options[:autocrop] if options[:autocrop]
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
crop = []
|
41
|
+
crop << "w=#{options[:wregion]}" if options[:wregion]
|
42
|
+
crop << "h=#{options[:hregion]}" if options[:hregion]
|
43
|
+
crop << "x=#{options[:xoffset]}" if options[:xoffset]
|
44
|
+
crop << "y=#{options[:yoffset]}" if options[:yoffset]
|
45
|
+
filtergraph << 'crop=' + crop.join(':') unless crop.empty?
|
45
46
|
|
46
47
|
# Scale here before other filters to avoid unnecessary processing.
|
47
48
|
if options[:tonemap]
|
data/lib/video2gif/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.32
|
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-06-
|
11
|
+
date: 2019-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|