magma_cli 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/magma/app.rb +2 -2
- data/lib/magma/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: f374bfd7ad8a6892714673ab97576004dd4b45426b8497e022dbe5aca02be639
|
4
|
+
data.tar.gz: e70136e461314d0571a21262fb543b302254efaf1da87352c01875e3f5f7013e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c84f1ff83a4fa9aaa9ea980d32f9756e26d36631d5b18c82c647589a73d555b2ce4d82612f5beb6394156ec1b855bce170b680a4eb9d19ad917f18cffbe84f98
|
7
|
+
data.tar.gz: d8fb684d24869e1cff9e0bd165d73d7fa650336ed95ddaa93f1711d51f35fdc8727ae6b92321ebace02a7694175b2e1f6850f77575d34cc44e16e19e345bc625
|
data/lib/magma/app.rb
CHANGED
@@ -41,10 +41,10 @@ module Magma
|
|
41
41
|
option :format, type: :string, default: 'mp4', aliases: 'f', enum: Renderer::SUPPORTED_FORMATS, desc: 'Encoding format'
|
42
42
|
option :globals, type: :hash, default: {}, aliases: 'g', desc: 'Global data overrides'
|
43
43
|
option :infile, type: :string, aliases: 'i', desc: 'Input file', required: true
|
44
|
-
option :length, type: :numeric,
|
44
|
+
option :length, type: :numeric, desc: 'Set the target length in seconds'
|
45
45
|
option :preset, type: :string, default: 'fast', desc: 'Video preset for encoding'
|
46
46
|
option :real_time, type: :numeric, default: Etc.nprocessors, aliases: 'n', desc: 'Number of cores (real-time)'
|
47
|
-
option :size, type: :string,
|
47
|
+
option :size, type: :string, aliases: 's', desc: 'Frame size (width x height)'
|
48
48
|
option :skip_template, type: :boolean, default: false, desc: 'Skips template-filling step'
|
49
49
|
option :vcodec, type: :string, desc: 'Video codec to use for encoding'
|
50
50
|
def render(outfile)
|
data/lib/magma/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magma_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allan Reyes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|