diff --git a/examples/run-all-examples.sh b/examples/run-all-examples.sh index 74a9875..ff5c5c7 100755 --- a/examples/run-all-examples.sh +++ b/examples/run-all-examples.sh @@ -11,3 +11,5 @@ node ../cli.js --json subtitle.json5 node ../cli.js --json transitionEasing.json5 node ../cli.js --json transparentGradient.json5 node ../cli.js --json commonFeatures.json5 +node ../cli.js --json kenBurns.json5 +node ../cli.js --json slideshow.json5 diff --git a/examples/slideshow.json5 b/examples/slideshow.json5 new file mode 100644 index 0000000..79871b6 --- /dev/null +++ b/examples/slideshow.json5 @@ -0,0 +1,10 @@ +{ + outPath: './slideshow.mp4', + defaults: { + transition: { name: 'fade' }, + }, + clips: [ + { duration: 3, layers: [{ type: 'image', path: './assets/img2.jpg' }] }, + { duration: 3, layers: [{ type: 'image', path: './assets/img3.jpg' }] }, + ], +}