active_encode 1.2.0 → 1.2.2
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 +1 -0
- data/active_encode.gemspec +1 -2
- data/lib/active_encode/engine_adapters/pass_through_adapter.rb +28 -7
- data/lib/active_encode/version.rb +1 -1
- metadata +4 -274
- data/spec/controllers/encode_record_controller_spec.rb +0 -53
- data/spec/fixtures//"file_with_double_quote/".low.mp4 +0 -0
- data/spec/fixtures//"file_with_double_quote/".mp4 +0 -0
- data/spec/fixtures/'file_with_single_quote'.low.mp4 +0 -0
- data/spec/fixtures/'file_with_single_quote'.mp4 +0 -0
- data/spec/fixtures/@/341/213/210/341/213/263/341/214/205/341/210/205 /341/210/233/341/210/255 /341/211/242. /341/210/206/341/212/225 /341/214/250/341/210/255/341/210/265. /341/210/205 /341/212/240/341/211/265/341/210/213/341/210/260!@#$^^&$%&.low.mov +0 -0
- data/spec/fixtures/@/341/213/210/341/213/263/341/214/205/341/210/205 /341/210/233/341/210/255 /341/211/242. /341/210/206/341/212/225 /341/214/250/341/210/255/341/210/265. /341/210/205 /341/212/240/341/211/265/341/210/213/341/210/260!@#$^^&$%&.mov +0 -0
- data/spec/fixtures/Bars_512kb.mp4 +0 -0
- data/spec/fixtures/elastic_transcoder/input_completed.json +0 -1
- data/spec/fixtures/elastic_transcoder/input_generic.json +0 -1
- data/spec/fixtures/elastic_transcoder/input_progressing.json +0 -1
- data/spec/fixtures/elastic_transcoder/job_canceled.json +0 -1
- data/spec/fixtures/elastic_transcoder/job_completed.json +0 -1
- data/spec/fixtures/elastic_transcoder/job_created.json +0 -1
- data/spec/fixtures/elastic_transcoder/job_failed.json +0 -1
- data/spec/fixtures/elastic_transcoder/job_progressing.json +0 -1
- data/spec/fixtures/elastic_transcoder/output_canceled.json +0 -1
- data/spec/fixtures/elastic_transcoder/output_completed.json +0 -1
- data/spec/fixtures/elastic_transcoder/output_failed.json +0 -1
- data/spec/fixtures/elastic_transcoder/output_progressing.json +0 -1
- data/spec/fixtures/elastic_transcoder/output_submitted.json +0 -1
- data/spec/fixtures/ffmpeg/cancelled-id/cancelled +0 -0
- data/spec/fixtures/ffmpeg/cancelled-id/error.log +0 -0
- data/spec/fixtures/ffmpeg/cancelled-id/exit_status.code +0 -1
- data/spec/fixtures/ffmpeg/cancelled-id/input_metadata +0 -90
- data/spec/fixtures/ffmpeg/cancelled-id/pid +0 -1
- data/spec/fixtures/ffmpeg/cancelled-id/progress +0 -11
- data/spec/fixtures/ffmpeg/completed-id/error.log +0 -0
- data/spec/fixtures/ffmpeg/completed-id/exit_status.code +0 -1
- data/spec/fixtures/ffmpeg/completed-id/input_metadata +0 -102
- data/spec/fixtures/ffmpeg/completed-id/output_metadata-high +0 -90
- data/spec/fixtures/ffmpeg/completed-id/output_metadata-low +0 -90
- data/spec/fixtures/ffmpeg/completed-id/pid +0 -1
- data/spec/fixtures/ffmpeg/completed-id/progress +0 -11
- data/spec/fixtures/ffmpeg/completed-id/video-high.mp4 +0 -0
- data/spec/fixtures/ffmpeg/completed-id/video-low.mp4 +0 -0
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/error.log +0 -3
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/exit_status.code +0 -1
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/input_metadata +0 -102
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-high +0 -90
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-low +0 -90
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/pid +0 -1
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/progress +0 -11
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/video-high.mp4 +0 -0
- data/spec/fixtures/ffmpeg/completed-with-warnings-id/video-low.mp4 +0 -0
- data/spec/fixtures/ffmpeg/failed-id/error.log +0 -1
- data/spec/fixtures/ffmpeg/failed-id/exit_status.code +0 -1
- data/spec/fixtures/ffmpeg/failed-id/input_metadata +0 -90
- data/spec/fixtures/ffmpeg/failed-id/pid +0 -1
- data/spec/fixtures/ffmpeg/failed-id/progress +0 -11
- data/spec/fixtures/ffmpeg/incomplete-id/error.log +0 -0
- data/spec/fixtures/ffmpeg/incomplete-id/exit_status.code +0 -1
- data/spec/fixtures/ffmpeg/incomplete-id/input_metadata +0 -102
- data/spec/fixtures/ffmpeg/incomplete-id/output_metadata-high +0 -90
- data/spec/fixtures/ffmpeg/incomplete-id/output_metadata-low +0 -90
- data/spec/fixtures/ffmpeg/incomplete-id/pid +0 -1
- data/spec/fixtures/ffmpeg/incomplete-id/progress +0 -11
- data/spec/fixtures/ffmpeg/incomplete-id/video-high.mp4 +0 -0
- data/spec/fixtures/ffmpeg/incomplete-id/video-low.mp4 +0 -0
- data/spec/fixtures/ffmpeg/running-id/error.log +0 -0
- data/spec/fixtures/ffmpeg/running-id/input_metadata +0 -90
- data/spec/fixtures/ffmpeg/running-id/pid +0 -1
- data/spec/fixtures/ffmpeg/running-id/progress +0 -11
- data/spec/fixtures/file with space.low.mp4 +0 -0
- data/spec/fixtures/file with space.mp4 +0 -0
- data/spec/fixtures/file.with :=+%sp3c!l-ch4cts().mp4 +0 -0
- data/spec/fixtures/file.with...periods.mp4 +0 -0
- data/spec/fixtures/file_without_metadata.low.webm +0 -0
- data/spec/fixtures/file_without_metadata.mp4 +0 -0
- data/spec/fixtures/file_without_metadata.webm +0 -0
- data/spec/fixtures/fireworks.low.mp4 +0 -0
- data/spec/fixtures/fireworks.mp4 +0 -0
- data/spec/fixtures/matterhorn/cancelled_response.xml +0 -323
- data/spec/fixtures/matterhorn/completed_response.xml +0 -4
- data/spec/fixtures/matterhorn/create_response.xml +0 -300
- data/spec/fixtures/matterhorn/delete_track_response.xml +0 -2
- data/spec/fixtures/matterhorn/failed_response.xml +0 -4
- data/spec/fixtures/matterhorn/purged_response.xml +0 -342
- data/spec/fixtures/matterhorn/running_response.xml +0 -1
- data/spec/fixtures/matterhorn/stop_completed_response.xml +0 -228
- data/spec/fixtures/matterhorn/stop_running_response.xml +0 -339
- data/spec/fixtures/media_convert/endpoints.json +0 -1
- data/spec/fixtures/media_convert/job_canceled.json +0 -412
- data/spec/fixtures/media_convert/job_canceling.json +0 -1
- data/spec/fixtures/media_convert/job_completed.json +0 -359
- data/spec/fixtures/media_convert/job_completed_detail.json +0 -1
- data/spec/fixtures/media_convert/job_completed_detail_query.json +0 -1
- data/spec/fixtures/media_convert/job_completed_empty_detail.json +0 -1
- data/spec/fixtures/media_convert/job_created.json +0 -408
- data/spec/fixtures/media_convert/job_failed.json +0 -406
- data/spec/fixtures/media_convert/job_progressing.json +0 -414
- data/spec/fixtures/pass_through/cancelled-id/cancelled +0 -0
- data/spec/fixtures/pass_through/cancelled-id/input_metadata +0 -90
- data/spec/fixtures/pass_through/completed-id/completed +0 -0
- data/spec/fixtures/pass_through/completed-id/input_metadata +0 -102
- data/spec/fixtures/pass_through/completed-id/output_metadata-high +0 -90
- data/spec/fixtures/pass_through/completed-id/output_metadata-low +0 -90
- 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 +0 -1
- data/spec/fixtures/pass_through/failed-id/input_metadata +0 -90
- data/spec/fixtures/pass_through/running-id/input_metadata +0 -90
- data/spec/fixtures/zencoder/job_create.json +0 -1
- data/spec/fixtures/zencoder/job_details_cancelled.json +0 -1
- data/spec/fixtures/zencoder/job_details_completed.json +0 -1
- data/spec/fixtures/zencoder/job_details_create.json +0 -1
- data/spec/fixtures/zencoder/job_details_failed.json +0 -73
- data/spec/fixtures/zencoder/job_details_running.json +0 -1
- data/spec/fixtures/zencoder/job_progress_cancelled.json +0 -13
- data/spec/fixtures/zencoder/job_progress_completed.json +0 -13
- data/spec/fixtures/zencoder/job_progress_create.json +0 -1
- data/spec/fixtures/zencoder/job_progress_failed.json +0 -13
- data/spec/fixtures/zencoder/job_progress_running.json +0 -1
- data/spec/integration/elastic_transcoder_adapter_spec.rb +0 -218
- data/spec/integration/ffmpeg_adapter_spec.rb +0 -535
- data/spec/integration/matterhorn_adapter_spec.rb +0 -130
- data/spec/integration/media_convert_adapter_spec.rb +0 -321
- data/spec/integration/pass_through_adapter_spec.rb +0 -293
- data/spec/integration/zencoder_adapter_spec.rb +0 -391
- data/spec/rails_helper.rb +0 -25
- data/spec/routing/encode_record_controller_routing_spec.rb +0 -10
- data/spec/spec_helper.rb +0 -20
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -16
- data/spec/units/callbacks_spec.rb +0 -66
- data/spec/units/core_spec.rb +0 -160
- data/spec/units/engine_adapter_spec.rb +0 -67
- data/spec/units/file_locator_spec.rb +0 -129
- data/spec/units/filename_sanitizer_spec.rb +0 -20
- data/spec/units/global_id_spec.rb +0 -50
- data/spec/units/input_spec.rb +0 -40
- data/spec/units/output_spec.rb +0 -42
- data/spec/units/persistence_spec.rb +0 -61
- data/spec/units/polling_job_spec.rb +0 -87
- data/spec/units/polling_spec.rb +0 -23
- data/spec/units/status_spec.rb +0 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9104a0bde11fcf84284f375301d9c4b2de4a25010e8834a363323b7e8e0bb994
|
4
|
+
data.tar.gz: d03aa952ac5d8cee3b8668950563e3b4ce4c2fb4cfade4562f69b48918b60e37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3280b175e3943a28094f5298fe5c9674317b3d8d4147d83a9d5f215edd9dd422f452f7181fb57f28ebbc7632775c9bc6b91bdd7b72b5abe239c56edc7c3caf
|
7
|
+
data.tar.gz: '01062903b0008ae7299d1b97c91f26d8a1b8b6f4b69fb14a5722a577046da6b6357b0f8970b150c25735471d23166d1a25e78f216228cfcc87ad4ca257eecf98'
|
data/.circleci/config.yml
CHANGED
@@ -25,6 +25,7 @@ jobs:
|
|
25
25
|
steps:
|
26
26
|
- run:
|
27
27
|
command: |
|
28
|
+
sudo rm /etc/apt/sources.list.d/google-chrome.list # We don't need chrome and it is causing problems so just remove it
|
28
29
|
sudo apt-get update
|
29
30
|
sudo apt-get install libmms0
|
30
31
|
sudo wget -P /tmp/ https://mediaarea.net/download/binary/libzen0/0.4.39/libzen0v5_0.4.39-1_amd64.Debian_11.deb
|
data/active_encode.gemspec
CHANGED
@@ -15,9 +15,8 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.homepage = "https://github.com/samvera-labs/active_encode"
|
16
16
|
spec.license = "Apache-2.0"
|
17
17
|
|
18
|
-
spec.files = `git ls-files -z`.split("\x0")
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
20
|
spec.require_paths = ["lib"]
|
22
21
|
spec.metadata = { "rubygems_mfa_required" => "true" }
|
23
22
|
|
@@ -17,10 +17,8 @@ module ActiveEncode
|
|
17
17
|
MEDIAINFO_PATH = ENV["MEDIAINFO_PATH"] || "mediainfo"
|
18
18
|
FFMPEG_PATH = ENV["FFMPEG_PATH"] || "ffmpeg"
|
19
19
|
|
20
|
-
def create(
|
21
|
-
|
22
|
-
input_url = Addressable::URI.unencode(input_url) if input_url.starts_with? "file:///"
|
23
|
-
input_url = ActiveEncode.sanitize_input(input_url)
|
20
|
+
def create(original_input_url, options = {})
|
21
|
+
input_url = sanitize_input_url(original_input_url)
|
24
22
|
|
25
23
|
new_encode = ActiveEncode::Base.new(input_url, options)
|
26
24
|
new_encode.id = SecureRandom.uuid
|
@@ -76,9 +74,7 @@ module ActiveEncode
|
|
76
74
|
|
77
75
|
# Copy derivatives to work directory
|
78
76
|
options[:outputs].each do |opt|
|
79
|
-
|
80
|
-
output_path = working_path("outputs/#{ActiveEncode.sanitize_base opt[:url]}#{File.extname opt[:url]}", new_encode.id)
|
81
|
-
FileUtils.cp FileLocator.new(url).location, output_path
|
77
|
+
output_path = copy_derivative_to_working_path(opt[:url], new_encode.id)
|
82
78
|
filename_label_hash[output_path] = opt[:label]
|
83
79
|
end
|
84
80
|
|
@@ -271,6 +267,31 @@ module ActiveEncode
|
|
271
267
|
write_errors new_encode
|
272
268
|
new_encode
|
273
269
|
end
|
270
|
+
|
271
|
+
def sanitize_input_url(url)
|
272
|
+
input_url = if url.starts_with?("file://")
|
273
|
+
# Decode file uris for ffmpeg (mediainfo works either way)
|
274
|
+
Addressable::URI.unencode(url)
|
275
|
+
elsif url.starts_with?("s3://")
|
276
|
+
# Change s3 uris into presigned http urls
|
277
|
+
FileLocator.new(url).location
|
278
|
+
else
|
279
|
+
url
|
280
|
+
end
|
281
|
+
ActiveEncode.sanitize_input(input_url)
|
282
|
+
end
|
283
|
+
|
284
|
+
def copy_derivative_to_working_path(url, id)
|
285
|
+
output_path = working_path("outputs/#{ActiveEncode.sanitize_base url}#{File.extname url}", id)
|
286
|
+
if url.start_with? "s3://"
|
287
|
+
# Use aws-sdk-s3 download_file method
|
288
|
+
# Single request mode needed for compatibility with minio
|
289
|
+
FileLocator::S3File.new(url).object.download_file(output_path, mode: 'single_request')
|
290
|
+
else
|
291
|
+
FileUtils.cp FileLocator.new(url).location, output_path
|
292
|
+
end
|
293
|
+
output_path
|
294
|
+
end
|
274
295
|
end
|
275
296
|
end
|
276
297
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein, Chris Colvard, Phuong Dinh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -298,141 +298,6 @@ files:
|
|
298
298
|
- lib/active_encode/technical_metadata.rb
|
299
299
|
- lib/active_encode/version.rb
|
300
300
|
- lib/file_locator.rb
|
301
|
-
- spec/controllers/encode_record_controller_spec.rb
|
302
|
-
- spec/fixtures/"file_with_double_quote".low.mp4
|
303
|
-
- spec/fixtures/"file_with_double_quote".mp4
|
304
|
-
- spec/fixtures/'file_with_single_quote'.low.mp4
|
305
|
-
- spec/fixtures/'file_with_single_quote'.mp4
|
306
|
-
- spec/fixtures/@ወዳጅህ ማር ቢ. ሆን ጨርስ. ህ አትላሰ!@#$^^&$%&.low.mov
|
307
|
-
- spec/fixtures/@ወዳጅህ ማር ቢ. ሆን ጨርስ. ህ አትላሰ!@#$^^&$%&.mov
|
308
|
-
- spec/fixtures/Bars_512kb.mp4
|
309
|
-
- spec/fixtures/elastic_transcoder/input_completed.json
|
310
|
-
- spec/fixtures/elastic_transcoder/input_generic.json
|
311
|
-
- spec/fixtures/elastic_transcoder/input_progressing.json
|
312
|
-
- spec/fixtures/elastic_transcoder/job_canceled.json
|
313
|
-
- spec/fixtures/elastic_transcoder/job_completed.json
|
314
|
-
- spec/fixtures/elastic_transcoder/job_created.json
|
315
|
-
- spec/fixtures/elastic_transcoder/job_failed.json
|
316
|
-
- spec/fixtures/elastic_transcoder/job_progressing.json
|
317
|
-
- spec/fixtures/elastic_transcoder/output_canceled.json
|
318
|
-
- spec/fixtures/elastic_transcoder/output_completed.json
|
319
|
-
- spec/fixtures/elastic_transcoder/output_failed.json
|
320
|
-
- spec/fixtures/elastic_transcoder/output_progressing.json
|
321
|
-
- spec/fixtures/elastic_transcoder/output_submitted.json
|
322
|
-
- spec/fixtures/ffmpeg/cancelled-id/cancelled
|
323
|
-
- spec/fixtures/ffmpeg/cancelled-id/error.log
|
324
|
-
- spec/fixtures/ffmpeg/cancelled-id/exit_status.code
|
325
|
-
- spec/fixtures/ffmpeg/cancelled-id/input_metadata
|
326
|
-
- spec/fixtures/ffmpeg/cancelled-id/pid
|
327
|
-
- spec/fixtures/ffmpeg/cancelled-id/progress
|
328
|
-
- spec/fixtures/ffmpeg/completed-id/error.log
|
329
|
-
- spec/fixtures/ffmpeg/completed-id/exit_status.code
|
330
|
-
- spec/fixtures/ffmpeg/completed-id/input_metadata
|
331
|
-
- spec/fixtures/ffmpeg/completed-id/output_metadata-high
|
332
|
-
- spec/fixtures/ffmpeg/completed-id/output_metadata-low
|
333
|
-
- spec/fixtures/ffmpeg/completed-id/pid
|
334
|
-
- spec/fixtures/ffmpeg/completed-id/progress
|
335
|
-
- spec/fixtures/ffmpeg/completed-id/video-high.mp4
|
336
|
-
- spec/fixtures/ffmpeg/completed-id/video-low.mp4
|
337
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/error.log
|
338
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/exit_status.code
|
339
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/input_metadata
|
340
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-high
|
341
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-low
|
342
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/pid
|
343
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/progress
|
344
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/video-high.mp4
|
345
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/video-low.mp4
|
346
|
-
- spec/fixtures/ffmpeg/failed-id/error.log
|
347
|
-
- spec/fixtures/ffmpeg/failed-id/exit_status.code
|
348
|
-
- spec/fixtures/ffmpeg/failed-id/input_metadata
|
349
|
-
- spec/fixtures/ffmpeg/failed-id/pid
|
350
|
-
- spec/fixtures/ffmpeg/failed-id/progress
|
351
|
-
- spec/fixtures/ffmpeg/incomplete-id/error.log
|
352
|
-
- spec/fixtures/ffmpeg/incomplete-id/exit_status.code
|
353
|
-
- spec/fixtures/ffmpeg/incomplete-id/input_metadata
|
354
|
-
- spec/fixtures/ffmpeg/incomplete-id/output_metadata-high
|
355
|
-
- spec/fixtures/ffmpeg/incomplete-id/output_metadata-low
|
356
|
-
- spec/fixtures/ffmpeg/incomplete-id/pid
|
357
|
-
- spec/fixtures/ffmpeg/incomplete-id/progress
|
358
|
-
- spec/fixtures/ffmpeg/incomplete-id/video-high.mp4
|
359
|
-
- spec/fixtures/ffmpeg/incomplete-id/video-low.mp4
|
360
|
-
- spec/fixtures/ffmpeg/running-id/error.log
|
361
|
-
- spec/fixtures/ffmpeg/running-id/input_metadata
|
362
|
-
- spec/fixtures/ffmpeg/running-id/pid
|
363
|
-
- spec/fixtures/ffmpeg/running-id/progress
|
364
|
-
- spec/fixtures/file with space.low.mp4
|
365
|
-
- spec/fixtures/file with space.mp4
|
366
|
-
- spec/fixtures/file.with :=+%sp3c!l-ch4cts().mp4
|
367
|
-
- spec/fixtures/file.with...periods.mp4
|
368
|
-
- spec/fixtures/file_without_metadata.low.webm
|
369
|
-
- spec/fixtures/file_without_metadata.mp4
|
370
|
-
- spec/fixtures/file_without_metadata.webm
|
371
|
-
- spec/fixtures/fireworks.low.mp4
|
372
|
-
- spec/fixtures/fireworks.mp4
|
373
|
-
- spec/fixtures/matterhorn/cancelled_response.xml
|
374
|
-
- spec/fixtures/matterhorn/completed_response.xml
|
375
|
-
- spec/fixtures/matterhorn/create_response.xml
|
376
|
-
- spec/fixtures/matterhorn/delete_track_response.xml
|
377
|
-
- spec/fixtures/matterhorn/failed_response.xml
|
378
|
-
- spec/fixtures/matterhorn/purged_response.xml
|
379
|
-
- spec/fixtures/matterhorn/running_response.xml
|
380
|
-
- spec/fixtures/matterhorn/stop_completed_response.xml
|
381
|
-
- spec/fixtures/matterhorn/stop_running_response.xml
|
382
|
-
- spec/fixtures/media_convert/endpoints.json
|
383
|
-
- spec/fixtures/media_convert/job_canceled.json
|
384
|
-
- spec/fixtures/media_convert/job_canceling.json
|
385
|
-
- spec/fixtures/media_convert/job_completed.json
|
386
|
-
- spec/fixtures/media_convert/job_completed_detail.json
|
387
|
-
- spec/fixtures/media_convert/job_completed_detail_query.json
|
388
|
-
- spec/fixtures/media_convert/job_completed_empty_detail.json
|
389
|
-
- spec/fixtures/media_convert/job_created.json
|
390
|
-
- spec/fixtures/media_convert/job_failed.json
|
391
|
-
- spec/fixtures/media_convert/job_progressing.json
|
392
|
-
- spec/fixtures/pass_through/cancelled-id/cancelled
|
393
|
-
- spec/fixtures/pass_through/cancelled-id/input_metadata
|
394
|
-
- spec/fixtures/pass_through/completed-id/completed
|
395
|
-
- spec/fixtures/pass_through/completed-id/input_metadata
|
396
|
-
- spec/fixtures/pass_through/completed-id/output_metadata-high
|
397
|
-
- spec/fixtures/pass_through/completed-id/output_metadata-low
|
398
|
-
- spec/fixtures/pass_through/completed-id/video-high.mp4
|
399
|
-
- spec/fixtures/pass_through/completed-id/video-low.mp4
|
400
|
-
- spec/fixtures/pass_through/failed-id/error.log
|
401
|
-
- spec/fixtures/pass_through/failed-id/input_metadata
|
402
|
-
- spec/fixtures/pass_through/running-id/input_metadata
|
403
|
-
- spec/fixtures/zencoder/job_create.json
|
404
|
-
- spec/fixtures/zencoder/job_details_cancelled.json
|
405
|
-
- spec/fixtures/zencoder/job_details_completed.json
|
406
|
-
- spec/fixtures/zencoder/job_details_create.json
|
407
|
-
- spec/fixtures/zencoder/job_details_failed.json
|
408
|
-
- spec/fixtures/zencoder/job_details_running.json
|
409
|
-
- spec/fixtures/zencoder/job_progress_cancelled.json
|
410
|
-
- spec/fixtures/zencoder/job_progress_completed.json
|
411
|
-
- spec/fixtures/zencoder/job_progress_create.json
|
412
|
-
- spec/fixtures/zencoder/job_progress_failed.json
|
413
|
-
- spec/fixtures/zencoder/job_progress_running.json
|
414
|
-
- spec/integration/elastic_transcoder_adapter_spec.rb
|
415
|
-
- spec/integration/ffmpeg_adapter_spec.rb
|
416
|
-
- spec/integration/matterhorn_adapter_spec.rb
|
417
|
-
- spec/integration/media_convert_adapter_spec.rb
|
418
|
-
- spec/integration/pass_through_adapter_spec.rb
|
419
|
-
- spec/integration/zencoder_adapter_spec.rb
|
420
|
-
- spec/rails_helper.rb
|
421
|
-
- spec/routing/encode_record_controller_routing_spec.rb
|
422
|
-
- spec/spec_helper.rb
|
423
|
-
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
424
|
-
- spec/units/callbacks_spec.rb
|
425
|
-
- spec/units/core_spec.rb
|
426
|
-
- spec/units/engine_adapter_spec.rb
|
427
|
-
- spec/units/file_locator_spec.rb
|
428
|
-
- spec/units/filename_sanitizer_spec.rb
|
429
|
-
- spec/units/global_id_spec.rb
|
430
|
-
- spec/units/input_spec.rb
|
431
|
-
- spec/units/output_spec.rb
|
432
|
-
- spec/units/persistence_spec.rb
|
433
|
-
- spec/units/polling_job_spec.rb
|
434
|
-
- spec/units/polling_spec.rb
|
435
|
-
- spec/units/status_spec.rb
|
436
301
|
homepage: https://github.com/samvera-labs/active_encode
|
437
302
|
licenses:
|
438
303
|
- Apache-2.0
|
@@ -453,143 +318,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
453
318
|
- !ruby/object:Gem::Version
|
454
319
|
version: '0'
|
455
320
|
requirements: []
|
456
|
-
rubygems_version: 3.
|
321
|
+
rubygems_version: 3.5.6
|
457
322
|
signing_key:
|
458
323
|
specification_version: 4
|
459
324
|
summary: Declare encode job classes that can be run by a variety of encoding services
|
460
|
-
test_files:
|
461
|
-
- spec/controllers/encode_record_controller_spec.rb
|
462
|
-
- spec/fixtures/"file_with_double_quote".low.mp4
|
463
|
-
- spec/fixtures/"file_with_double_quote".mp4
|
464
|
-
- spec/fixtures/'file_with_single_quote'.low.mp4
|
465
|
-
- spec/fixtures/'file_with_single_quote'.mp4
|
466
|
-
- spec/fixtures/@ወዳጅህ ማር ቢ. ሆን ጨርስ. ህ አትላሰ!@#$^^&$%&.low.mov
|
467
|
-
- spec/fixtures/@ወዳጅህ ማር ቢ. ሆን ጨርስ. ህ አትላሰ!@#$^^&$%&.mov
|
468
|
-
- spec/fixtures/Bars_512kb.mp4
|
469
|
-
- spec/fixtures/elastic_transcoder/input_completed.json
|
470
|
-
- spec/fixtures/elastic_transcoder/input_generic.json
|
471
|
-
- spec/fixtures/elastic_transcoder/input_progressing.json
|
472
|
-
- spec/fixtures/elastic_transcoder/job_canceled.json
|
473
|
-
- spec/fixtures/elastic_transcoder/job_completed.json
|
474
|
-
- spec/fixtures/elastic_transcoder/job_created.json
|
475
|
-
- spec/fixtures/elastic_transcoder/job_failed.json
|
476
|
-
- spec/fixtures/elastic_transcoder/job_progressing.json
|
477
|
-
- spec/fixtures/elastic_transcoder/output_canceled.json
|
478
|
-
- spec/fixtures/elastic_transcoder/output_completed.json
|
479
|
-
- spec/fixtures/elastic_transcoder/output_failed.json
|
480
|
-
- spec/fixtures/elastic_transcoder/output_progressing.json
|
481
|
-
- spec/fixtures/elastic_transcoder/output_submitted.json
|
482
|
-
- spec/fixtures/ffmpeg/cancelled-id/cancelled
|
483
|
-
- spec/fixtures/ffmpeg/cancelled-id/error.log
|
484
|
-
- spec/fixtures/ffmpeg/cancelled-id/exit_status.code
|
485
|
-
- spec/fixtures/ffmpeg/cancelled-id/input_metadata
|
486
|
-
- spec/fixtures/ffmpeg/cancelled-id/pid
|
487
|
-
- spec/fixtures/ffmpeg/cancelled-id/progress
|
488
|
-
- spec/fixtures/ffmpeg/completed-id/error.log
|
489
|
-
- spec/fixtures/ffmpeg/completed-id/exit_status.code
|
490
|
-
- spec/fixtures/ffmpeg/completed-id/input_metadata
|
491
|
-
- spec/fixtures/ffmpeg/completed-id/output_metadata-high
|
492
|
-
- spec/fixtures/ffmpeg/completed-id/output_metadata-low
|
493
|
-
- spec/fixtures/ffmpeg/completed-id/pid
|
494
|
-
- spec/fixtures/ffmpeg/completed-id/progress
|
495
|
-
- spec/fixtures/ffmpeg/completed-id/video-high.mp4
|
496
|
-
- spec/fixtures/ffmpeg/completed-id/video-low.mp4
|
497
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/error.log
|
498
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/exit_status.code
|
499
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/input_metadata
|
500
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-high
|
501
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-low
|
502
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/pid
|
503
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/progress
|
504
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/video-high.mp4
|
505
|
-
- spec/fixtures/ffmpeg/completed-with-warnings-id/video-low.mp4
|
506
|
-
- spec/fixtures/ffmpeg/failed-id/error.log
|
507
|
-
- spec/fixtures/ffmpeg/failed-id/exit_status.code
|
508
|
-
- spec/fixtures/ffmpeg/failed-id/input_metadata
|
509
|
-
- spec/fixtures/ffmpeg/failed-id/pid
|
510
|
-
- spec/fixtures/ffmpeg/failed-id/progress
|
511
|
-
- spec/fixtures/ffmpeg/incomplete-id/error.log
|
512
|
-
- spec/fixtures/ffmpeg/incomplete-id/exit_status.code
|
513
|
-
- spec/fixtures/ffmpeg/incomplete-id/input_metadata
|
514
|
-
- spec/fixtures/ffmpeg/incomplete-id/output_metadata-high
|
515
|
-
- spec/fixtures/ffmpeg/incomplete-id/output_metadata-low
|
516
|
-
- spec/fixtures/ffmpeg/incomplete-id/pid
|
517
|
-
- spec/fixtures/ffmpeg/incomplete-id/progress
|
518
|
-
- spec/fixtures/ffmpeg/incomplete-id/video-high.mp4
|
519
|
-
- spec/fixtures/ffmpeg/incomplete-id/video-low.mp4
|
520
|
-
- spec/fixtures/ffmpeg/running-id/error.log
|
521
|
-
- spec/fixtures/ffmpeg/running-id/input_metadata
|
522
|
-
- spec/fixtures/ffmpeg/running-id/pid
|
523
|
-
- spec/fixtures/ffmpeg/running-id/progress
|
524
|
-
- spec/fixtures/file with space.low.mp4
|
525
|
-
- spec/fixtures/file with space.mp4
|
526
|
-
- spec/fixtures/file.with :=+%sp3c!l-ch4cts().mp4
|
527
|
-
- spec/fixtures/file.with...periods.mp4
|
528
|
-
- spec/fixtures/file_without_metadata.low.webm
|
529
|
-
- spec/fixtures/file_without_metadata.mp4
|
530
|
-
- spec/fixtures/file_without_metadata.webm
|
531
|
-
- spec/fixtures/fireworks.low.mp4
|
532
|
-
- spec/fixtures/fireworks.mp4
|
533
|
-
- spec/fixtures/matterhorn/cancelled_response.xml
|
534
|
-
- spec/fixtures/matterhorn/completed_response.xml
|
535
|
-
- spec/fixtures/matterhorn/create_response.xml
|
536
|
-
- spec/fixtures/matterhorn/delete_track_response.xml
|
537
|
-
- spec/fixtures/matterhorn/failed_response.xml
|
538
|
-
- spec/fixtures/matterhorn/purged_response.xml
|
539
|
-
- spec/fixtures/matterhorn/running_response.xml
|
540
|
-
- spec/fixtures/matterhorn/stop_completed_response.xml
|
541
|
-
- spec/fixtures/matterhorn/stop_running_response.xml
|
542
|
-
- spec/fixtures/media_convert/endpoints.json
|
543
|
-
- spec/fixtures/media_convert/job_canceled.json
|
544
|
-
- spec/fixtures/media_convert/job_canceling.json
|
545
|
-
- spec/fixtures/media_convert/job_completed.json
|
546
|
-
- spec/fixtures/media_convert/job_completed_detail.json
|
547
|
-
- spec/fixtures/media_convert/job_completed_detail_query.json
|
548
|
-
- spec/fixtures/media_convert/job_completed_empty_detail.json
|
549
|
-
- spec/fixtures/media_convert/job_created.json
|
550
|
-
- spec/fixtures/media_convert/job_failed.json
|
551
|
-
- spec/fixtures/media_convert/job_progressing.json
|
552
|
-
- spec/fixtures/pass_through/cancelled-id/cancelled
|
553
|
-
- spec/fixtures/pass_through/cancelled-id/input_metadata
|
554
|
-
- spec/fixtures/pass_through/completed-id/completed
|
555
|
-
- spec/fixtures/pass_through/completed-id/input_metadata
|
556
|
-
- spec/fixtures/pass_through/completed-id/output_metadata-high
|
557
|
-
- spec/fixtures/pass_through/completed-id/output_metadata-low
|
558
|
-
- spec/fixtures/pass_through/completed-id/video-high.mp4
|
559
|
-
- spec/fixtures/pass_through/completed-id/video-low.mp4
|
560
|
-
- spec/fixtures/pass_through/failed-id/error.log
|
561
|
-
- spec/fixtures/pass_through/failed-id/input_metadata
|
562
|
-
- spec/fixtures/pass_through/running-id/input_metadata
|
563
|
-
- spec/fixtures/zencoder/job_create.json
|
564
|
-
- spec/fixtures/zencoder/job_details_cancelled.json
|
565
|
-
- spec/fixtures/zencoder/job_details_completed.json
|
566
|
-
- spec/fixtures/zencoder/job_details_create.json
|
567
|
-
- spec/fixtures/zencoder/job_details_failed.json
|
568
|
-
- spec/fixtures/zencoder/job_details_running.json
|
569
|
-
- spec/fixtures/zencoder/job_progress_cancelled.json
|
570
|
-
- spec/fixtures/zencoder/job_progress_completed.json
|
571
|
-
- spec/fixtures/zencoder/job_progress_create.json
|
572
|
-
- spec/fixtures/zencoder/job_progress_failed.json
|
573
|
-
- spec/fixtures/zencoder/job_progress_running.json
|
574
|
-
- spec/integration/elastic_transcoder_adapter_spec.rb
|
575
|
-
- spec/integration/ffmpeg_adapter_spec.rb
|
576
|
-
- spec/integration/matterhorn_adapter_spec.rb
|
577
|
-
- spec/integration/media_convert_adapter_spec.rb
|
578
|
-
- spec/integration/pass_through_adapter_spec.rb
|
579
|
-
- spec/integration/zencoder_adapter_spec.rb
|
580
|
-
- spec/rails_helper.rb
|
581
|
-
- spec/routing/encode_record_controller_routing_spec.rb
|
582
|
-
- spec/spec_helper.rb
|
583
|
-
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
584
|
-
- spec/units/callbacks_spec.rb
|
585
|
-
- spec/units/core_spec.rb
|
586
|
-
- spec/units/engine_adapter_spec.rb
|
587
|
-
- spec/units/file_locator_spec.rb
|
588
|
-
- spec/units/filename_sanitizer_spec.rb
|
589
|
-
- spec/units/global_id_spec.rb
|
590
|
-
- spec/units/input_spec.rb
|
591
|
-
- spec/units/output_spec.rb
|
592
|
-
- spec/units/persistence_spec.rb
|
593
|
-
- spec/units/polling_job_spec.rb
|
594
|
-
- spec/units/polling_spec.rb
|
595
|
-
- spec/units/status_spec.rb
|
325
|
+
test_files: []
|
@@ -1,53 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require 'rails_helper'
|
3
|
-
|
4
|
-
describe ActiveEncode::EncodeRecordController, type: :controller, db_clean: true do
|
5
|
-
routes { ActiveEncode::Engine.routes }
|
6
|
-
|
7
|
-
let(:encode_record) { ActiveEncode::EncodeRecord.create(id: 1, global_id: "app://ActiveEncode/Encode/1", state: "running", adapter: "ffmpeg", title: "Test", raw_object: raw_object, progress: 100) }
|
8
|
-
let(:raw_object) do
|
9
|
-
"{\"input\":{\"url\":\"file:///Users/cjcolvar/Documents/Code/samvera/active_encode/spec/fixtures/fireworks.mp4\",\"width\":960.0,\"height\":540.0,\"frame_rate\":29.671,\"duration\":6024,\"file_size\":1629578,\"audio_codec\":\"mp4a-40-2\",\"video_codec\":\"avc1\",\"audio_bitrate\":69737,\"video_bitrate\":2092780,\"created_at\":\"2018-12-17T16:54:50.401-05:00\",\"updated_at\":\"2018-12-17T16:54:50.401-05:00\",\"id\":\"8156\"},\"options\":{},\"id\":\"35efa965-ec51-409d-9495-2ae9669adbcc\",\"output\":[{\"url\":\"file:///Users/cjcolvar/Documents/Code/samvera/active_encode/.internal_test_app/encodes/35efa965-ec51-409d-9495-2ae9669adbcc/outputs/fireworks-low.mp4\",\"label\":\"low\",\"id\":\"8156-low\",\"created_at\":\"2018-12-17T16:54:50.401-05:00\",\"updated_at\":\"2018-12-17T16:54:59.169-05:00\",\"width\":640.0,\"height\":480.0,\"frame_rate\":29.671,\"duration\":6038,\"file_size\":905987,\"audio_codec\":\"mp4a-40-2\",\"video_codec\":\"avc1\",\"audio_bitrate\":72000,\"video_bitrate\":1126859},{\"url\":\"file:///Users/cjcolvar/Documents/Code/samvera/active_encode/.internal_test_app/encodes/35efa965-ec51-409d-9495-2ae9669adbcc/outputs/fireworks-high.mp4\",\"label\":\"high\",\"id\":\"8156-high\",\"created_at\":\"2018-12-17T16:54:50.401-05:00\",\"updated_at\":\"2018-12-17T16:54:59.169-05:00\",\"width\":1280.0,\"height\":720.0,\"frame_rate\":29.671,\"duration\":6038,\"file_size\":2102027,\"audio_codec\":\"mp4a-40-2\",\"video_codec\":\"avc1\",\"audio_bitrate\":72000,\"video_bitrate\":2721866}],\"state\":\"completed\",\"errors\":[],\"created_at\":\"2018-12-17T16:54:50.401-05:00\",\"updated_at\":\"2018-12-17T16:54:59.169-05:00\",\"current_operations\":[],\"percent_complete\":100,\"global_id\":{\"uri\":\"gid://ActiveEncode/Encode/35efa965-ec51-409d-9495-2ae9669adbcc\"}}"
|
10
|
-
end
|
11
|
-
|
12
|
-
before do
|
13
|
-
encode_record
|
14
|
-
end
|
15
|
-
|
16
|
-
describe 'GET show' do
|
17
|
-
before do
|
18
|
-
get :show, params: { id: record_id }
|
19
|
-
end
|
20
|
-
|
21
|
-
context 'when record exists' do
|
22
|
-
let(:record_id) { 1 }
|
23
|
-
|
24
|
-
it "responds with a 200 status code" do
|
25
|
-
expect(response.status).to eq 200
|
26
|
-
end
|
27
|
-
|
28
|
-
it "responds with JSON" do
|
29
|
-
expect(response.content_type).to include "application/json"
|
30
|
-
end
|
31
|
-
|
32
|
-
it "returns the encode record's raw json object" do
|
33
|
-
expect(response.body).to eq raw_object
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
context 'when record does not exist' do
|
38
|
-
let(:record_id) { "non-existant" }
|
39
|
-
|
40
|
-
it "responds with a 404 status code" do
|
41
|
-
expect(response.status).to eq 404
|
42
|
-
end
|
43
|
-
|
44
|
-
it "responds with JSON" do
|
45
|
-
expect(response.content_type).to include "application/json"
|
46
|
-
end
|
47
|
-
|
48
|
-
it "returns the encode record's raw json object" do
|
49
|
-
expect(response.body).to eq "{\"message\":\"Couldn't find ActiveEncode::EncodeRecord with 'id'=#{record_id}\"}"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
{"key":"somefile.mp4","detected_properties":{"width":1280,"height":720,"frame_rate":"25","file_size":21069678,"duration_millis":117312}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"key":"somefile.mp4"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"key":"somefile.mp4","detected_properties":{"width":1280,"height":720,"frame_rate":"25","file_size":21069678,"duration_millis":117312}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"cancelled-id","arn":"arn:aws:elastictranscoder:us-west-2:039358184980:job/1471963629141-kmcocm","pipeline_id":"1470797373927-1ukxrn","output_key_prefix":"elastic-transcoder-samples/output/hls/","playlists":[],"status":"Canceled","timing":{"submit_time_millis":1471963629189,"finish_time_millis":1471975185271}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"completed-id","arn":"arn:aws:elastictranscoder:us-west-2:039358184980:job/1471963629141-kmcocm","pipeline_id":"1470797373927-1ukxrn","output_key_prefix":"elastic-transcoder-samples/output/hls/","playlists":[],"status":"Complete","timing":{"submit_time_millis":1471963629189,"start_time_millis":1471975169865,"finish_time_millis":1471975185271}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"1471963629141-kmcocm-created","arn":"arn:aws:elastictranscoder:us-west-2:039358184980:job/1471963629141-kmcocm","pipeline_id":"1470797373927-1ukxrn","input":{"key":"somefile.mp4"},"output":{"id":"1","key":"hlsAudio/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200071","segment_duration":"2.0","status":"Submitted","watermarks":[]},"output_key_prefix":"elastic-transcoder-samples/output/hls/","playlists":[],"status":"Submitted","timing":{"submit_time_millis":1471963629189}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"failed-id","arn":"arn:aws:elastictranscoder:us-west-2:039358184980:job/1471963629141-kmcocm","pipeline_id":"1470797373927-1ukxrn","output_key_prefix":"elastic-transcoder-samples/output/hls/","playlists":[],"status":"Error","timing":{"submit_time_millis":1471963629189,"start_time_millis":1471975169865,"finish_time_millis":1471975185271}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"running-id","arn":"arn:aws:elastictranscoder:us-west-2:039358184980:job/1471963629141-kmcocm","pipeline_id":"1470797373927-1ukxrn","output_key_prefix":"elastic-transcoder-samples/output/hls/","playlists":[],"status":"Progressing","timing":{"submit_time_millis":1471963629189,"start_time_millis":1471975169865}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"2","key":"hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200050","segment_duration":"2.0","status":"Canceled","watermarks":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"2","key":"hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200050","segment_duration":"2.0","status":"Complete","status_detail":"The input file for this job contains 6 audio channels and the preset is configured for 2 audio channels. Amazon Elastic Transcoder audio-channel mapping may not result in the desired audio. Some individual segment files for this output have a higher bit rate than the average bit rate of the transcoded media. Playlists including this output will record a higher bit rate than the rate specified by the preset.","duration":118,"width":400,"height":224,"frame_rate":"25","file_size":6901104,"duration_millis":117353,"watermarks":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"2","key":"hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200050","segment_duration":"2.0","status":"Error","status_detail":"3002 0419623b-342f-4bde-9e3a-439477a95f2c: The specified object could not be saved in the specified bucket because an object by that name already exists: bucket=elasticbeanstalk-us-west-2-039358184980, key=elastic-transcoder-samples/output/hls/hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a00000.ts.","watermarks":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"2","key":"hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200050","segment_duration":"2.0","status":"Progressing","watermarks":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":"2","key":"hls0400k/e8fe80f5b7063b12d567b90c0bdf6322116bba11ac458fe9d62921644159fe4a","preset_id":"1351620000001-200050","segment_duration":"2.0","status":"Submitted","watermarks":[]}
|
File without changes
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
143
|
@@ -1,90 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<MediaInfo
|
3
|
-
xmlns="https://mediaarea.net/mediainfo"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea.net/mediainfo/mediainfo_2_0.xsd"
|
6
|
-
version="2.0">
|
7
|
-
<creatingLibrary version="18.05" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary>
|
8
|
-
<media ref="file:///Bars_512kb.mp4">
|
9
|
-
<track type="General">
|
10
|
-
<VideoCount>1</VideoCount>
|
11
|
-
<AudioCount>1</AudioCount>
|
12
|
-
<FileExtension>mp4</FileExtension>
|
13
|
-
<Format>MPEG-4</Format>
|
14
|
-
<Format_Profile>Base Media</Format_Profile>
|
15
|
-
<CodecID>isom</CodecID>
|
16
|
-
<FileSize>24876</FileSize>
|
17
|
-
<Duration>4.928</Duration>
|
18
|
-
<OverallBitRate_Mode>VBR</OverallBitRate_Mode>
|
19
|
-
<OverallBitRate>40383</OverallBitRate>
|
20
|
-
<FrameRate>1.000</FrameRate>
|
21
|
-
<FrameCount>1</FrameCount>
|
22
|
-
<StreamSize>3216</StreamSize>
|
23
|
-
<HeaderSize>3208</HeaderSize>
|
24
|
-
<DataSize>21668</DataSize>
|
25
|
-
<FooterSize>0</FooterSize>
|
26
|
-
<IsStreamable>Yes</IsStreamable>
|
27
|
-
<Title>Bars - http://www.archive.org/details/ColorBarsWTone</Title>
|
28
|
-
<Movie>Bars - http://www.archive.org/details/ColorBarsWTone</Movie>
|
29
|
-
<Recorded_Date>2008</Recorded_Date>
|
30
|
-
<Encoded_Date>UTC 1970-01-01 00:00:00</Encoded_Date>
|
31
|
-
<Tagged_Date>UTC 2008-11-23 18:44:25</Tagged_Date>
|
32
|
-
<Encoded_Application>Lavf51.10.0</Encoded_Application>
|
33
|
-
<Comment>license: http://creativecommons.org/licenses/publicdomain/</Comment>
|
34
|
-
</track>
|
35
|
-
<track type="Video">
|
36
|
-
<StreamOrder>0</StreamOrder>
|
37
|
-
<ID>1</ID>
|
38
|
-
<Format>AVC</Format>
|
39
|
-
<Format_Profile>Baseline</Format_Profile>
|
40
|
-
<Format_Level>1.3</Format_Level>
|
41
|
-
<Format_Settings_CABAC>No</Format_Settings_CABAC>
|
42
|
-
<Format_Settings_RefFrames>1</Format_Settings_RefFrames>
|
43
|
-
<CodecID>avc1</CodecID>
|
44
|
-
<Duration>1.000</Duration>
|
45
|
-
<BitRate>18504</BitRate>
|
46
|
-
<Width>360</Width>
|
47
|
-
<Height>240</Height>
|
48
|
-
<Stored_Width>368</Stored_Width>
|
49
|
-
<Sampled_Width>360</Sampled_Width>
|
50
|
-
<Sampled_Height>240</Sampled_Height>
|
51
|
-
<PixelAspectRatio>1.000</PixelAspectRatio>
|
52
|
-
<DisplayAspectRatio>1.500</DisplayAspectRatio>
|
53
|
-
<Rotation>0.000</Rotation>
|
54
|
-
<FrameRate_Mode>CFR</FrameRate_Mode>
|
55
|
-
<FrameRate>1.000</FrameRate>
|
56
|
-
<FrameRate_Original>0.200</FrameRate_Original>
|
57
|
-
<FrameCount>1</FrameCount>
|
58
|
-
<ColorSpace>YUV</ColorSpace>
|
59
|
-
<ChromaSubsampling>4:2:0</ChromaSubsampling>
|
60
|
-
<BitDepth>8</BitDepth>
|
61
|
-
<ScanType>Progressive</ScanType>
|
62
|
-
<StreamSize>2313</StreamSize>
|
63
|
-
<Encoded_Date>UTC 1970-01-01 00:00:00</Encoded_Date>
|
64
|
-
<Tagged_Date>UTC 1970-01-01 00:00:00</Tagged_Date>
|
65
|
-
</track>
|
66
|
-
<track type="Audio">
|
67
|
-
<StreamOrder>1</StreamOrder>
|
68
|
-
<ID>2</ID>
|
69
|
-
<Format>AAC</Format>
|
70
|
-
<Format_Profile>LC</Format_Profile>
|
71
|
-
<CodecID>mp4a-40-2</CodecID>
|
72
|
-
<Duration>4.928</Duration>
|
73
|
-
<BitRate_Mode>VBR</BitRate_Mode>
|
74
|
-
<BitRate>31407</BitRate>
|
75
|
-
<Channels>2</Channels>
|
76
|
-
<ChannelPositions>Front: L R</ChannelPositions>
|
77
|
-
<ChannelLayout>L R</ChannelLayout>
|
78
|
-
<SamplesPerFrame>1024</SamplesPerFrame>
|
79
|
-
<SamplingRate>48000</SamplingRate>
|
80
|
-
<SamplingCount>236544</SamplingCount>
|
81
|
-
<FrameRate>46.875</FrameRate>
|
82
|
-
<FrameCount>231</FrameCount>
|
83
|
-
<Compression_Mode>Lossy</Compression_Mode>
|
84
|
-
<StreamSize>19347</StreamSize>
|
85
|
-
<StreamSize_Proportion>0.77774</StreamSize_Proportion>
|
86
|
-
<Encoded_Date>UTC 1970-01-01 00:00:00</Encoded_Date>
|
87
|
-
<Tagged_Date>UTC 1970-01-01 00:00:00</Tagged_Date>
|
88
|
-
</track>
|
89
|
-
</media>
|
90
|
-
</MediaInfo>
|
@@ -1 +0,0 @@
|
|
1
|
-
99999
|