video2gif 0.0.28 → 0.0.29

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: f1e5b0b598afa0c79e9f824af445d5cdb14ed9573a7012122366ae114f7dd2d4
4
- data.tar.gz: 2ed80dd2b5bb00836ee6ec23b9a1b26770c65719f6e5e3327504e735dcc1bda5
3
+ metadata.gz: 62e8037d3f2d5c9f1fd4ef4be2455b6d831407cb4485bf4169bb0d44aaafa21e
4
+ data.tar.gz: 49dd66cac75ba0ddf7c98b363b39770237034695098c516ac5e62a853fb16a3e
5
5
  SHA512:
6
- metadata.gz: 1522c31771bc03c82e296c427ef2d2745890a8987144540317c7e72e29787af7752e97c640027fe228ec84ad8d560847700d73f097ffa8345095f3377fcf99f6
7
- data.tar.gz: 1968f8d86fb19be6486b07c1eb1355c5b95634135bddc5f2029b430b3e7e5cade02e7c22dbc26f1485a6e8ecd7bb0b7d90040400df9c1e94b9cea21a0c924ad2
6
+ metadata.gz: 39ab1ea8910042d75f3608ea6d112a0941e98dcc42c09683ec91e93e91935bf99b8fcad2f8b586ff46c98097ffca1323babfa42d81f32f2d817e30ffa1aea511
7
+ data.tar.gz: 3da078214b6d9799d1fa0cebee2d1da6b24b16656e822b359683a79a44d7d639c34c6821bdd05487e562b02b3cab6bd851b762f6898009b63bb6d560c1a6e7da
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- video2gif (0.0.25)
4
+ video2gif (0.0.29)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -9,17 +9,39 @@ want, crop it automatically, overlay text, and manipulate the color and
9
9
  brightness.
10
10
 
11
11
 
12
+ Status
13
+ ------
14
+
15
+ Currently, `video2gif` is in alpha status: it is feature-incomplete, not
16
+ guaranteed to work at all, and subject to change features, options, or
17
+ defaults. The [patch-level version] will increment for each change until
18
+ it is ready for beta status.
19
+
20
+ Planned before beta status is
21
+
22
+ * full documentation, including a manual page;
23
+ * full tests, including integration tests using `ffmpeg`;
24
+ * feature and configuration stability;
25
+ * better output, such as error output;
26
+ * friendlier command-line configuration;
27
+ * the ability to configure text-based subtitles; and
28
+ * the ability to incorporate subtitles from an external file.
29
+
30
+
12
31
  Installation
13
32
  ------------
14
33
 
15
- `video2gif` requires a recent version of [FFmpeg] installed and
16
- available in the system `$PATH`. If you can run `FFmpeg` from the
17
- command line, you're probably good. If not, use your favorite package
18
- manager to install it.
34
+ `video2gif` is a command-line tool requiring both Ruby and a recent
35
+ version of [FFmpeg] installed and available in the system `$PATH`. If
36
+ you can run [FFmpeg] from the command line, you likely have the ability
37
+ to run `video2gif`.
19
38
 
20
- Note that some features may not be available by default. For example,
39
+ Note that some features may not work by default. For example,
21
40
  tonemapping (used for HDR videos) requires `libzimg` support, not
22
- included by default in the [FFmpeg] supplied by [Homebrew].
41
+ included by default in the [FFmpeg] supplied by [Homebrew]. If you
42
+ attempt to use it, you will get an error. Additionally, `ffprobe`
43
+ (usually supplied by [FFmpeg]) is required for subtitles and may become
44
+ required in the future for all functionality.
23
45
 
24
46
  `video2gif` also requires Ruby and the ability to install a new gem. If
25
47
  you have this available, run the following command to install it.
@@ -61,4 +83,5 @@ https://github.com/emilyst/video2gif
61
83
 
62
84
 
63
85
  [FFmpeg]: https://ffmpeg.org
86
+ [patch-level version]: https://semver.org
64
87
  [Homebrew]: https://brew.sh
@@ -59,8 +59,8 @@ module Video2gif
59
59
 
60
60
  parser.on('-d [ALGORITHM]',
61
61
  '--[no-]dither [ALGORITHM]',
62
- 'Set the dithering algorithm for the palette generation",
63
- "(default enabled with "floyd_steinberg")') do |d|
62
+ 'Set the dithering algorithm for the palette generation',
63
+ '(default enabled with "floyd_steinberg")') do |d|
64
64
  if d.nil?
65
65
  options[:dither] = 'floyd_steinberg'
66
66
  else
@@ -68,26 +68,22 @@ module Video2gif
68
68
  end
69
69
  end
70
70
 
71
- parser.on('-c SIZE',
72
- '--crop-size-w SIZE',
71
+ parser.on('--crop-size-w SIZE',
73
72
  'Pixel size of width to select from source video, before scaling') do |s|
74
73
  options[:wregion] = s
75
74
  end
76
75
 
77
- parser.on('-h SIZE',
78
- '--crop-size-h SIZE',
76
+ parser.on('--crop-size-h SIZE',
79
77
  'Pixel size of height to select from source video, before scaling') do |s|
80
78
  options[:hregion] = s
81
79
  end
82
80
 
83
- parser.on('-x OFFSET',
84
- '--crop-offset-x OFFSET',
81
+ parser.on('--crop-offset-x OFFSET',
85
82
  'Pixel offset from left to select from source video, before scaling') do |o|
86
83
  options[:xoffset] = o
87
84
  end
88
85
 
89
- parser.on('-y OFFSET',
90
- '--crop-offset-y OFFSET',
86
+ parser.on('--crop-offset-y OFFSET',
91
87
  'Pixel offset from top to select from source video, before scaling') do |o|
92
88
  options[:yoffset] = o
93
89
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Video2gif
4
- VERSION = '0.0.28'
4
+ VERSION = '0.0.29'
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.28
4
+ version: 0.0.29
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-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler