forked from mifi/editly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubtitle.json5
18 lines (18 loc) · 926 Bytes
/
subtitle.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
outPath: './subtitle.mp4',
defaults: {
layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' },
layerType: { 'fill-color': { color: '#00aa00' } }
},
clips: [
{ duration: 2, layers: [
{ type: 'rainbow-colors' },
{ type: 'subtitle', text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident.' },
{ type: 'title', position: 'top', text: 'Subtitles' },
] },
{ duration: 2, layers: [
{ type: 'fill-color' },
{ type: 'title', position: { x: 0, y: 1, originY: 'bottom' }, text: 'Custom position', zoomDirection: null },
] },
],
}