active_encode 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -0
  3. data/.rubocop_todo.yml +1 -0
  4. data/Gemfile +2 -1
  5. data/README.md +69 -0
  6. data/active_encode.gemspec +5 -2
  7. data/lib/active_encode/engine_adapters.rb +1 -0
  8. data/lib/active_encode/engine_adapters/elastic_transcoder_adapter.rb +1 -1
  9. data/lib/active_encode/engine_adapters/ffmpeg_adapter.rb +12 -2
  10. data/lib/active_encode/engine_adapters/media_convert_adapter.rb +372 -0
  11. data/lib/active_encode/engine_adapters/media_convert_output.rb +104 -0
  12. data/lib/active_encode/polling.rb +1 -1
  13. data/lib/active_encode/spec/shared_specs.rb +2 -0
  14. data/{spec/shared_specs/engine_adapter_specs.rb → lib/active_encode/spec/shared_specs/engine_adapter.rb} +36 -36
  15. data/lib/active_encode/version.rb +1 -1
  16. data/lib/file_locator.rb +1 -1
  17. data/spec/fixtures/media_convert/endpoints.json +1 -0
  18. data/spec/fixtures/media_convert/job_canceled.json +412 -0
  19. data/spec/fixtures/media_convert/job_canceling.json +1 -0
  20. data/spec/fixtures/media_convert/job_completed.json +359 -0
  21. data/spec/fixtures/media_convert/job_completed_detail.json +1 -0
  22. data/spec/fixtures/media_convert/job_completed_detail_query.json +1 -0
  23. data/spec/fixtures/media_convert/job_created.json +408 -0
  24. data/spec/fixtures/media_convert/job_failed.json +406 -0
  25. data/spec/fixtures/media_convert/job_progressing.json +414 -0
  26. data/spec/integration/elastic_transcoder_adapter_spec.rb +4 -4
  27. data/spec/integration/ffmpeg_adapter_spec.rb +2 -2
  28. data/spec/integration/matterhorn_adapter_spec.rb +39 -39
  29. data/spec/integration/media_convert_adapter_spec.rb +126 -0
  30. data/spec/integration/pass_through_adapter_spec.rb +2 -2
  31. data/spec/integration/zencoder_adapter_spec.rb +198 -198
  32. data/spec/spec_helper.rb +0 -1
  33. data/spec/units/core_spec.rb +17 -17
  34. data/spec/units/file_locator_spec.rb +1 -1
  35. data/spec/units/global_id_spec.rb +8 -8
  36. data/spec/units/persistence_spec.rb +9 -9
  37. metadata +87 -23
