active_encode 0.5.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +80 -0
- data/.rubocop.yml +9 -70
- data/.rubocop_todo.yml +68 -0
- data/Gemfile +5 -4
- data/README.md +69 -0
- data/active_encode.gemspec +12 -3
- data/app/controllers/active_encode/encode_record_controller.rb +1 -0
- data/app/jobs/active_encode/polling_job.rb +1 -1
- data/app/models/active_encode/encode_record.rb +1 -0
- data/db/migrate/20180822021048_create_active_encode_encode_records.rb +1 -0
- data/db/migrate/20190702153755_add_create_options_to_active_encode_encode_records.rb +6 -0
- data/db/migrate/20190712174821_add_progress_to_active_encode_encode_records.rb +6 -0
- data/lib/active_encode.rb +1 -0
- data/lib/active_encode/base.rb +2 -2
- data/lib/active_encode/callbacks.rb +1 -0
- data/lib/active_encode/core.rb +4 -3
- data/lib/active_encode/engine.rb +1 -0
- data/lib/active_encode/engine_adapter.rb +1 -0
- data/lib/active_encode/engine_adapters.rb +4 -1
- data/lib/active_encode/engine_adapters/elastic_transcoder_adapter.rb +31 -29
- data/lib/active_encode/engine_adapters/ffmpeg_adapter.rb +138 -87
- data/lib/active_encode/engine_adapters/matterhorn_adapter.rb +5 -4
- data/lib/active_encode/engine_adapters/media_convert_adapter.rb +399 -0
- data/lib/active_encode/engine_adapters/media_convert_output.rb +104 -0
- data/lib/active_encode/engine_adapters/pass_through_adapter.rb +239 -0
- data/lib/active_encode/engine_adapters/test_adapter.rb +5 -4
- data/lib/active_encode/engine_adapters/zencoder_adapter.rb +3 -2
- data/lib/active_encode/errors.rb +6 -0
- data/lib/active_encode/global_id.rb +2 -1
- data/lib/active_encode/input.rb +3 -2
- data/lib/active_encode/output.rb +3 -2
- data/lib/active_encode/persistence.rb +11 -5
- data/lib/active_encode/polling.rb +3 -2
- data/lib/active_encode/spec/shared_specs.rb +2 -0
- data/{spec/shared_specs/engine_adapter_specs.rb → lib/active_encode/spec/shared_specs/engine_adapter.rb} +37 -38
- data/lib/active_encode/status.rb +1 -0
- data/lib/active_encode/technical_metadata.rb +3 -2
- data/lib/active_encode/version.rb +2 -1
- data/lib/file_locator.rb +8 -9
- data/spec/controllers/encode_record_controller_spec.rb +4 -3
- data/spec/fixtures/ffmpeg/cancelled-id/cancelled +0 -0
- data/spec/fixtures/file with space.low.mp4 +0 -0
- data/spec/fixtures/file with space.mp4 +0 -0
- data/spec/fixtures/fireworks.low.mp4 +0 -0
- data/spec/fixtures/media_convert/endpoints.json +1 -0
- data/spec/fixtures/media_convert/job_canceled.json +412 -0
- data/spec/fixtures/media_convert/job_canceling.json +1 -0
- data/spec/fixtures/media_convert/job_completed.json +359 -0
- data/spec/fixtures/media_convert/job_completed_detail.json +1 -0
- data/spec/fixtures/media_convert/job_completed_detail_query.json +1 -0
- data/spec/fixtures/media_convert/job_completed_empty_detail.json +1 -0
- data/spec/fixtures/media_convert/job_created.json +408 -0
- data/spec/fixtures/media_convert/job_failed.json +406 -0
- data/spec/fixtures/media_convert/job_progressing.json +414 -0
- data/spec/fixtures/pass_through/cancelled-id/cancelled +0 -0
- data/spec/fixtures/pass_through/cancelled-id/input_metadata +90 -0
- data/spec/fixtures/pass_through/completed-id/completed +0 -0
- data/spec/fixtures/pass_through/completed-id/input_metadata +102 -0
- data/spec/fixtures/pass_through/completed-id/output_metadata-high +90 -0
- data/spec/fixtures/pass_through/completed-id/output_metadata-low +90 -0
- data/spec/fixtures/pass_through/completed-id/video-high.mp4 +0 -0
- data/spec/fixtures/pass_through/completed-id/video-low.mp4 +0 -0
- data/spec/fixtures/pass_through/failed-id/error.log +1 -0
- data/spec/fixtures/pass_through/failed-id/input_metadata +90 -0
- data/spec/fixtures/pass_through/running-id/input_metadata +90 -0
- data/spec/integration/elastic_transcoder_adapter_spec.rb +30 -30
- data/spec/integration/ffmpeg_adapter_spec.rb +93 -25
- data/spec/integration/matterhorn_adapter_spec.rb +45 -44
- data/spec/integration/media_convert_adapter_spec.rb +152 -0
- data/spec/integration/pass_through_adapter_spec.rb +151 -0
- data/spec/integration/zencoder_adapter_spec.rb +210 -209
- data/spec/rails_helper.rb +1 -0
- data/spec/routing/encode_record_controller_routing_spec.rb +1 -0
- data/spec/spec_helper.rb +2 -2
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +13 -12
- data/spec/units/callbacks_spec.rb +3 -2
- data/spec/units/core_spec.rb +26 -25
- data/spec/units/engine_adapter_spec.rb +1 -0
- data/spec/units/file_locator_spec.rb +20 -19
- data/spec/units/global_id_spec.rb +12 -11
- data/spec/units/input_spec.rb +8 -5
- data/spec/units/output_spec.rb +8 -5
- data/spec/units/persistence_spec.rb +15 -11
- data/spec/units/polling_job_spec.rb +7 -6
- data/spec/units/polling_spec.rb +1 -0
- data/spec/units/status_spec.rb +3 -3
- metadata +158 -14
- data/.travis.yml +0 -19
data/spec/units/output_spec.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'spec_helper'
|
2
3
|
|
3
4
|
describe ActiveEncode::Output do
|
@@ -6,8 +7,10 @@ describe ActiveEncode::Output do
|
|
6
7
|
describe 'attributes' do
|
7
8
|
it { is_expected.to respond_to(:id, :url, :label) }
|
8
9
|
it { is_expected.to respond_to(:state, :errors, :created_at, :updated_at) }
|
9
|
-
it {
|
10
|
-
|
10
|
+
it {
|
11
|
+
is_expected.to respond_to(:width, :height, :frame_rate, :checksum,
|
12
|
+
:audio_codec, :video_codec, :audio_bitrate, :video_bitrate)
|
13
|
+
}
|
11
14
|
end
|
12
15
|
|
13
16
|
describe '#valid?' do
|
@@ -16,8 +19,8 @@ describe ActiveEncode::Output do
|
|
16
19
|
obj.id = "1"
|
17
20
|
obj.url = "file:///tmp/video.mp4"
|
18
21
|
obj.label = "HD"
|
19
|
-
obj.created_at = Time.now
|
20
|
-
obj.updated_at = Time.now
|
22
|
+
obj.created_at = Time.now.utc
|
23
|
+
obj.updated_at = Time.now.utc
|
21
24
|
end
|
22
25
|
end
|
23
26
|
|
@@ -33,7 +36,7 @@ describe ActiveEncode::Output do
|
|
33
36
|
expect(valid_output.tap { |obj| obj.created_at = "today" }).not_to be_valid
|
34
37
|
expect(valid_output.tap { |obj| obj.updated_at = nil }).not_to be_valid
|
35
38
|
expect(valid_output.tap { |obj| obj.updated_at = "today" }).not_to be_valid
|
36
|
-
expect(valid_output.tap { |obj| obj.created_at = Time.now }).not_to be_valid
|
39
|
+
expect(valid_output.tap { |obj| obj.created_at = Time.now.utc }).not_to be_valid
|
37
40
|
end
|
38
41
|
end
|
39
42
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'rails_helper'
|
2
3
|
|
3
4
|
describe ActiveEncode::Persistence, db_clean: true do
|
@@ -12,8 +13,8 @@ describe ActiveEncode::Persistence, db_clean: true do
|
|
12
13
|
end
|
13
14
|
|
14
15
|
describe 'find' do
|
15
|
-
let(:encode) { CustomEncode.create(nil) }
|
16
16
|
subject { ActiveEncode::EncodeRecord.find_by(global_id: encode.to_global_id.to_s) }
|
17
|
+
let(:encode) { CustomEncode.create(nil) }
|
17
18
|
|
18
19
|
it 'persists changes on find' do
|
19
20
|
expect { CustomEncode.find(encode.id) }.to change { subject.reload.updated_at }
|
@@ -21,25 +22,28 @@ describe ActiveEncode::Persistence, db_clean: true do
|
|
21
22
|
end
|
22
23
|
|
23
24
|
describe 'create' do
|
24
|
-
let(:encode) { CustomEncode.create(nil) }
|
25
25
|
subject { ActiveEncode::EncodeRecord.find_by(global_id: encode.to_global_id.to_s) }
|
26
|
+
let(:create_options) { { option: 'value' } }
|
27
|
+
let(:encode) { CustomEncode.create(nil, create_options) }
|
26
28
|
|
27
29
|
it 'creates a record' do
|
28
30
|
expect { encode }.to change { ActiveEncode::EncodeRecord.count }.by(1)
|
29
31
|
end
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
it { expect(subject.global_id).to eq encode.to_global_id.to_s }
|
34
|
+
it { expect(subject.state).to eq encode.state.to_s }
|
35
|
+
it { expect(subject.adapter).to eq encode.class.engine_adapter.class.name }
|
36
|
+
it { expect(subject.title).to eq encode.input.url.to_s }
|
37
|
+
it { expect(subject.raw_object).to eq encode.to_json }
|
38
|
+
it { expect(subject.created_at).to be_within(1.second).of encode.created_at }
|
39
|
+
it { expect(subject.updated_at).to be_within(1.second).of encode.updated_at }
|
40
|
+
it { expect(subject.create_options).to eq create_options.to_json }
|
41
|
+
it { expect(subject.progress).to eq encode.percent_complete }
|
38
42
|
end
|
39
43
|
|
40
44
|
describe 'cancel' do
|
41
|
-
let(:encode) { CustomEncode.create(nil) }
|
42
45
|
subject { ActiveEncode::EncodeRecord.find_by(global_id: encode.to_global_id.to_s) }
|
46
|
+
let(:encode) { CustomEncode.create(nil) }
|
43
47
|
|
44
48
|
it 'persists changes on cancel' do
|
45
49
|
expect { encode.cancel! }.to change { subject.reload.state }.from("running").to("cancelled")
|
@@ -47,8 +51,8 @@ describe ActiveEncode::Persistence, db_clean: true do
|
|
47
51
|
end
|
48
52
|
|
49
53
|
describe 'reload' do
|
50
|
-
let(:encode) { CustomEncode.create(nil) }
|
51
54
|
subject { ActiveEncode::EncodeRecord.find_by(global_id: encode.to_global_id.to_s) }
|
55
|
+
let(:encode) { CustomEncode.create(nil) }
|
52
56
|
|
53
57
|
it 'persists changes on reload' do
|
54
58
|
expect { encode.reload }.to change { subject.reload.updated_at }
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'rails_helper'
|
2
3
|
|
3
4
|
describe ActiveEncode::PollingJob do
|
@@ -22,9 +23,9 @@ describe ActiveEncode::PollingJob do
|
|
22
23
|
end
|
23
24
|
|
24
25
|
describe '#perform' do
|
25
|
-
let(:encode) { PollingEncode.create("sample.mp4").tap { |encode| encode.state = state } }
|
26
|
-
let(:poll) { ActiveEncode::PollingJob.new }
|
27
26
|
subject { encode.history }
|
27
|
+
let(:encode) { PollingEncode.create("sample.mp4").tap { |encode| encode.state = state } }
|
28
|
+
let(:poll) { described_class.new }
|
28
29
|
|
29
30
|
before do
|
30
31
|
encode
|
@@ -41,7 +42,7 @@ describe ActiveEncode::PollingJob do
|
|
41
42
|
end
|
42
43
|
|
43
44
|
it "does not re-enqueue itself" do
|
44
|
-
expect(
|
45
|
+
expect(described_class).not_to have_been_enqueued
|
45
46
|
end
|
46
47
|
end
|
47
48
|
|
@@ -54,7 +55,7 @@ describe ActiveEncode::PollingJob do
|
|
54
55
|
end
|
55
56
|
|
56
57
|
it "does not re-enqueue itself" do
|
57
|
-
expect(
|
58
|
+
expect(described_class).not_to have_been_enqueued
|
58
59
|
end
|
59
60
|
end
|
60
61
|
|
@@ -67,7 +68,7 @@ describe ActiveEncode::PollingJob do
|
|
67
68
|
end
|
68
69
|
|
69
70
|
it "does not re-enqueue itself" do
|
70
|
-
expect(
|
71
|
+
expect(described_class).not_to have_been_enqueued
|
71
72
|
end
|
72
73
|
end
|
73
74
|
|
@@ -79,7 +80,7 @@ describe ActiveEncode::PollingJob do
|
|
79
80
|
end
|
80
81
|
|
81
82
|
it "re-enqueues itself" do
|
82
|
-
expect(
|
83
|
+
expect(described_class).to have_been_enqueued.with(encode)
|
83
84
|
end
|
84
85
|
end
|
85
86
|
end
|
data/spec/units/polling_spec.rb
CHANGED
data/spec/units/status_spec.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'spec_helper'
|
2
3
|
|
3
4
|
describe ActiveEncode::Status do
|
@@ -5,13 +6,12 @@ describe ActiveEncode::Status do
|
|
5
6
|
class CustomEncode < ActiveEncode::Base
|
6
7
|
end
|
7
8
|
end
|
8
|
-
|
9
|
+
after do
|
9
10
|
Object.send(:remove_const, :CustomEncode)
|
10
11
|
end
|
11
12
|
|
12
|
-
let(:encode_class) { ActiveEncode::Base }
|
13
|
-
|
14
13
|
subject { encode_class.new(nil) }
|
14
|
+
let(:encode_class) { ActiveEncode::Base }
|
15
15
|
|
16
16
|
describe 'attributes' do
|
17
17
|
it { is_expected.to respond_to(:state, :errors, :created_at, :updated_at) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_encode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein, Chris Colvard, Phuong Dinh
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: aws-sdk
|
28
|
+
name: aws-sdk-cloudwatchevents
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -38,6 +38,76 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aws-sdk-cloudwatchlogs
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aws-sdk-elastictranscoder
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aws-sdk-mediaconvert
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aws-sdk-s3
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bixby
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.0.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.0.0
|
41
111
|
- !ruby/object:Gem::Dependency
|
42
112
|
name: bundler
|
43
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +193,7 @@ dependencies:
|
|
123
193
|
- !ruby/object:Gem::Version
|
124
194
|
version: '0'
|
125
195
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
196
|
+
name: rspec_junit_formatter
|
127
197
|
requirement: !ruby/object:Gem::Requirement
|
128
198
|
requirements:
|
129
199
|
- - ">="
|
@@ -150,19 +220,33 @@ dependencies:
|
|
150
220
|
- - ">="
|
151
221
|
- !ruby/object:Gem::Version
|
152
222
|
version: '0'
|
153
|
-
|
154
|
-
|
155
|
-
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: sprockets
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "<"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '4'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "<"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '4'
|
237
|
+
description: This gem provides an interface to transcoding services such as Ffmpeg,
|
238
|
+
Amazon Elastic Transcoder, or Zencoder.
|
156
239
|
email:
|
157
240
|
- mbklein@gmail.com, chris.colvard@gmail.com, phuongdh@gmail.com
|
158
241
|
executables: []
|
159
242
|
extensions: []
|
160
243
|
extra_rdoc_files: []
|
161
244
|
files:
|
245
|
+
- ".circleci/config.yml"
|
162
246
|
- ".coveralls.yml"
|
163
247
|
- ".gitignore"
|
164
248
|
- ".rubocop.yml"
|
165
|
-
- ".
|
249
|
+
- ".rubocop_todo.yml"
|
166
250
|
- CODE_OF_CONDUCT.md
|
167
251
|
- CONTRIBUTING.md
|
168
252
|
- Gemfile
|
@@ -176,6 +260,8 @@ files:
|
|
176
260
|
- app/models/active_encode/encode_record.rb
|
177
261
|
- config/routes.rb
|
178
262
|
- db/migrate/20180822021048_create_active_encode_encode_records.rb
|
263
|
+
- db/migrate/20190702153755_add_create_options_to_active_encode_encode_records.rb
|
264
|
+
- db/migrate/20190712174821_add_progress_to_active_encode_encode_records.rb
|
179
265
|
- lib/active_encode.rb
|
180
266
|
- lib/active_encode/base.rb
|
181
267
|
- lib/active_encode/callbacks.rb
|
@@ -186,13 +272,19 @@ files:
|
|
186
272
|
- lib/active_encode/engine_adapters/elastic_transcoder_adapter.rb
|
187
273
|
- lib/active_encode/engine_adapters/ffmpeg_adapter.rb
|
188
274
|
- lib/active_encode/engine_adapters/matterhorn_adapter.rb
|
275
|
+
- lib/active_encode/engine_adapters/media_convert_adapter.rb
|
276
|
+
- lib/active_encode/engine_adapters/media_convert_output.rb
|
277
|
+
- lib/active_encode/engine_adapters/pass_through_adapter.rb
|
189
278
|
- lib/active_encode/engine_adapters/test_adapter.rb
|
190
279
|
- lib/active_encode/engine_adapters/zencoder_adapter.rb
|
280
|
+
- lib/active_encode/errors.rb
|
191
281
|
- lib/active_encode/global_id.rb
|
192
282
|
- lib/active_encode/input.rb
|
193
283
|
- lib/active_encode/output.rb
|
194
284
|
- lib/active_encode/persistence.rb
|
195
285
|
- lib/active_encode/polling.rb
|
286
|
+
- lib/active_encode/spec/shared_specs.rb
|
287
|
+
- lib/active_encode/spec/shared_specs/engine_adapter.rb
|
196
288
|
- lib/active_encode/status.rb
|
197
289
|
- lib/active_encode/technical_metadata.rb
|
198
290
|
- lib/active_encode/version.rb
|
@@ -212,6 +304,7 @@ files:
|
|
212
304
|
- spec/fixtures/elastic_transcoder/output_failed.json
|
213
305
|
- spec/fixtures/elastic_transcoder/output_progressing.json
|
214
306
|
- spec/fixtures/elastic_transcoder/output_submitted.json
|
307
|
+
- spec/fixtures/ffmpeg/cancelled-id/cancelled
|
215
308
|
- spec/fixtures/ffmpeg/cancelled-id/error.log
|
216
309
|
- spec/fixtures/ffmpeg/cancelled-id/input_metadata
|
217
310
|
- spec/fixtures/ffmpeg/cancelled-id/pid
|
@@ -232,6 +325,9 @@ files:
|
|
232
325
|
- spec/fixtures/ffmpeg/running-id/input_metadata
|
233
326
|
- spec/fixtures/ffmpeg/running-id/pid
|
234
327
|
- spec/fixtures/ffmpeg/running-id/progress
|
328
|
+
- spec/fixtures/file with space.low.mp4
|
329
|
+
- spec/fixtures/file with space.mp4
|
330
|
+
- spec/fixtures/fireworks.low.mp4
|
235
331
|
- spec/fixtures/fireworks.mp4
|
236
332
|
- spec/fixtures/matterhorn/cancelled_response.xml
|
237
333
|
- spec/fixtures/matterhorn/completed_response.xml
|
@@ -242,6 +338,27 @@ files:
|
|
242
338
|
- spec/fixtures/matterhorn/running_response.xml
|
243
339
|
- spec/fixtures/matterhorn/stop_completed_response.xml
|
244
340
|
- spec/fixtures/matterhorn/stop_running_response.xml
|
341
|
+
- spec/fixtures/media_convert/endpoints.json
|
342
|
+
- spec/fixtures/media_convert/job_canceled.json
|
343
|
+
- spec/fixtures/media_convert/job_canceling.json
|
344
|
+
- spec/fixtures/media_convert/job_completed.json
|
345
|
+
- spec/fixtures/media_convert/job_completed_detail.json
|
346
|
+
- spec/fixtures/media_convert/job_completed_detail_query.json
|
347
|
+
- spec/fixtures/media_convert/job_completed_empty_detail.json
|
348
|
+
- spec/fixtures/media_convert/job_created.json
|
349
|
+
- spec/fixtures/media_convert/job_failed.json
|
350
|
+
- spec/fixtures/media_convert/job_progressing.json
|
351
|
+
- spec/fixtures/pass_through/cancelled-id/cancelled
|
352
|
+
- spec/fixtures/pass_through/cancelled-id/input_metadata
|
353
|
+
- spec/fixtures/pass_through/completed-id/completed
|
354
|
+
- spec/fixtures/pass_through/completed-id/input_metadata
|
355
|
+
- spec/fixtures/pass_through/completed-id/output_metadata-high
|
356
|
+
- spec/fixtures/pass_through/completed-id/output_metadata-low
|
357
|
+
- spec/fixtures/pass_through/completed-id/video-high.mp4
|
358
|
+
- spec/fixtures/pass_through/completed-id/video-low.mp4
|
359
|
+
- spec/fixtures/pass_through/failed-id/error.log
|
360
|
+
- spec/fixtures/pass_through/failed-id/input_metadata
|
361
|
+
- spec/fixtures/pass_through/running-id/input_metadata
|
245
362
|
- spec/fixtures/zencoder/job_create.json
|
246
363
|
- spec/fixtures/zencoder/job_details_cancelled.json
|
247
364
|
- spec/fixtures/zencoder/job_details_completed.json
|
@@ -256,10 +373,11 @@ files:
|
|
256
373
|
- spec/integration/elastic_transcoder_adapter_spec.rb
|
257
374
|
- spec/integration/ffmpeg_adapter_spec.rb
|
258
375
|
- spec/integration/matterhorn_adapter_spec.rb
|
376
|
+
- spec/integration/media_convert_adapter_spec.rb
|
377
|
+
- spec/integration/pass_through_adapter_spec.rb
|
259
378
|
- spec/integration/zencoder_adapter_spec.rb
|
260
379
|
- spec/rails_helper.rb
|
261
380
|
- spec/routing/encode_record_controller_routing_spec.rb
|
262
|
-
- spec/shared_specs/engine_adapter_specs.rb
|
263
381
|
- spec/spec_helper.rb
|
264
382
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
265
383
|
- spec/units/callbacks_spec.rb
|
@@ -277,7 +395,7 @@ homepage: https://github.com/samvera-labs/active_encode
|
|
277
395
|
licenses:
|
278
396
|
- Apache-2.0
|
279
397
|
metadata: {}
|
280
|
-
post_install_message:
|
398
|
+
post_install_message:
|
281
399
|
rdoc_options: []
|
282
400
|
require_paths:
|
283
401
|
- lib
|
@@ -292,8 +410,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
410
|
- !ruby/object:Gem::Version
|
293
411
|
version: '0'
|
294
412
|
requirements: []
|
295
|
-
rubygems_version: 3.
|
296
|
-
signing_key:
|
413
|
+
rubygems_version: 3.1.2
|
414
|
+
signing_key:
|
297
415
|
specification_version: 4
|
298
416
|
summary: Declare encode job classes that can be run by a variety of encoding services
|
299
417
|
test_files:
|
@@ -312,6 +430,7 @@ test_files:
|
|
312
430
|
- spec/fixtures/elastic_transcoder/output_failed.json
|
313
431
|
- spec/fixtures/elastic_transcoder/output_progressing.json
|
314
432
|
- spec/fixtures/elastic_transcoder/output_submitted.json
|
433
|
+
- spec/fixtures/ffmpeg/cancelled-id/cancelled
|
315
434
|
- spec/fixtures/ffmpeg/cancelled-id/error.log
|
316
435
|
- spec/fixtures/ffmpeg/cancelled-id/input_metadata
|
317
436
|
- spec/fixtures/ffmpeg/cancelled-id/pid
|
@@ -332,6 +451,9 @@ test_files:
|
|
332
451
|
- spec/fixtures/ffmpeg/running-id/input_metadata
|
333
452
|
- spec/fixtures/ffmpeg/running-id/pid
|
334
453
|
- spec/fixtures/ffmpeg/running-id/progress
|
454
|
+
- spec/fixtures/file with space.low.mp4
|
455
|
+
- spec/fixtures/file with space.mp4
|
456
|
+
- spec/fixtures/fireworks.low.mp4
|
335
457
|
- spec/fixtures/fireworks.mp4
|
336
458
|
- spec/fixtures/matterhorn/cancelled_response.xml
|
337
459
|
- spec/fixtures/matterhorn/completed_response.xml
|
@@ -342,6 +464,27 @@ test_files:
|
|
342
464
|
- spec/fixtures/matterhorn/running_response.xml
|
343
465
|
- spec/fixtures/matterhorn/stop_completed_response.xml
|
344
466
|
- spec/fixtures/matterhorn/stop_running_response.xml
|
467
|
+
- spec/fixtures/media_convert/endpoints.json
|
468
|
+
- spec/fixtures/media_convert/job_canceled.json
|
469
|
+
- spec/fixtures/media_convert/job_canceling.json
|
470
|
+
- spec/fixtures/media_convert/job_completed.json
|
471
|
+
- spec/fixtures/media_convert/job_completed_detail.json
|
472
|
+
- spec/fixtures/media_convert/job_completed_detail_query.json
|
473
|
+
- spec/fixtures/media_convert/job_completed_empty_detail.json
|
474
|
+
- spec/fixtures/media_convert/job_created.json
|
475
|
+
- spec/fixtures/media_convert/job_failed.json
|
476
|
+
- spec/fixtures/media_convert/job_progressing.json
|
477
|
+
- spec/fixtures/pass_through/cancelled-id/cancelled
|
478
|
+
- spec/fixtures/pass_through/cancelled-id/input_metadata
|
479
|
+
- spec/fixtures/pass_through/completed-id/completed
|
480
|
+
- spec/fixtures/pass_through/completed-id/input_metadata
|
481
|
+
- spec/fixtures/pass_through/completed-id/output_metadata-high
|
482
|
+
- spec/fixtures/pass_through/completed-id/output_metadata-low
|
483
|
+
- spec/fixtures/pass_through/completed-id/video-high.mp4
|
484
|
+
- spec/fixtures/pass_through/completed-id/video-low.mp4
|
485
|
+
- spec/fixtures/pass_through/failed-id/error.log
|
486
|
+
- spec/fixtures/pass_through/failed-id/input_metadata
|
487
|
+
- spec/fixtures/pass_through/running-id/input_metadata
|
345
488
|
- spec/fixtures/zencoder/job_create.json
|
346
489
|
- spec/fixtures/zencoder/job_details_cancelled.json
|
347
490
|
- spec/fixtures/zencoder/job_details_completed.json
|
@@ -356,10 +499,11 @@ test_files:
|
|
356
499
|
- spec/integration/elastic_transcoder_adapter_spec.rb
|
357
500
|
- spec/integration/ffmpeg_adapter_spec.rb
|
358
501
|
- spec/integration/matterhorn_adapter_spec.rb
|
502
|
+
- spec/integration/media_convert_adapter_spec.rb
|
503
|
+
- spec/integration/pass_through_adapter_spec.rb
|
359
504
|
- spec/integration/zencoder_adapter_spec.rb
|
360
505
|
- spec/rails_helper.rb
|
361
506
|
- spec/routing/encode_record_controller_routing_spec.rb
|
362
|
-
- spec/shared_specs/engine_adapter_specs.rb
|
363
507
|
- spec/spec_helper.rb
|
364
508
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
365
509
|
- spec/units/callbacks_spec.rb
|