From 21024fb3d599c69bc7ed51f598318c004d94c843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Tupam=C3=A4ki?= Date: Thu, 30 Apr 2020 14:05:00 +0300 Subject: [PATCH] An example without the kenburns effect --- examples/run-all-examples.sh | 2 ++ examples/slideshow.json5 | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 examples/slideshow.json5 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' }] }, + ], +}