@@ -0,0 +1,406 @@
1
+ {
2
+ "job": {
3
+ "acceleration_settings": {
4
+ "mode": "DISABLED"
5
+ },
6
+ "acceleration_status": "NOT_APPLICABLE",
7
+ "arn": "arn:aws:mediaconvert:us-east-1:123456789012:jobs/1625859001514-vvqfwj",
8
+ "created_at": "2021-07-09T13:04:12.000-05:00",
9
+ "error_code": 1040,
10
+ "error_message": "Invalid selector_sequence_id [0] specified for audio_description [1].",
11
+ "id": "1625859001514-vvqfwj",
12
+ "messages": {
13
+ "info": [
14
+
15
+ ],
16
+ "warning": [
17
+
18
+ ]
19
+ },
20
+ "priority": 0,
21
+ "queue": "arn:aws:mediaconvert:us-east-1:123456789012:queues/Default",
22
+ "role": "arn:aws:iam::123456789012:role/service-role/MediaConvert_Default_Role",
23
+ "settings": {
24
+ "inputs": [
25
+ {
26
+ "file_input": "s3://input-bucket/test_files/source_file.mp4"
27
+ }
28
+ ],
29
+ "output_groups": [
30
+ {
31
+ "output_group_settings": {
32
+ "hls_group_settings": {
33
+ "destination": "s3://output-bucket/active-encode-test/output",
34
+ "min_segment_length": 0,
35
+ "segment_control": "SEGMENTED_FILES",
36
+ "segment_length": 10
37
+ },
38
+ "type": "HLS_GROUP_SETTINGS"
39
+ },
40
+ "outputs": [
41
+ {
42
+ "audio_descriptions": [
43
+ {
44
+ "audio_type": 0,
45
+ "audio_type_control": "FOLLOW_INPUT",
46
+ "codec_settings": {
47
+ "aac_settings": {
48
+ "audio_description_broadcaster_mix": "NORMAL",
49
+ "bitrate": 128000,
50
+ "codec_profile": "LC",
51
+ "coding_mode": "CODING_MODE_2_0",
52
+ "rate_control_mode": "CBR",
53
+ "raw_format": "NONE",
54
+ "sample_rate": 48000,
55
+ "specification": "MPEG4"
56
+ },
57
+ "codec": "AAC"
58
+ },
59
+ "language_code_control": "FOLLOW_INPUT"
60
+ }
61
+ ],
62
+ "container_settings": {
63
+ "container": "M3U8",
64
+ "m3u_8_settings": {
65
+ "audio_frames_per_pes": 4,
66
+ "audio_pids": [
67
+ 482,
68
+ 483,
69
+ 484,
70
+ 485,
71
+ 486,
72
+ 487,
73
+ 488,
74
+ 489,
75
+ 490,
76
+ 491,
77
+ 492,
78
+ 493,
79
+ 494,
80
+ 495,
81
+ 496,
82
+ 497,
83
+ 498
84
+ ],
85
+ "pat_interval": 0,
86
+ "pcr_control": "PCR_EVERY_PES_PACKET",
87
+ "pmt_interval": 0,
88
+ "pmt_pid": 480,
89
+ "private_metadata_pid": 503,
90
+ "program_number": 1,
91
+ "scte_35_pid": 500,
92
+ "timed_metadata_pid": 502,
93
+ "video_pid": 481
94
+ }
95
+ },
96
+ "name_modifier": "-1080",
97
+ "preset": "System-Avc_16x9_1080p_29_97fps_8500kbps",
98
+ "video_description": {
99
+ "afd_signaling": "NONE",
100
+ "anti_alias": "ENABLED",
101
+ "codec_settings": {
102
+ "codec": "H_264",
103
+ "h264_settings": {
104
+ "adaptive_quantization": "HIGH",
105
+ "bitrate": 8500000,
106
+ "codec_level": "LEVEL_4",
107
+ "codec_profile": "HIGH",
108
+ "entropy_encoding": "CABAC",
109
+ "field_encoding": "PAFF",
110
+ "flicker_adaptive_quantization": "DISABLED",
111
+ "framerate_control": "SPECIFIED",
112
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
113
+ "framerate_denominator": 1001,
114
+ "framerate_numerator": 30000,
115
+ "gop_b_reference": "DISABLED",
116
+ "gop_closed_cadence": 1,
117
+ "gop_size": 90.0,
118
+ "gop_size_units": "FRAMES",
119
+ "hrd_buffer_initial_fill_percentage": 90,
120
+ "hrd_buffer_size": 12750000,
121
+ "interlace_mode": "PROGRESSIVE",
122
+ "min_i_interval": 0,
123
+ "number_b_frames_between_reference_frames": 1,
124
+ "number_reference_frames": 3,
125
+ "par_control": "SPECIFIED",
126
+ "par_denominator": 1,
127
+ "par_numerator": 1,
128
+ "quality_tuning_level": "MULTI_PASS_HQ",
129
+ "rate_control_mode": "CBR",
130
+ "repeat_pps": "DISABLED",
131
+ "scene_change_detect": "ENABLED",
132
+ "slices": 1,
133
+ "slow_pal": "DISABLED",
134
+ "spatial_adaptive_quantization": "ENABLED",
135
+ "syntax": "DEFAULT",
136
+ "telecine": "NONE",
137
+ "temporal_adaptive_quantization": "ENABLED",
138
+ "unregistered_sei_timecode": "DISABLED"
139
+ }
140
+ },
141
+ "color_metadata": "INSERT",
142
+ "drop_frame_timecode": "ENABLED",
143
+ "height": 1080,
144
+ "respond_to_afd": "NONE",
145
+ "scaling_behavior": "DEFAULT",
146
+ "sharpness": 50,
147
+ "timecode_insertion": "DISABLED",
148
+ "video_preprocessors": {
149
+ "deinterlacer": {
150
+ "algorithm": "INTERPOLATE",
151
+ "control": "NORMAL",
152
+ "mode": "DEINTERLACE"
153
+ }
154
+ },
155
+ "width": 1920
156
+ }
157
+ },
158
+ {
159
+ "audio_descriptions": [
160
+ {
161
+ "audio_type": 0,
162
+ "audio_type_control": "FOLLOW_INPUT",
163
+ "codec_settings": {
164
+ "aac_settings": {
165
+ "audio_description_broadcaster_mix": "NORMAL",
166
+ "bitrate": 96000,
167
+ "codec_profile": "HEV1",
168
+ "coding_mode": "CODING_MODE_2_0",
169
+ "rate_control_mode": "CBR",
170
+ "raw_format": "NONE",
171
+ "sample_rate": 48000,
172
+ "specification": "MPEG4"
173
+ },
174
+ "codec": "AAC"
175
+ },
176
+ "language_code_control": "FOLLOW_INPUT"
177
+ }
178
+ ],
179
+ "container_settings": {
180
+ "container": "M3U8",
181
+ "m3u_8_settings": {
182
+ "audio_frames_per_pes": 4,
183
+ "audio_pids": [
184
+ 482,
185
+ 483,
186
+ 484,
187
+ 485,
188
+ 486,
189
+ 487,
190
+ 488,
191
+ 489,
192
+ 490,
193
+ 491,
194
+ 492,
195
+ 493,
196
+ 494,
197
+ 495,
198
+ 496,
199
+ 497,
200
+ 498
201
+ ],
202
+ "pat_interval": 0,
203
+ "pcr_control": "PCR_EVERY_PES_PACKET",
204
+ "pmt_interval": 0,
205
+ "pmt_pid": 480,
206
+ "private_metadata_pid": 503,
207
+ "program_number": 1,
208
+ "scte_35_pid": 500,
209
+ "timed_metadata_pid": 502,
210
+ "video_pid": 481
211
+ }
212
+ },
213
+ "name_modifier": "-720",
214
+ "preset": "System-Avc_16x9_720p_29_97fps_5000kbps",
215
+ "video_description": {
216
+ "afd_signaling": "NONE",
217
+ "anti_alias": "ENABLED",
218
+ "codec_settings": {
219
+ "codec": "H_264",
220
+ "h264_settings": {
221
+ "adaptive_quantization": "HIGH",
222
+ "bitrate": 5000000,
223
+ "codec_level": "LEVEL_3_1",
224
+ "codec_profile": "MAIN",
225
+ "entropy_encoding": "CABAC",
226
+ "field_encoding": "PAFF",
227
+ "flicker_adaptive_quantization": "DISABLED",
228
+ "framerate_control": "SPECIFIED",
229
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
230
+ "framerate_denominator": 1001,
231
+ "framerate_numerator": 30000,
232
+ "gop_b_reference": "DISABLED",
233
+ "gop_closed_cadence": 1,
234
+ "gop_size": 90.0,
235
+ "gop_size_units": "FRAMES",
236
+ "hrd_buffer_initial_fill_percentage": 90,
237
+ "hrd_buffer_size": 7500000,
238
+ "interlace_mode": "PROGRESSIVE",
239
+ "min_i_interval": 0,
240
+ "number_b_frames_between_reference_frames": 1,
241
+ "number_reference_frames": 3,
242
+ "par_control": "SPECIFIED",
243
+ "par_denominator": 1,
244
+ "par_numerator": 1,
245
+ "quality_tuning_level": "MULTI_PASS_HQ",
246
+ "rate_control_mode": "CBR",
247
+ "repeat_pps": "DISABLED",
248
+ "scene_change_detect": "ENABLED",
249
+ "slices": 1,
250
+ "slow_pal": "DISABLED",
251
+ "spatial_adaptive_quantization": "ENABLED",
252
+ "syntax": "DEFAULT",
253
+ "telecine": "NONE",
254
+ "temporal_adaptive_quantization": "ENABLED",
255
+ "unregistered_sei_timecode": "DISABLED"
256
+ }
257
+ },
258
+ "color_metadata": "INSERT",
259
+ "drop_frame_timecode": "ENABLED",
260
+ "height": 720,
261
+ "respond_to_afd": "NONE",
262
+ "scaling_behavior": "DEFAULT",
263
+ "sharpness": 50,
264
+ "timecode_insertion": "DISABLED",
265
+ "video_preprocessors": {
266
+ "deinterlacer": {
267
+ "algorithm": "INTERPOLATE",
268
+ "control": "NORMAL",
269
+ "mode": "DEINTERLACE"
270
+ }
271
+ },
272
+ "width": 1280
273
+ }
274
+ },
275
+ {
276
+ "audio_descriptions": [
277
+ {
278
+ "audio_type": 0,
279
+ "audio_type_control": "FOLLOW_INPUT",
280
+ "codec_settings": {
281
+ "aac_settings": {
282
+ "audio_description_broadcaster_mix": "NORMAL",
283
+ "bitrate": 96000,
284
+ "codec_profile": "HEV1",
285
+ "coding_mode": "CODING_MODE_2_0",
286
+ "rate_control_mode": "CBR",
287
+ "raw_format": "NONE",
288
+ "sample_rate": 48000,
289
+ "specification": "MPEG4"
290
+ },
291
+ "codec": "AAC"
292
+ },
293
+ "language_code_control": "FOLLOW_INPUT"
294
+ }
295
+ ],
296
+ "container_settings": {
297
+ "container": "M3U8",
298
+ "m3u_8_settings": {
299
+ "audio_frames_per_pes": 4,
300
+ "audio_pids": [
301
+ 482,
302
+ 483,
303
+ 484,
304
+ 485,
305
+ 486,
306
+ 487,
307
+ 488,
308
+ 489,
309
+ 490,
310
+ 491,
311
+ 492,
312
+ 493,
313
+ 494,
314
+ 495,
315
+ 496,
316
+ 497,
317
+ 498
318
+ ],
319
+ "pat_interval": 0,
320
+ "pcr_control": "PCR_EVERY_PES_PACKET",
321
+ "pmt_interval": 0,
322
+ "pmt_pid": 480,
323
+ "private_metadata_pid": 503,
324
+ "program_number": 1,
325
+ "scte_35_pid": 500,
326
+ "timed_metadata_pid": 502,
327
+ "video_pid": 481
328
+ }
329
+ },
330
+ "name_modifier": "-540",
331
+ "preset": "System-Avc_16x9_540p_29_97fps_3500kbps",
332
+ "video_description": {
333
+ "afd_signaling": "NONE",
334
+ "anti_alias": "ENABLED",
335
+ "codec_settings": {
336
+ "codec": "H_264",
337
+ "h264_settings": {
338
+ "adaptive_quantization": "HIGH",
339
+ "bitrate": 3500000,
340
+ "codec_level": "LEVEL_3_1",
341
+ "codec_profile": "MAIN",
342
+ "entropy_encoding": "CABAC",
343
+ "field_encoding": "PAFF",
344
+ "flicker_adaptive_quantization": "DISABLED",
345
+ "framerate_control": "SPECIFIED",
346
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
347
+ "framerate_denominator": 1001,
348
+ "framerate_numerator": 30000,
349
+ "gop_b_reference": "DISABLED",
350
+ "gop_closed_cadence": 1,
351
+ "gop_size": 90.0,
352
+ "gop_size_units": "FRAMES",
353
+ "hrd_buffer_initial_fill_percentage": 90,
354
+ "hrd_buffer_size": 5250000,
355
+ "interlace_mode": "PROGRESSIVE",
356
+ "min_i_interval": 0,
357
+ "number_b_frames_between_reference_frames": 3,
358
+ "number_reference_frames": 3,
359
+ "par_control": "SPECIFIED",
360
+ "par_denominator": 1,
361
+ "par_numerator": 1,
362
+ "quality_tuning_level": "MULTI_PASS_HQ",
363
+ "rate_control_mode": "CBR",
364
+ "repeat_pps": "DISABLED",
365
+ "scene_change_detect": "ENABLED",
366
+ "slices": 1,
367
+ "slow_pal": "DISABLED",
368
+ "spatial_adaptive_quantization": "ENABLED",
369
+ "syntax": "DEFAULT",
370
+ "telecine": "NONE",
371
+ "temporal_adaptive_quantization": "ENABLED",
372
+ "unregistered_sei_timecode": "DISABLED"
373
+ }
374
+ },
375
+ "color_metadata": "INSERT",
376
+ "drop_frame_timecode": "ENABLED",
377
+ "height": 540,
378
+ "respond_to_afd": "NONE",
379
+ "scaling_behavior": "DEFAULT",
380
+ "sharpness": 50,
381
+ "timecode_insertion": "DISABLED",
382
+ "video_preprocessors": {
383
+ "deinterlacer": {
384
+ "algorithm": "INTERPOLATE",
385
+ "control": "NORMAL",
386
+ "mode": "DEINTERLACE"
387
+ }
388
+ },
389
+ "width": 960
390
+ }
391
+ }
392
+ ]
393
+ }
394
+ ]
395
+ },
396
+ "status": "ERROR",
397
+ "status_update_interval": "SECONDS_60",
398
+ "timing": {
399
+ "finish_time": "2021-07-09T13:04:18.000-05:00",
400
+ "start_time": "2021-07-09T13:04:15.000-05:00",
401
+ "submit_time": "2021-07-09T13:04:12.000-05:00"
402
+ },
403
+ "user_metadata": {
404
+ }
405
+ }
406
+ }
@@ -0,0 +1,414 @@
1
+ {
2
+ "job": {
3
+ "acceleration_settings": {
4
+ "mode": "DISABLED"
5
+ },
6
+ "acceleration_status": "NOT_APPLICABLE",
7
+ "arn": "arn:aws:mediaconvert:us-east-1:123456789012:jobs/1625859001514-vvqfwj",
8
+ "created_at": "2021-07-09T14:31:44.000-05:00",
9
+ "current_phase": "TRANSCODING",
10
+ "id": "1625859001514-vvqfwj",
11
+ "job_percent_complete": 11,
12
+ "messages": {
13
+ "info": [
14
+
15
+ ],
16
+ "warning": [
17
+
18
+ ]
19
+ },
20
+ "priority": 0,
21
+ "queue": "arn:aws:mediaconvert:us-east-1:123456789012:queues/Default",
22
+ "retry_count": 0,
23
+ "role": "arn:aws:iam::123456789012:role/service-role/MediaConvert_Default_Role",
24
+ "settings": {
25
+ "inputs": [
26
+ {
27
+ "audio_selectors": {
28
+ "Audio Selector 1": {
29
+ "default_selection": "DEFAULT"
30
+ }
31
+ },
32
+ "file_input": "s3://input-bucket/test_files/source_file.mp4",
33
+ "timecode_source": "ZEROBASED",
34
+ "video_selector": {
35
+ }
36
+ }
37
+ ],
38
+ "output_groups": [
39
+ {
40
+ "output_group_settings": {
41
+ "hls_group_settings": {
42
+ "destination": "s3://output-bucket/active-encode-test/output",
43
+ "min_segment_length": 0,
44
+ "segment_control": "SEGMENTED_FILES",
45
+ "segment_length": 10
46
+ },
47
+ "type": "HLS_GROUP_SETTINGS"
48
+ },
49
+ "outputs": [
50
+ {
51
+ "audio_descriptions": [
52
+ {
53
+ "audio_type": 0,
54
+ "audio_type_control": "FOLLOW_INPUT",
55
+ "codec_settings": {
56
+ "aac_settings": {
57
+ "audio_description_broadcaster_mix": "NORMAL",
58
+ "bitrate": 128000,
59
+ "codec_profile": "LC",
60
+ "coding_mode": "CODING_MODE_2_0",
61
+ "rate_control_mode": "CBR",
62
+ "raw_format": "NONE",
63
+ "sample_rate": 48000,
64
+ "specification": "MPEG4"
65
+ },
66
+ "codec": "AAC"
67
+ },
68
+ "language_code_control": "FOLLOW_INPUT"
69
+ }
70
+ ],
71
+ "container_settings": {
72
+ "container": "M3U8",
73
+ "m3u_8_settings": {
74
+ "audio_frames_per_pes": 4,
75
+ "audio_pids": [
76
+ 482,
77
+ 483,
78
+ 484,
79
+ 485,
80
+ 486,
81
+ 487,
82
+ 488,
83
+ 489,
84
+ 490,
85
+ 491,
86
+ 492,
87
+ 493,
88
+ 494,
89
+ 495,
90
+ 496,
91
+ 497,
92
+ 498
93
+ ],
94
+ "pat_interval": 0,
95
+ "pcr_control": "PCR_EVERY_PES_PACKET",
96
+ "pmt_interval": 0,
97
+ "pmt_pid": 480,
98
+ "private_metadata_pid": 503,
99
+ "program_number": 1,
100
+ "scte_35_pid": 500,
101
+ "timed_metadata_pid": 502,
102
+ "video_pid": 481
103
+ }
104
+ },
105
+ "name_modifier": "-1080",
106
+ "preset": "System-Avc_16x9_1080p_29_97fps_8500kbps",
107
+ "video_description": {
108
+ "afd_signaling": "NONE",
109
+ "anti_alias": "ENABLED",
110
+ "codec_settings": {
111
+ "codec": "H_264",
112
+ "h264_settings": {
113
+ "adaptive_quantization": "HIGH",
114
+ "bitrate": 8500000,
115
+ "codec_level": "LEVEL_4",
116
+ "codec_profile": "HIGH",
117
+ "entropy_encoding": "CABAC",
118
+ "field_encoding": "PAFF",
119
+ "flicker_adaptive_quantization": "DISABLED",
120
+ "framerate_control": "SPECIFIED",
121
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
122
+ "framerate_denominator": 1001,
123
+ "framerate_numerator": 30000,
124
+ "gop_b_reference": "DISABLED",
125
+ "gop_closed_cadence": 1,
126
+ "gop_size": 90.0,
127
+ "gop_size_units": "FRAMES",
128
+ "hrd_buffer_initial_fill_percentage": 90,
129
+ "hrd_buffer_size": 12750000,
130
+ "interlace_mode": "PROGRESSIVE",
131
+ "min_i_interval": 0,
132
+ "number_b_frames_between_reference_frames": 1,
133
+ "number_reference_frames": 3,
134
+ "par_control": "SPECIFIED",
135
+ "par_denominator": 1,
136
+ "par_numerator": 1,
137
+ "quality_tuning_level": "MULTI_PASS_HQ",
138
+ "rate_control_mode": "CBR",
139
+ "repeat_pps": "DISABLED",
140
+ "scene_change_detect": "ENABLED",
141
+ "slices": 1,
142
+ "slow_pal": "DISABLED",
143
+ "spatial_adaptive_quantization": "ENABLED",
144
+ "syntax": "DEFAULT",
145
+ "telecine": "NONE",
146
+ "temporal_adaptive_quantization": "ENABLED",
147
+ "unregistered_sei_timecode": "DISABLED"
148
+ }
149
+ },
150
+ "color_metadata": "INSERT",
151
+ "drop_frame_timecode": "ENABLED",
152
+ "height": 1080,
153
+ "respond_to_afd": "NONE",
154
+ "scaling_behavior": "DEFAULT",
155
+ "sharpness": 50,
156
+ "timecode_insertion": "DISABLED",
157
+ "video_preprocessors": {
158
+ "deinterlacer": {
159
+ "algorithm": "INTERPOLATE",
160
+ "control": "NORMAL",
161
+ "mode": "DEINTERLACE"
162
+ }
163
+ },
164
+ "width": 1920
165
+ }
166
+ },
167
+ {
168
+ "audio_descriptions": [
169
+ {
170
+ "audio_type": 0,
171
+ "audio_type_control": "FOLLOW_INPUT",
172
+ "codec_settings": {
173
+ "aac_settings": {
174
+ "audio_description_broadcaster_mix": "NORMAL",
175
+ "bitrate": 96000,
176
+ "codec_profile": "HEV1",
177
+ "coding_mode": "CODING_MODE_2_0",
178
+ "rate_control_mode": "CBR",
179
+ "raw_format": "NONE",
180
+ "sample_rate": 48000,
181
+ "specification": "MPEG4"
182
+ },
183
+ "codec": "AAC"
184
+ },
185
+ "language_code_control": "FOLLOW_INPUT"
186
+ }
187
+ ],
188
+ "container_settings": {
189
+ "container": "M3U8",
190
+ "m3u_8_settings": {
191
+ "audio_frames_per_pes": 4,
192
+ "audio_pids": [
193
+ 482,
194
+ 483,
195
+ 484,
196
+ 485,
197
+ 486,
198
+ 487,
199
+ 488,
200
+ 489,
201
+ 490,
202
+ 491,
203
+ 492,
204
+ 493,
205
+ 494,
206
+ 495,
207
+ 496,
208
+ 497,
209
+ 498
210
+ ],
211
+ "pat_interval": 0,
212
+ "pcr_control": "PCR_EVERY_PES_PACKET",
213
+ "pmt_interval": 0,
214
+ "pmt_pid": 480,
215
+ "private_metadata_pid": 503,
216
+ "program_number": 1,
217
+ "scte_35_pid": 500,
218
+ "timed_metadata_pid": 502,
219
+ "video_pid": 481
220
+ }
221
+ },
222
+ "name_modifier": "-720",
223
+ "preset": "System-Avc_16x9_720p_29_97fps_5000kbps",
224
+ "video_description": {
225
+ "afd_signaling": "NONE",
226
+ "anti_alias": "ENABLED",
227
+ "codec_settings": {
228
+ "codec": "H_264",
229
+ "h264_settings": {
230
+ "adaptive_quantization": "HIGH",
231
+ "bitrate": 5000000,
232
+ "codec_level": "LEVEL_3_1",
233
+ "codec_profile": "MAIN",
234
+ "entropy_encoding": "CABAC",
235
+ "field_encoding": "PAFF",
236
+ "flicker_adaptive_quantization": "DISABLED",
237
+ "framerate_control": "SPECIFIED",
238
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
239
+ "framerate_denominator": 1001,
240
+ "framerate_numerator": 30000,
241
+ "gop_b_reference": "DISABLED",
242
+ "gop_closed_cadence": 1,
243
+ "gop_size": 90.0,
244
+ "gop_size_units": "FRAMES",
245
+ "hrd_buffer_initial_fill_percentage": 90,
246
+ "hrd_buffer_size": 7500000,
247
+ "interlace_mode": "PROGRESSIVE",
248
+ "min_i_interval": 0,
249
+ "number_b_frames_between_reference_frames": 1,
250
+ "number_reference_frames": 3,
251
+ "par_control": "SPECIFIED",
252
+ "par_denominator": 1,
253
+ "par_numerator": 1,
254
+ "quality_tuning_level": "MULTI_PASS_HQ",
255
+ "rate_control_mode": "CBR",
256
+ "repeat_pps": "DISABLED",
257
+ "scene_change_detect": "ENABLED",
258
+ "slices": 1,
259
+ "slow_pal": "DISABLED",
260
+ "spatial_adaptive_quantization": "ENABLED",
261
+ "syntax": "DEFAULT",
262
+ "telecine": "NONE",
263
+ "temporal_adaptive_quantization": "ENABLED",
264
+ "unregistered_sei_timecode": "DISABLED"
265
+ }
266
+ },
267
+ "color_metadata": "INSERT",
268
+ "drop_frame_timecode": "ENABLED",
269
+ "height": 720,
270
+ "respond_to_afd": "NONE",
271
+ "scaling_behavior": "DEFAULT",
272
+ "sharpness": 50,
273
+ "timecode_insertion": "DISABLED",
274
+ "video_preprocessors": {
275
+ "deinterlacer": {
276
+ "algorithm": "INTERPOLATE",
277
+ "control": "NORMAL",
278
+ "mode": "DEINTERLACE"
279
+ }
280
+ },
281
+ "width": 1280
282
+ }
283
+ },
284
+ {
285
+ "audio_descriptions": [
286
+ {
287
+ "audio_type": 0,
288
+ "audio_type_control": "FOLLOW_INPUT",
289
+ "codec_settings": {
290
+ "aac_settings": {
291
+ "audio_description_broadcaster_mix": "NORMAL",
292
+ "bitrate": 96000,
293
+ "codec_profile": "HEV1",
294
+ "coding_mode": "CODING_MODE_2_0",
295
+ "rate_control_mode": "CBR",
296
+ "raw_format": "NONE",
297
+ "sample_rate": 48000,
298
+ "specification": "MPEG4"
299
+ },
300
+ "codec": "AAC"
301
+ },
302
+ "language_code_control": "FOLLOW_INPUT"
303
+ }
304
+ ],
305
+ "container_settings": {
306
+ "container": "M3U8",
307
+ "m3u_8_settings": {
308
+ "audio_frames_per_pes": 4,
309
+ "audio_pids": [
310
+ 482,
311
+ 483,
312
+ 484,
313
+ 485,
314
+ 486,
315
+ 487,
316
+ 488,
317
+ 489,
318
+ 490,
319
+ 491,
320
+ 492,
321
+ 493,
322
+ 494,
323
+ 495,
324
+ 496,
325
+ 497,
326
+ 498
327
+ ],
328
+ "pat_interval": 0,
329
+ "pcr_control": "PCR_EVERY_PES_PACKET",
330
+ "pmt_interval": 0,
331
+ "pmt_pid": 480,
332
+ "private_metadata_pid": 503,
333
+ "program_number": 1,
334
+ "scte_35_pid": 500,
335
+ "timed_metadata_pid": 502,
336
+ "video_pid": 481
337
+ }
338
+ },
339
+ "name_modifier": "-540",
340
+ "preset": "System-Avc_16x9_540p_29_97fps_3500kbps",
341
+ "video_description": {
342
+ "afd_signaling": "NONE",
343
+ "anti_alias": "ENABLED",
344
+ "codec_settings": {
345
+ "codec": "H_264",
346
+ "h264_settings": {
347
+ "adaptive_quantization": "HIGH",
348
+ "bitrate": 3500000,
349
+ "codec_level": "LEVEL_3_1",
350
+ "codec_profile": "MAIN",
351
+ "entropy_encoding": "CABAC",
352
+ "field_encoding": "PAFF",
353
+ "flicker_adaptive_quantization": "DISABLED",
354
+ "framerate_control": "SPECIFIED",
355
+ "framerate_conversion_algorithm": "DUPLICATE_DROP",
356
+ "framerate_denominator": 1001,
357
+ "framerate_numerator": 30000,
358
+ "gop_b_reference": "DISABLED",
359
+ "gop_closed_cadence": 1,
360
+ "gop_size": 90.0,
361
+ "gop_size_units": "FRAMES",
362
+ "hrd_buffer_initial_fill_percentage": 90,
363
+ "hrd_buffer_size": 5250000,
364
+ "interlace_mode": "PROGRESSIVE",
365
+ "min_i_interval": 0,
366
+ "number_b_frames_between_reference_frames": 3,
367
+ "number_reference_frames": 3,
368
+ "par_control": "SPECIFIED",
369
+ "par_denominator": 1,
370
+ "par_numerator": 1,
371
+ "quality_tuning_level": "MULTI_PASS_HQ",
372
+ "rate_control_mode": "CBR",
373
+ "repeat_pps": "DISABLED",
374
+ "scene_change_detect": "ENABLED",
375
+ "slices": 1,
376
+ "slow_pal": "DISABLED",
377
+ "spatial_adaptive_quantization": "ENABLED",
378
+ "syntax": "DEFAULT",
379
+ "telecine": "NONE",
380
+ "temporal_adaptive_quantization": "ENABLED",
381
+ "unregistered_sei_timecode": "DISABLED"
382
+ }
383
+ },
384
+ "color_metadata": "INSERT",
385
+ "drop_frame_timecode": "ENABLED",
386
+ "height": 540,
387
+ "respond_to_afd": "NONE",
388
+ "scaling_behavior": "DEFAULT",
389
+ "sharpness": 50,
390
+ "timecode_insertion": "DISABLED",
391
+ "video_preprocessors": {
392
+ "deinterlacer": {
393
+ "algorithm": "INTERPOLATE",
394
+ "control": "NORMAL",
395
+ "mode": "DEINTERLACE"
396
+ }
397
+ },
398
+ "width": 960
399
+ }
400
+ }
401
+ ]
402
+ }
403
+ ]
404
+ },
405
+ "status": "PROGRESSING",
406
+ "status_update_interval": "SECONDS_60",
407
+ "timing": {
408
+ "start_time": "2021-07-09T14:31:47.000-05:00",
409
+ "submit_time": "2021-07-09T14:31:44.000-05:00"
410
+ },
411
+ "user_metadata": {
412
+ }
413
+ }
414
+ }