diff --git a/examples/audio-transition.json5 b/examples/audio-transition.json5 index b696de78..873683d8 100644 --- a/examples/audio-transition.json5 +++ b/examples/audio-transition.json5 @@ -5,6 +5,7 @@ defaults: { duration: 3, transition: { duration: 1, name: 'directional' }, + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { layers: [ diff --git a/examples/audio1.json5 b/examples/audio1.json5 index 35c52d23..40c392b6 100644 --- a/examples/audio1.json5 +++ b/examples/audio1.json5 @@ -4,6 +4,7 @@ keepSourceAudio: true, defaults: { transition: null, + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { duration: 0.5, layers: [{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }] }, diff --git a/examples/audio2.json5 b/examples/audio2.json5 index ed886aae..bd8613cc 100644 --- a/examples/audio2.json5 +++ b/examples/audio2.json5 @@ -2,6 +2,9 @@ // enableFfmpegLog: true, outPath: './audio2.mp4', width: 200, height: 200, + defaults: { + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, + }, clips: [ { layers: [{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 1, cutTo: 2 }] }, { duration: 15, layers: { type: 'title-background', text: 'Audio track' } }, @@ -13,4 +16,4 @@ { path: './assets/winxp.mp3', mixVolume: 10, cutFrom: 1, cutTo: 2, start: 2 }, { path: './assets/Julen_ribas.m4a', mixVolume: 50, cutTo: 7, start: 5 }, ], -} \ No newline at end of file +} diff --git a/examples/audio3.json5 b/examples/audio3.json5 index 7a2294e9..600ec410 100644 --- a/examples/audio3.json5 +++ b/examples/audio3.json5 @@ -1,6 +1,9 @@ { outPath: './audio3.mp4', width: 200, height: 200, + defaults: { + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, + }, clips: [ { layers: [{ type: 'video', path: './assets/lofoten.mp4', cutTo: 2 }, { type: 'title', text: 'Arbitrary audio' }] }, { duration: 3, layers: [{ type: 'title-background', text: 'Voice starts in 1 sec' }, { type: 'detached-audio', path: './assets/Julen_ribas.m4a', mixVolume: 50, cutFrom: 2, start: 1 }] }, @@ -12,4 +15,4 @@ audioTracks: [ { path: './assets/High [NCS Release] - JPB (No Copyright Music)-R8ZRCXy5vhA.m4a', cutFrom: 18 }, ], -} \ No newline at end of file +} diff --git a/examples/audioLoop.json5 b/examples/audioLoop.json5 index c2581010..158868fb 100644 --- a/examples/audioLoop.json5 +++ b/examples/audioLoop.json5 @@ -5,6 +5,9 @@ loopAudio: true, // Should properly cut off and not crash with EPIPE if loopAudio=false and audio duration is shorter than total duration // loopAudio: false, + defaults: { + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, + }, clips: [ { duration: 10, layers: [{ type: 'title-background', text: 'Looping audio!' }] }, ], diff --git a/examples/losslesscut.json5 b/examples/losslesscut.json5 index 0adc381c..c69c3d99 100644 --- a/examples/losslesscut.json5 +++ b/examples/losslesscut.json5 @@ -7,7 +7,7 @@ audioFilePath: './Believe - Roa [Vlog No Copyright Music]-qldyHxWPFUY.m4a', defaults: { transition: { name: 'crossZoom', duration: 1 }, - layer: { fontPath: './Patua_One/PatuaOne-Regular.ttf' }, + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { duration: 3, layers: [{ type: 'title-background', text: 'LosslessCut', background: { type: 'linear-gradient' } }] }, @@ -33,4 +33,4 @@ { duration: 4, layers: [{ type: 'title-background', text: 'Get it from\nMac App Store\nWindows Store', background: { type: 'color', color: 'black' } }] }, { duration: 2, layers: [{ type: 'editly-banner' }] }, ], -} \ No newline at end of file +} diff --git a/examples/slideInText.json5 b/examples/slideInText.json5 index bd954e2a..df350976 100644 --- a/examples/slideInText.json5 +++ b/examples/slideInText.json5 @@ -1,5 +1,8 @@ { outPath: './slideInText.mp4', + defaults: { + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, + }, clips: [ { duration: 3, layers: [ { type: 'image', path: 'assets/img2.jpg' }, diff --git a/examples/videos2.json5 b/examples/videos2.json5 index 6f3ae7fa..1e9ff260 100644 --- a/examples/videos2.json5 +++ b/examples/videos2.json5 @@ -6,9 +6,10 @@ transition: { name: 'linearblur', }, + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, }, clips: [ { layers: [{ type: 'video', path: './assets/changi.mp4', cutFrom: 0, cutTo: 2 }, { type: 'title', text: 'Video 1' }] }, { layers: [{ type: 'video', path: './assets/IMG_1884.MOV', cutFrom: 0, cutTo: 2 }] }, ], -} \ No newline at end of file +} diff --git a/examples/visibleFromUntil.json5 b/examples/visibleFromUntil.json5 index 25c6fd26..e2bfe781 100644 --- a/examples/visibleFromUntil.json5 +++ b/examples/visibleFromUntil.json5 @@ -1,6 +1,9 @@ { // enableFfmpegLog: true, outPath: './visibleFromUntil.mp4', + defaults: { + layer: { fontPath: './assets/Patua_One/PatuaOne-Regular.ttf' }, + }, clips: [ { duration: 2, layers: [ { type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 },