abrizer 0.5.0 → 0.6.0
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 +4 -4
- data/README.md +3 -3
- data/lib/abrizer/all.rb +2 -2
- data/lib/abrizer/canvas.rb +2 -1
- data/lib/abrizer/data.rb +2 -1
- data/lib/abrizer/identifier_helpers.rb +1 -1
- data/lib/abrizer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dd898ab7c1969f83af2826e17cd694d8c0f177a
|
4
|
+
data.tar.gz: e17f3bdeeaeb3aee544c2d18ff49a429e57684cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ac6de5750cc97595044c8fed1b54b97c6a4a7427a2837ea15938ba0481c8e9714725dc1e307df34bc992000ecc5345b6523d2e4f83f013682ed08c8951c7017
|
7
|
+
data.tar.gz: 73cd1ec7d6c730390830f1393ad14d470a073d6097b4842cfbce5451b0183584b3f647355cad639015a46947b0b52cce32a3bae337f58cef6c01d60a3f8cecf9
|
data/README.md
CHANGED
@@ -66,7 +66,7 @@ From the command line you can see help with: `abrizer`
|
|
66
66
|
To see help for a particular command run: `abrizer help all`
|
67
67
|
|
68
68
|
You can run all steps with:
|
69
|
-
`abrizer all -i /path/to/video.mp4 -o /path/to/output_directory -u http://localhost:8088/v`
|
69
|
+
`abrizer all -i /path/to/video.mp4 -o /path/to/output_directory -u http://localhost:8088/v/output_directory`
|
70
70
|
|
71
71
|
Or just create various adaptations needed for repackaging to DASH and HLS:
|
72
72
|
`abrizer process -i /path/to/video.mp4 -o /path/to/output_directory`
|
@@ -88,7 +88,7 @@ If you simply want to run all the steps, you can use the `Abrizer::All` class li
|
|
88
88
|
```ruby
|
89
89
|
video_path = "/path/to/video.mp4"
|
90
90
|
output_directory = "/path/to/output_directory"
|
91
|
-
base_url = "http://localhost:8088/v"
|
91
|
+
base_url = "http://localhost:8088/v/output_directory"
|
92
92
|
Abrizer::All.new(video_path, output_directory, base_url).run
|
93
93
|
```
|
94
94
|
|
@@ -110,7 +110,7 @@ This includes a web server that can be used for local testing of streams and vid
|
|
110
110
|
cd /vagrant
|
111
111
|
bundle exec exe/abrizer all \
|
112
112
|
-i test/videos/FullHDCinemaCountdown720p-8sec.mp4 \
|
113
|
-
-o tmp/countdown -u http://localhost:8088/v
|
113
|
+
-o tmp/countdown -u http://localhost:8088/v/countdown
|
114
114
|
```
|
115
115
|
|
116
116
|
Now visit http://localhost:8088/v/countdown/ to see the files that were created. You can then test any of the videos or streams.
|
data/lib/abrizer/all.rb
CHANGED
@@ -21,8 +21,8 @@ module Abrizer
|
|
21
21
|
Abrizer::ProgressiveMp4.new(@output_directory).create
|
22
22
|
Abrizer::PackageDashBento.new(@output_directory).package
|
23
23
|
Abrizer::PackageHlsBento.new(@output_directory).package
|
24
|
-
Abrizer::Canvas.new(@output_directory, @base_url).create
|
25
|
-
Abrizer::Data.new(@output_directory, @base_url).create
|
24
|
+
Abrizer::Canvas.new(nil, @output_directory, @base_url).create
|
25
|
+
Abrizer::Data.new(nil, @output_directory, @base_url).create
|
26
26
|
Abrizer::Cleaner.new(@output_directory).clean
|
27
27
|
end
|
28
28
|
|
data/lib/abrizer/canvas.rb
CHANGED
@@ -8,7 +8,8 @@ module Abrizer
|
|
8
8
|
include ReadAdaptations
|
9
9
|
|
10
10
|
# TODO: allow control of items/versions listed on canvas
|
11
|
-
def initialize(output_directory, base_url)
|
11
|
+
def initialize(filepath, output_directory, base_url)
|
12
|
+
@filepath = filepath
|
12
13
|
@output_directory = output_directory
|
13
14
|
FileUtils.mkdir_p output_directory unless File.exist? output_directory
|
14
15
|
@base_url = base_url
|
data/lib/abrizer/data.rb
CHANGED
@@ -7,7 +7,8 @@ module Abrizer
|
|
7
7
|
include InformationHelpers
|
8
8
|
include ReadAdaptations
|
9
9
|
|
10
|
-
def initialize(output_directory, base_url)
|
10
|
+
def initialize(filepath, output_directory, base_url)
|
11
|
+
@filepath = filepath
|
11
12
|
@output_directory = output_directory
|
12
13
|
@base_url = base_url
|
13
14
|
read_adaptations
|
data/lib/abrizer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abrizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Ronallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|