-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcaptions.json
108 lines (108 loc) · 4.04 KB
/
captions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "title",
"text": "Hi, I'm Jeff the founder of Shotstack, the cloud video editing API.",
"style": "subtitle",
"color": "#ffffff",
"size": "small",
"background": "#000000",
"position": "bottom",
"offset": {
"y": -0.4
}
},
"start": 1.3,
"length": 3.67
},
{
"asset": {
"type": "title",
"text": "This is a quick demo video to show you just how easy",
"style": "subtitle",
"color": "#ffffff",
"size": "small",
"background": "#000000",
"position": "bottom",
"offset": {
"y": -0.4
}
},
"start": 5.07,
"length": 3.92
},
{
"asset": {
"type": "title",
"text": "and quick and simple it is to add captions onto your videos.",
"style": "subtitle",
"color": "#ffffff",
"size": "small",
"background": "#000000",
"position": "bottom",
"offset": {
"y": -0.4
}
},
"start": 9.09,
"length": 4
},
{
"asset": {
"type": "title",
"text": "So follow along with the example using Node, PHP or Ruby and within no time",
"style": "subtitle",
"color": "#ffffff",
"size": "small",
"background": "#000000",
"position": "bottom",
"offset": {
"y": -0.4
}
},
"start": 13.199,
"length": 5.4
},
{
"asset": {
"type": "title",
"text": "you should be adding captions to your own videos.",
"style": "subtitle",
"color": "#ffffff",
"size": "small",
"background": "#000000",
"position": "bottom",
"offset": {
"y": -0.4
}
},
"start": 18.699,
"length": 2.36
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/examples/captions-example.mp4",
"volume": 1
},
"start": 0,
"length": 21.08
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "sd"
}
}