video2gif 0.0.12 → 0.0.13

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
  SHA1:
3
- metadata.gz: 548876b8671716f8b82767e2be26be37b54ac34b
4
- data.tar.gz: 428767c2c8c8eb4d30964ad253f73ba5a6ca431c
3
+ metadata.gz: 18744ed8233c2766731e647303b9b4493545d860
4
+ data.tar.gz: 94cafe3965b7cf4f5800b6ebd1d5c24f457f66f1
5
5
  SHA512:
6
- metadata.gz: 5dbee5b4411bdafb34e0e86ef60015314b19d059c3c4b97206c8b2efce714a5148e2425c75115ea844e52f8b87b1b7a514cbff4dadcd3788c55c53143d5bb6cc
7
- data.tar.gz: 8543630c55ad072f493917cdfc1f6fc6020881efe05c94f513166153816c3eb947b8e01265de5d11bd553b27bd12f0c620fc946d1423dcf991110c7446d18258
6
+ metadata.gz: 8224b9efbff707dd5e79587fb51531ce158a9bc447a0d173b903987883ee3b0c32598a4d9de309b6f16f7b551f72d21691aef4898bfde74574e657946706e015
7
+ data.tar.gz: 48e256f90d5a3dcf546684708997a342bd4f12081f93b57049ac851c708a6c787dc92792da2828932c94eff27ea88247493498e4bc2e2383e55284c18a2c8f67
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- video2gif (0.0.12)
4
+ video2gif (0.0.13)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -63,14 +63,9 @@ module Video2gif
63
63
  ].join(':')
64
64
  end
65
65
 
66
- filter_complex << 'split [o1] [o2]'
67
- if options[:palette]
68
- filter_complex << "[o1] palettegen=#{options[:palette]}:stats_mode=diff [p]"
69
- else
70
- filter_complex << "[o1] palettegen=stats_mode=diff [p]"
71
- end
72
- filter_complex << '[o2] fifo [o3]'
73
- filter_complex << '[o3] [p] paletteuse=dither=floyd_steinberg:diff_mode=rectangle'
66
+ filter_complex << 'split [palettegen] [paletteuse]'
67
+ filter_complex << "[palettegen] palettegen=#{options[:palette] || 256}:stats_mode=diff [palette]"
68
+ filter_complex << '[paletteuse] [palette] paletteuse=dither=floyd_steinberg:diff_mode=rectangle'
74
69
 
75
70
  filter_complex.join(',')
76
71
  end
@@ -78,6 +73,7 @@ module Video2gif
78
73
  def self.cropdetect_command(options, logger)
79
74
  command = ['ffmpeg']
80
75
  command << '-analyzeduration' << '2147483647' << '-probesize' << '2147483647'
76
+ command << '-loglevel' << 'verbose'
81
77
  command << '-ss' << options[:seek] if options[:seek]
82
78
  command << '-t' << options[:time] if options[:time]
83
79
  command << '-i' << options[:input_filename]
@@ -94,7 +90,7 @@ module Video2gif
94
90
  command = ['ffmpeg']
95
91
  command << '-y' # always overwrite
96
92
  command << '-analyzeduration' << '2147483647' << '-probesize' << '2147483647'
97
- command << '-loglevel' << 'level+verbose'
93
+ command << '-loglevel' << 'verbose'
98
94
  command << '-ss' << options[:seek] if options[:seek]
99
95
  command << '-t' << options[:time] if options[:time]
100
96
  command << '-i' << options[:input_filename]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Video2gif
4
- VERSION = '0.0.12'
4
+ VERSION = '0.0.13'
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.12
4
+ version: 0.0.13
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-25 00:00:00.000000000 Z
11
+ date: 2019-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler