From fef9a9e2233b75cb9f52083836da17ea63059dc1 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 6 Sep 2020 21:13:45 +0200 Subject: [PATCH] add missing example --- examples/imageOverlay.json5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/imageOverlay.json5 diff --git a/examples/imageOverlay.json5 b/examples/imageOverlay.json5 new file mode 100644 index 0000000..97b608d --- /dev/null +++ b/examples/imageOverlay.json5 @@ -0,0 +1,12 @@ +{ + outPath: './imageOverlay.mp4', + clips: [ + { layers: [ + { type: 'video', path: './assets/IMG_4605.MOV', cutTo: 2 }, + { type: 'image-overlay', path: './assets/overlay.svg', width: 0.2, position: { x: 0.95, y: 0.03, originX: 'right' } }, + { type: 'image-overlay', path: './assets/emoji.png', visibleUntil: 0.5, zoomDirection: 'in' }, + { type: 'image-overlay', path: './assets/emoji.png', position: 'top', visibleFrom: 0.7, visibleUntil: 1.3, width: 0.2 }, + { type: 'image-overlay', path: './assets/emoji.png', position: 'bottom', visibleFrom: 0.7, visibleUntil: 1.3, height: 0.2 }, + ] }, + ], +}