Skip to content

Instantly share code, notes, and snippets.

@Forpetesake2
Last active December 15, 2022 00:35
Show Gist options
  • Select an option

  • Save Forpetesake2/894274f8e53d7bbb7b5d5378e460c1da to your computer and use it in GitHub Desktop.

Select an option

Save Forpetesake2/894274f8e53d7bbb7b5d5378e460c1da to your computer and use it in GitHub Desktop.
{
"timeline": {
"soundtrack": {
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyauwfn-2e3l-sh06-4rf7-2qagol0pgckz/source.mpga",
"effect": "fadeOut"
},
"fonts": [
{
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyaufam-15ro-xd1c-n1nk-18oaws3nuvxe/source.ttf"
}
],
"background": "#000000",
"cache": false,
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type=\"text\">ROBOTS GONE WILD</p>",
"css": "p { color: #ffffff; font-size: 32px; font-family: Montserrat SemiBold; text-align: center; }",
"width": 550,
"height": 46
},
"start": 8.16,
"length": 14.49,
"fit": "none",
"scale": 1,
"offset": {
"x": 0,
"y": 0.419
},
"position": "center"
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type=\"text\">Find us on</p>",
"css": "p { color: #ffffff; font-size: 24px; font-family: Montserrat Thin; text-align: center; }",
"width": 300,
"height": 46
},
"fit": "none",
"scale": 1,
"offset": {
"x": 0,
"y": -0.29
},
"position": "center",
"transition": {
"in": "fadeFast",
"out": "fadeFast"
},
"length": 6.84,
"start": 8.16
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyaufub-0jha-ri3t-10nt-0fe02t0cmqgl/source.png"
},
"offset": {
"x": 0,
"y": -0.395
},
"position": "center",
"scale": 0.1,
"length": 2,
"transition": {
"in": "fadeFast",
"out": "fadeFast"
},
"fit": "crop",
"start": 9
},
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyauftu-1doy-4s0f-osxa-3tqgvt2qtt5j/source.png"
},
"offset": {
"x": 0,
"y": -0.395
},
"position": "center",
"fit": "crop",
"transition": {
"in": "fadeFast",
"out": "fadeFast"
},
"scale": 0.09,
"length": 2,
"start": 11
},
{
"asset": {
"type": "image",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyaufsw-10th-jw1s-xpqr-4zhitf2zmeic/source.jpeg"
},
"length": 2,
"fit": "crop",
"offset": {
"x": 0,
"y": -0.395
},
"position": "center",
"scale": 0.1,
"transition": {
"in": "fadeFast",
"out": "fadeFast"
},
"start": 13
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type=\"text\">Episode {{ episode }}</p>",
"css": "p { color: #ffffff; font-size: 32px; font-family: Montserrat Thin; text-align: center; }",
"width": 529,
"height": 53
},
"transition": {
"in": "fade",
"out": "fade"
},
"fit": "none",
"scale": 1,
"offset": {
"x": 0,
"y": 0.332
},
"position": "center",
"length": 19,
"start": 5.5
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type=\"text\">{{ title }}</p>",
"css": "p { color: #ffffff; font-size: 32px; font-family: Montserrat Thin; text-align: center; }",
"width": 590,
"height": 46
},
"transition": {
"in": "fade",
"out": "fade"
},
"length": 19,
"start": 5.5,
"fit": "none",
"scale": 1,
"offset": {
"x": 0,
"y": 0.257
},
"position": "center"
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyav1ho-1uln-6v2z-gxu4-1qrtsh2gslhg/source.mp4"
},
"start": 0,
"offset": {
"x": 0.021,
"y": 0
},
"position": "center",
"transition": {
"out": "fade"
},
"fit": "crop",
"scale": 1,
"length": 6
},
{
"asset": {
"type": "video",
"src": "https://shotstack-ingest-api-v1-sources.s3.ap-southeast-2.amazonaws.com/wzr6y0wtti/zzyav1ho-1uln-6v2z-gxu4-1qrtsh2gslhg/source.mp4",
"trim": 3.6
},
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"length": 2.4,
"start": "{{ outroStart }}",
"transition": {
"in": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "{{ video }}",
"volume": 0
},
"offset": {
"x": 0,
"y": 0
},
"position": "center",
"length": "{{ length }}",
"fit": "crop",
"scale": 1,
"transition": {
"in": "fade",
"out": "fade"
},
"start": 5.5
}
]
},
{
"clips": [
{
"asset": {
"type": "audio",
"src": "{{ audio }}",
"volume": 1
},
"length": "{{ length }}",
"start": 5.5
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 720,
"height": 720
}
},
"merge": [
{
"find": "audio",
"replace": "https://shotstack-assets.s3.amazonaws.com/templates/podcast/audio/intro-1.mp3"
},
{
"find": "video",
"replace": "https://shotstack-assets.s3.amazonaws.com/templates/podcast/waveform/intro-1.mp4"
},
{
"find": "episode",
"replace": "1"
},
{
"find": "title",
"replace": "Media Automation"
},
{
"find": "length",
"replace": 19
},
{
"find": "outroStart",
"replace": 24
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment