Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  1. {
  2. "name": "5c8a8a25f5d69c7c23000029",
  3. "payload": {
  4. "elements": [{
  5. "uid": "source_file",
  6. "kind": "source",
  7. "payload": {
  8. "kind": "asset_url",
  9. "payload": {
  10. "storage_provider": "s3",
  11. "url": "s3://media-aws-dotstudiopro-com/files/company/5408aeda97f815f95d7b23c6/assets/videos/5704948b97f8155b2f881bbf/vod/5704948b97f8155b2f881bbf.mp4",
  12. "access": {
  13. "credentials_key": "dt_hybrik"
  14. }
  15. }
  16. }
  17. }, {
  18. "uid": "bif_creator",
  19. "kind": "bif_creator",
  20. "payload": {
  21. "source_stream_selection": "highest",
  22. "location": {
  23. "storage_provider": "s3",
  24. "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/bif"
  25. },
  26. "base_name": "{source_basename}",
  27. "include_in_result": true,
  28. "existing_files": "replace"
  29. }
  30. }, {
  31. "uid": "transcode_task",
  32. "kind": "transcode",
  33. "task": {
  34. "retry_method": "fail"
  35. },
  36. "payload": {
  37. "targets": [{
  38. "file_pattern": "5c8a8a25f5d69c7c23000029.mp4",
  39. "existing_files": "replace",
  40. "container": {
  41. "kind": "mp4"
  42. },
  43. "video": {
  44. "codec": "h264",
  45. "bitrate_kb": 471
  46. },
  47. "audio": [{
  48. "codec": "aac_lc",
  49. "sample_rate": 44100
  50. }]
  51. }, {
  52. "file_pattern": "thumb_%03d.jpeg",
  53. "location": {
  54. "storage_provider": "s3",
  55. "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/thumbs"
  56. },
  57. "existing_files": "replace",
  58. "video": {
  59. "codec": "jpeg",
  60. "width": 640,
  61. "height": 360,
  62. "image_sequence": {
  63. "total_number": 6,
  64. "relative_offset": 0.25
  65. }
  66. }
  67. }, {
  68. "file_pattern": "{source_basename}_DSPSTUFF2_Layer_3.m3u8",
  69. "container": {
  70. "kind": "hls",
  71. "segment_duration": 6,
  72. "segment_file_pattern": "{target_basename}_%05d.ts"
  73. },
  74. "video": {
  75. "width": 640,
  76. "height": 360,
  77. "bitrate_mode": "vbr",
  78. "bitrate_kb": 600,
  79. "max_bitrate_kb": 1150,
  80. "vbv_buffer_size_kb": 1150,
  81. "frame_rate": 29.97002997003,
  82. "codec": "h264",
  83. "profile": "baseline",
  84. "level": "3.1"
  85. },
  86. "audio": [{
  87. "codec": "aac",
  88. "channels": 2,
  89. "sample_rate": 48000,
  90. "sample_size": 16,
  91. "bitrate_kb": 64,
  92. "bitrate_mode": "vbr"
  93. }],
  94. "manifest_uids": ["main_hls"],
  95. "existing_files": "fail",
  96. "uid": "target3"
  97. }, {
  98. "file_pattern": "{source_basename}_DSPSTUFF2_Layer_1.m3u8",
  99. "container": {
  100. "kind": "hls",
  101. "segment_duration": 6,
  102. "segment_file_pattern": "{target_basename}_%05d.ts"
  103. },
  104. "video": {
  105. "width": 416,
  106. "height": 234,
  107. "bitrate_mode": "vbr",
  108. "bitrate_kb": 200,
  109. "max_bitrate_kb": 230,
  110. "vbv_buffer_size_kb": 230,
  111. "frame_rate": 29.97002997003,
  112. "codec": "h264",
  113. "profile": "baseline",
  114. "level": "3.0"
  115. },
  116. "audio": [{
  117. "codec": "aac",
  118. "channels": 2,
  119. "sample_rate": 48000,
  120. "sample_size": 16,
  121. "bitrate_kb": 64,
  122. "bitrate_mode": "vbr"
  123. }],
  124. "manifest_uids": ["main_hls"],
  125. "existing_files": "fail",
  126. "uid": "target1"
  127. }, {
  128. "file_pattern": "{source_basename}_DSPSTUFF2_Layer_2.m3u8",
  129. "container": {
  130. "kind": "hls",
  131. "segment_duration": 6,
  132. "segment_file_pattern": "{target_basename}_%05d.ts"
  133. },
  134. "video": {
  135. "width": 480,
  136. "height": 270,
  137. "bitrate_mode": "vbr",
  138. "bitrate_kb": 400,
  139. "max_bitrate_kb": 480,
  140. "vbv_buffer_size_kb": 480,
  141. "frame_rate": 29.97002997003,
  142. "codec": "h264",
  143. "profile": "baseline",
  144. "level": "3.0"
  145. },
  146. "audio": [{
  147. "codec": "aac",
  148. "channels": 2,
  149. "sample_rate": 48000,
  150. "sample_size": 16,
  151. "bitrate_kb": 64,
  152. "bitrate_mode": "vbr"
  153. }],
  154. "manifest_uids": ["main_hls"],
  155. "existing_files": "fail",
  156. "uid": "target2"
  157. }, {
  158. "file_pattern": "{source_basename}_DSPSTUFF2_Layer_4.m3u8",
  159. "container": {
  160. "kind": "hls",
  161. "segment_duration": 6,
  162. "segment_file_pattern": "{target_basename}_%05d.ts"
  163. },
  164. "video": {
  165. "width": 640,
  166. "height": 360,
  167. "bitrate_mode": "vbr",
  168. "bitrate_kb": 1200,
  169. "max_bitrate_kb": 1610,
  170. "vbv_buffer_size_kb": 1610,
  171. "frame_rate": 29.97002997003,
  172. "codec": "h264",
  173. "profile": "main",
  174. "level": "3.1"
  175. },
  176. "audio": [{
  177. "codec": "aac",
  178. "channels": 2,
  179. "sample_rate": 48000,
  180. "sample_size": 16,
  181. "bitrate_kb": 96,
  182. "bitrate_mode": "vbr"
  183. }],
  184. "manifest_uids": ["main_hls"],
  185. "existing_files": "fail",
  186. "uid": "target4"
  187. }, {
  188. "file_pattern": "{source_basename}_DSPSTUFF2_Layer_5.m3u8",
  189. "container": {
  190. "kind": "hls",
  191. "segment_duration": 6,
  192. "segment_file_pattern": "{target_basename}_%05d.ts"
  193. },
  194. "video": {
  195. "width": 960,
  196. "height": 540,
  197. "bitrate_mode": "vbr",
  198. "bitrate_kb": 3500,
  199. "max_bitrate_kb": 3500,
  200. "vbv_buffer_size_kb": 3500,
  201. "frame_rate": 29.97002997003,
  202. "codec": "h264",
  203. "profile": "main",
  204. "level": "3.1"
  205. },
  206. "audio": [{
  207. "codec": "aac",
  208. "channels": 2,
  209. "sample_rate": 48000,
  210. "sample_size": 16,
  211. "bitrate_kb": 96,
  212. "bitrate_mode": "vbr"
  213. }],
  214. "manifest_uids": ["main_hls"],
  215. "existing_files": "fail",
  216. "uid": "target5"
  217. }],
  218. "options": {
  219. "pipeline": {
  220. "ffmpeg_version": "3.1"
  221. },
  222. "source_read_mode": "auto"
  223. },
  224. "manifests": [{
  225. "file_pattern": "{source_basename}.m3u8",
  226. "kind": "hls",
  227. "uid": "main_hls"
  228. }],
  229. "location": {
  230. "storage_provider": "s3",
  231. "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/vod",
  232. "access": {
  233. "credentials_key": "dt_hybrik"
  234. },
  235. "attributes": [{
  236. "name": "ContentType",
  237. "value": "application/x-mpegURL"
  238. }]
  239. }
  240. }
  241. }, {
  242. "uid": "hls_encrypted_packaging",
  243. "kind": "manifest_creator",
  244. "payload": {
  245. "location": {
  246. "storage_provider": "s3",
  247. "path": "s3://media-aws-dotstudiopro-com/hybrik_test/mp4/test5/vod"
  248. },
  249. "file_pattern": "{source_basename}.m3u8",
  250. "kind": "hls",
  251. "uid": "main_manifest",
  252. "hls": {
  253. "segmentation_mode": "fmp4"
  254. },
  255. "encryption": {
  256. "enabled": true,
  257. "schema": "aes-128-cbc",
  258. "key": "5849714b4a6658576e48776a41414170",
  259. "key_id": "5849714b4a6658576e48776a41414170"
  260. },
  261. "media_location": {
  262. "storage_provider": "s3",
  263. "path": "s3://media-aws-dotstudiopro-com/files/company/5417965bd66da8804f794507/assets/videos/5c8a8a25f5d69c7c23000029/vod"
  264. },
  265. "attributes": [{
  266. "name": "ContentType",
  267. "value": "video/mp4"
  268. }]
  269. }
  270. }],
  271. "connections": [{
  272. "from": [{
  273. "element": "source_file"
  274. }],
  275. "to": {
  276. "success": [{
  277. "element": "transcode_task"
  278. }, {
  279. "element": "bif_creator"
  280. }, {
  281. "element": "hls_encrypted_packaging"
  282. }]
  283. }
  284. }]
  285. },
  286. "priority": "100"
  287. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement