unimatrix 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unimatrix.rb +27 -0
- data/lib/unimatrix/alchemist/activity_proxy.rb +24 -0
- data/lib/unimatrix/alchemist/aws_rendition_profile.rb +9 -0
- data/lib/unimatrix/alchemist/encoder.rb +17 -0
- data/lib/unimatrix/alchemist/picture_rendition.rb +6 -0
- data/lib/unimatrix/alchemist/rendition.rb +22 -0
- data/lib/unimatrix/alchemist/rendition_profile.rb +20 -0
- data/lib/unimatrix/alchemist/sprite_rendition.rb +6 -0
- data/lib/unimatrix/alchemist/text.rb +22 -0
- data/lib/unimatrix/alchemist/text_rendition.rb +6 -0
- data/lib/unimatrix/alchemist/text_storage_activity_proxy.rb +6 -0
- data/lib/unimatrix/alchemist/video.rb +43 -0
- data/lib/unimatrix/alchemist/video_encoding_activity_proxy.rb +6 -0
- data/lib/unimatrix/alchemist/video_picture_activity_proxy.rb +9 -0
- data/lib/unimatrix/alchemist/video_rendition.rb +9 -0
- data/lib/unimatrix/alchemist/video_sprite_activity_proxy.rb +6 -0
- data/lib/unimatrix/alchemist/video_storage_interrogation_picture_activity_proxy.rb +6 -0
- data/lib/unimatrix/iris/encoder.rb +17 -0
- data/lib/unimatrix/iris/input.rb +17 -0
- data/lib/unimatrix/iris/output.rb +19 -0
- data/lib/unimatrix/iris/recorder.rb +18 -0
- data/lib/unimatrix/iris/stream.rb +22 -0
- data/lib/unimatrix/iris/transcriber.rb +17 -0
- data/lib/unimatrix/iris/transmutator.rb +21 -0
- data/lib/unimatrix/version.rb +1 -1
- metadata +25 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b72ae5b72687fb86162dcc1e803ee68a8301ebb
|
4
|
+
data.tar.gz: 91ab9f9abbd5cad7b00ef121c205c15529ba1fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd4766351264038bf7403bc97886b42a3158045e7de9725ba39a456597168d8e8ff7480e909b15fc9943cdd6ddd362c00f14c6a0f8c8a94ea40ed5578967c422
|
7
|
+
data.tar.gz: 8ad69179676bcb105501f45be83254cd22ee7b91874ed722de137d90c14e06a6624b834bcbdf8c1d0a218a6413ba1f3d5102212bd67e897c95ba1e2c9353ddfc
|
data/lib/unimatrix.rb
CHANGED
@@ -32,6 +32,24 @@ require 'unimatrix/not_found_error'
|
|
32
32
|
require 'unimatrix/activist/task'
|
33
33
|
require 'unimatrix/activist/activity'
|
34
34
|
|
35
|
+
# alchemist
|
36
|
+
require 'unimatrix/alchemist/activity_proxy'
|
37
|
+
require 'unimatrix/alchemist/encoder'
|
38
|
+
require 'unimatrix/alchemist/rendition'
|
39
|
+
require 'unimatrix/alchemist/rendition_profile'
|
40
|
+
require 'unimatrix/alchemist/text'
|
41
|
+
require 'unimatrix/alchemist/video'
|
42
|
+
require 'unimatrix/alchemist/aws_rendition_profile'
|
43
|
+
require 'unimatrix/alchemist/picture_rendition'
|
44
|
+
require 'unimatrix/alchemist/sprite_rendition'
|
45
|
+
require 'unimatrix/alchemist/text_rendition'
|
46
|
+
require 'unimatrix/alchemist/text_storage_activity_proxy'
|
47
|
+
require 'unimatrix/alchemist/video_encoding_activity_proxy'
|
48
|
+
require 'unimatrix/alchemist/video_picture_activity_proxy'
|
49
|
+
require 'unimatrix/alchemist/video_rendition'
|
50
|
+
require 'unimatrix/alchemist/video_sprite_activity_proxy'
|
51
|
+
require 'unimatrix/alchemist/video_storage_interrogation_picture_activity_proxy'
|
52
|
+
|
35
53
|
# archivist
|
36
54
|
require 'unimatrix/archivist/artifact'
|
37
55
|
require 'unimatrix/archivist/artifact_locator'
|
@@ -44,6 +62,15 @@ require 'unimatrix/archivist/component'
|
|
44
62
|
require 'unimatrix/distributor/destination'
|
45
63
|
require 'unimatrix/distributor/distribution'
|
46
64
|
|
65
|
+
# iris
|
66
|
+
require 'unimatrix/iris/encoder'
|
67
|
+
require 'unimatrix/iris/input'
|
68
|
+
require 'unimatrix/iris/output'
|
69
|
+
require 'unimatrix/iris/recorder'
|
70
|
+
require 'unimatrix/iris/stream'
|
71
|
+
require 'unimatrix/iris/transcriber'
|
72
|
+
require 'unimatrix/iris/transmutator'
|
73
|
+
|
47
74
|
# zephyrus
|
48
75
|
require 'unimatrix/zephyrus/input'
|
49
76
|
require 'unimatrix/zephyrus/output'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class ActivityProxy < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :realm_uuid
|
8
|
+
field :state
|
9
|
+
field :progress
|
10
|
+
field :message
|
11
|
+
field :rendition_profile_id
|
12
|
+
field :rendition_profile_uuid
|
13
|
+
field :video_id
|
14
|
+
field :video_uuid
|
15
|
+
field :text_id
|
16
|
+
field :text_uuid
|
17
|
+
field :created_at
|
18
|
+
field :updated_at
|
19
|
+
|
20
|
+
has_many :renditions
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class Encoder < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :state
|
8
|
+
field :realm_uuid
|
9
|
+
field :created_at
|
10
|
+
field :updated_at
|
11
|
+
|
12
|
+
has_many :rendition_profiles
|
13
|
+
has_many :videos
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class Rendition < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :name
|
8
|
+
field :height
|
9
|
+
field :width
|
10
|
+
field :content_type
|
11
|
+
field :content_length
|
12
|
+
field :url
|
13
|
+
field :rendition_profile_id
|
14
|
+
field :video_id
|
15
|
+
field :activity_proxy_id
|
16
|
+
field :text_id
|
17
|
+
field :created_at
|
18
|
+
field :updated_at
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class RenditionProfile < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :height
|
8
|
+
field :width
|
9
|
+
field :content_type
|
10
|
+
field :bit_rate
|
11
|
+
field :created_at
|
12
|
+
field :updated_at
|
13
|
+
|
14
|
+
has_many :renditions
|
15
|
+
has_many :activity_proxies
|
16
|
+
has_many :encoders
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class Text < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :realm_uuid
|
8
|
+
field :input_url
|
9
|
+
field :storage_url
|
10
|
+
field :content_type
|
11
|
+
field :content_length
|
12
|
+
field :video_id
|
13
|
+
field :video_uuid
|
14
|
+
field :created_at
|
15
|
+
field :updated_at
|
16
|
+
|
17
|
+
has_many :renditions
|
18
|
+
has_many :activity_proxies
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Unimatrix::Alchemist
|
2
|
+
|
3
|
+
class Video < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :uuid
|
7
|
+
field :realm_uuid
|
8
|
+
field :name
|
9
|
+
field :input_url
|
10
|
+
field :storage_url
|
11
|
+
field :content_length
|
12
|
+
field :created_at
|
13
|
+
field :updated_at
|
14
|
+
field :legacy_id
|
15
|
+
|
16
|
+
field :content_type
|
17
|
+
field :codec
|
18
|
+
field :codec_long
|
19
|
+
field :pixel_format
|
20
|
+
field :profile
|
21
|
+
field :height
|
22
|
+
field :width
|
23
|
+
field :resolution
|
24
|
+
field :bit_rate
|
25
|
+
field :level
|
26
|
+
field :frame_rate
|
27
|
+
field :duration
|
28
|
+
field :display_aspect_ratio
|
29
|
+
field :storage_aspect_ratio
|
30
|
+
field :audio_codec
|
31
|
+
field :audio_codec_long
|
32
|
+
field :audio_channels
|
33
|
+
field :audio_channel_layout
|
34
|
+
field :audio_bit_rate
|
35
|
+
field :audio_sample_rate
|
36
|
+
|
37
|
+
has_many :encoders
|
38
|
+
has_many :renditions
|
39
|
+
has_many :activity_proxies
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Unimatrix::Iris
|
2
|
+
|
3
|
+
class Output < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :created_at
|
7
|
+
field :updated_at
|
8
|
+
field :uuid
|
9
|
+
field :key
|
10
|
+
field :url
|
11
|
+
field :state
|
12
|
+
field :stream_id
|
13
|
+
field :stream_uuid
|
14
|
+
field :authentication_username
|
15
|
+
field :authentication_password
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Unimatrix::Iris
|
2
|
+
|
3
|
+
class Recorder < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :created_at
|
7
|
+
field :updated_at
|
8
|
+
field :uuid
|
9
|
+
field :duration
|
10
|
+
field :state
|
11
|
+
field :recording_state
|
12
|
+
field :duration_limit
|
13
|
+
field :stream_id
|
14
|
+
field :stream_uuid
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Unimatrix::Iris
|
2
|
+
|
3
|
+
class Stream < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :created_at
|
7
|
+
field :updated_at
|
8
|
+
field :uuid
|
9
|
+
field :name
|
10
|
+
field :stream_type
|
11
|
+
field :realm_uuid
|
12
|
+
|
13
|
+
has_many :inputs
|
14
|
+
has_many :outputs
|
15
|
+
has_many :encoders
|
16
|
+
has_many :recorders
|
17
|
+
has_many :transmutators
|
18
|
+
has_many :transcribers
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Unimatrix::Iris
|
2
|
+
|
3
|
+
class Transcriber < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :created_at
|
7
|
+
field :updated_at
|
8
|
+
field :uuid
|
9
|
+
field :state
|
10
|
+
field :minimum_segment_duration
|
11
|
+
field :maximum_segment_duration
|
12
|
+
field :stream_id
|
13
|
+
field :stream_uuid
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Unimatrix::Iris
|
2
|
+
|
3
|
+
class Transmutator < Unimatrix::DynamicResource
|
4
|
+
|
5
|
+
field :id
|
6
|
+
field :created_at
|
7
|
+
field :updated_at
|
8
|
+
field :uuid
|
9
|
+
field :state
|
10
|
+
field :url
|
11
|
+
field :video_bitrate
|
12
|
+
field :audio_bitrate
|
13
|
+
field :height
|
14
|
+
field :width
|
15
|
+
field :audio_sample_rate
|
16
|
+
field :stream_id
|
17
|
+
field :stream_uuid
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
data/lib/unimatrix/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unimatrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jackson Souza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -90,6 +90,22 @@ files:
|
|
90
90
|
- lib/unimatrix.rb
|
91
91
|
- lib/unimatrix/activist/activity.rb
|
92
92
|
- lib/unimatrix/activist/task.rb
|
93
|
+
- lib/unimatrix/alchemist/activity_proxy.rb
|
94
|
+
- lib/unimatrix/alchemist/aws_rendition_profile.rb
|
95
|
+
- lib/unimatrix/alchemist/encoder.rb
|
96
|
+
- lib/unimatrix/alchemist/picture_rendition.rb
|
97
|
+
- lib/unimatrix/alchemist/rendition.rb
|
98
|
+
- lib/unimatrix/alchemist/rendition_profile.rb
|
99
|
+
- lib/unimatrix/alchemist/sprite_rendition.rb
|
100
|
+
- lib/unimatrix/alchemist/text.rb
|
101
|
+
- lib/unimatrix/alchemist/text_rendition.rb
|
102
|
+
- lib/unimatrix/alchemist/text_storage_activity_proxy.rb
|
103
|
+
- lib/unimatrix/alchemist/video.rb
|
104
|
+
- lib/unimatrix/alchemist/video_encoding_activity_proxy.rb
|
105
|
+
- lib/unimatrix/alchemist/video_picture_activity_proxy.rb
|
106
|
+
- lib/unimatrix/alchemist/video_rendition.rb
|
107
|
+
- lib/unimatrix/alchemist/video_sprite_activity_proxy.rb
|
108
|
+
- lib/unimatrix/alchemist/video_storage_interrogation_picture_activity_proxy.rb
|
93
109
|
- lib/unimatrix/archivist/artifact.rb
|
94
110
|
- lib/unimatrix/archivist/artifact_locator.rb
|
95
111
|
- lib/unimatrix/archivist/artifact_relationship.rb
|
@@ -105,6 +121,13 @@ files:
|
|
105
121
|
- lib/unimatrix/dynamic_resource.rb
|
106
122
|
- lib/unimatrix/error.rb
|
107
123
|
- lib/unimatrix/forbidden_error.rb
|
124
|
+
- lib/unimatrix/iris/encoder.rb
|
125
|
+
- lib/unimatrix/iris/input.rb
|
126
|
+
- lib/unimatrix/iris/output.rb
|
127
|
+
- lib/unimatrix/iris/recorder.rb
|
128
|
+
- lib/unimatrix/iris/stream.rb
|
129
|
+
- lib/unimatrix/iris/transcriber.rb
|
130
|
+
- lib/unimatrix/iris/transmutator.rb
|
108
131
|
- lib/unimatrix/malformed_parameter_error.rb
|
109
132
|
- lib/unimatrix/missing_parameter_error.rb
|
110
133
|
- lib/unimatrix/not_found_error.rb
|