Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "5c8a8a25f5d69c7c23000029",
- "payload": {
- "elements": [{
- "uid": "source_file",
- "kind": "source",
- "payload": {
- "kind": "asset_url",
- "payload": {
- "storage_provider": "s3",
- "url": "s3://media-aws-dotstudiopro-com/files/company/5408aeda97f815f95d7b23c6/assets/videos/5704948b97f8155b2f881bbf/vod/5704948b97f8155b2f881bbf.mp4",
- "access": {
- "credentials_key": "dt_hybrik"
- }
- }
- }
- }, {
- "uid": "bif_creator",
- "kind": "bif_creator",
- "payload": {
- "source_stream_selection": "highest",
- "location": {
- "storage_provider": "s3",
- "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/bif"
- },
- "base_name": "{source_basename}",
- "include_in_result": true,
- "existing_files": "replace"
- }
- }, {
- "uid": "transcode_task",
- "kind": "transcode",
- "task": {
- "retry_method": "fail"
- },
- "payload": {
- "targets": [{
- "file_pattern": "5c8a8a25f5d69c7c23000029.mp4",
- "existing_files": "replace",
- "container": {
- "kind": "mp4"
- },
- "video": {
- "codec": "h264",
- "bitrate_kb": 471
- },
- "audio": [{
- "codec": "aac_lc",
- "sample_rate": 44100
- }]
- }, {
- "file_pattern": "thumb_%03d.jpeg",
- "location": {
- "storage_provider": "s3",
- "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/thumbs"
- },
- "existing_files": "replace",
- "video": {
- "codec": "jpeg",
- "width": 640,
- "height": 360,
- "image_sequence": {
- "total_number": 6,
- "relative_offset": 0.25
- }
- }
- }, {
- "file_pattern": "{source_basename}_DSPSTUFF2_Layer_3.m3u8",
- "container": {
- "kind": "hls",
- "segment_duration": 6,
- "segment_file_pattern": "{target_basename}_%05d.ts"
- },
- "video": {
- "width": 640,
- "height": 360,
- "bitrate_mode": "vbr",
- "bitrate_kb": 600,
- "max_bitrate_kb": 1150,
- "vbv_buffer_size_kb": 1150,
- "frame_rate": 29.97002997003,
- "codec": "h264",
- "profile": "baseline",
- "level": "3.1"
- },
- "audio": [{
- "codec": "aac",
- "channels": 2,
- "sample_rate": 48000,
- "sample_size": 16,
- "bitrate_kb": 64,
- "bitrate_mode": "vbr"
- }],
- "manifest_uids": ["main_hls"],
- "existing_files": "fail",
- "uid": "target3"
- }, {
- "file_pattern": "{source_basename}_DSPSTUFF2_Layer_1.m3u8",
- "container": {
- "kind": "hls",
- "segment_duration": 6,
- "segment_file_pattern": "{target_basename}_%05d.ts"
- },
- "video": {
- "width": 416,
- "height": 234,
- "bitrate_mode": "vbr",
- "bitrate_kb": 200,
- "max_bitrate_kb": 230,
- "vbv_buffer_size_kb": 230,
- "frame_rate": 29.97002997003,
- "codec": "h264",
- "profile": "baseline",
- "level": "3.0"
- },
- "audio": [{
- "codec": "aac",
- "channels": 2,
- "sample_rate": 48000,
- "sample_size": 16,
- "bitrate_kb": 64,
- "bitrate_mode": "vbr"
- }],
- "manifest_uids": ["main_hls"],
- "existing_files": "fail",
- "uid": "target1"
- }, {
- "file_pattern": "{source_basename}_DSPSTUFF2_Layer_2.m3u8",
- "container": {
- "kind": "hls",
- "segment_duration": 6,
- "segment_file_pattern": "{target_basename}_%05d.ts"
- },
- "video": {
- "width": 480,
- "height": 270,
- "bitrate_mode": "vbr",
- "bitrate_kb": 400,
- "max_bitrate_kb": 480,
- "vbv_buffer_size_kb": 480,
- "frame_rate": 29.97002997003,
- "codec": "h264",
- "profile": "baseline",
- "level": "3.0"
- },
- "audio": [{
- "codec": "aac",
- "channels": 2,
- "sample_rate": 48000,
- "sample_size": 16,
- "bitrate_kb": 64,
- "bitrate_mode": "vbr"
- }],
- "manifest_uids": ["main_hls"],
- "existing_files": "fail",
- "uid": "target2"
- }, {
- "file_pattern": "{source_basename}_DSPSTUFF2_Layer_4.m3u8",
- "container": {
- "kind": "hls",
- "segment_duration": 6,
- "segment_file_pattern": "{target_basename}_%05d.ts"
- },
- "video": {
- "width": 640,
- "height": 360,
- "bitrate_mode": "vbr",
- "bitrate_kb": 1200,
- "max_bitrate_kb": 1610,
- "vbv_buffer_size_kb": 1610,
- "frame_rate": 29.97002997003,
- "codec": "h264",
- "profile": "main",
- "level": "3.1"
- },
- "audio": [{
- "codec": "aac",
- "channels": 2,
- "sample_rate": 48000,
- "sample_size": 16,
- "bitrate_kb": 96,
- "bitrate_mode": "vbr"
- }],
- "manifest_uids": ["main_hls"],
- "existing_files": "fail",
- "uid": "target4"
- }, {
- "file_pattern": "{source_basename}_DSPSTUFF2_Layer_5.m3u8",
- "container": {
- "kind": "hls",
- "segment_duration": 6,
- "segment_file_pattern": "{target_basename}_%05d.ts"
- },
- "video": {
- "width": 960,
- "height": 540,
- "bitrate_mode": "vbr",
- "bitrate_kb": 3500,
- "max_bitrate_kb": 3500,
- "vbv_buffer_size_kb": 3500,
- "frame_rate": 29.97002997003,
- "codec": "h264",
- "profile": "main",
- "level": "3.1"
- },
- "audio": [{
- "codec": "aac",
- "channels": 2,
- "sample_rate": 48000,
- "sample_size": 16,
- "bitrate_kb": 96,
- "bitrate_mode": "vbr"
- }],
- "manifest_uids": ["main_hls"],
- "existing_files": "fail",
- "uid": "target5"
- }],
- "options": {
- "pipeline": {
- "ffmpeg_version": "3.1"
- },
- "source_read_mode": "auto"
- },
- "manifests": [{
- "file_pattern": "{source_basename}.m3u8",
- "kind": "hls",
- "uid": "main_hls"
- }],
- "location": {
- "storage_provider": "s3",
- "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/vod",
- "access": {
- "credentials_key": "dt_hybrik"
- },
- "attributes": [{
- "name": "ContentType",
- "value": "application/x-mpegURL"
- }]
- }
- }
- }, {
- "uid": "hls_encrypted_packaging",
- "kind": "manifest_creator",
- "payload": {
- "location": {
- "storage_provider": "s3",
- "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/vod"
- },
- "file_pattern": "{source_basename}.m3u8",
- "kind": "hls",
- "uid": "main_manifest",
- "hls": {
- "segmentation_mode": "fmp4"
- },
- "encryption": {
- "enabled": true,
- "schema": "aes-128-cbc",
- "key": "5849714b4a6658576e48776a41414170",
- "key_id": "5849714b4a6658576e48776a41414170"
- },
- "media_location": {
- "storage_provider": "s3",
- "path": "s3://media-aws-dotstudiopro-com/files/company/5417965bd66da8804f794507/assets/videos/5c8a8a25f5d69c7c23000029/vod"
- },
- "attributes": [{
- "name": "ContentType",
- "value": "video/mp4"
- }]
- }
- }],
- "connections": [{
- "from": [{
- "element": "source_file"
- }],
- "to": {
- "success": [{
- "element": "transcode_task"
- }, {
- "element": "bif_creator"
- }, {
- "element": "hls_encrypted_packaging"
- }]
- }
- }]
- },
- "priority": "100"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement