From 4349327c162cbf31ba6120f3092f39459f3d6e1a Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 1 Oct 2020 22:37:42 +0200 Subject: [PATCH] fix examples (don't blur alpha overlay videos) --- examples/alpha.json5 | 4 ++-- examples/lowerThirds1Line.json5 | 4 ++-- examples/lowerThirds2Lines.json5 | 4 ++-- examples/visibleFromUntil.json5 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/alpha.json5 b/examples/alpha.json5 index 0598a31..adf004a 100644 --- a/examples/alpha.json5 +++ b/examples/alpha.json5 @@ -4,11 +4,11 @@ clips: [ { duration: 2, layers: [ { type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, - { type: 'video', path: './assets/dancer1.webm', cutFrom: 0, cutTo: 6 }, + { type: 'video', path: './assets/dancer1.webm', resizeMode: 'contain', cutFrom: 0, cutTo: 6 }, ] }, { layers: [ { type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, - { type: 'video', path: './assets/dancer1.webm' }, + { type: 'video', path: './assets/dancer1.webm', resizeMode: 'contain' }, ] }, ], } diff --git a/examples/lowerThirds1Line.json5 b/examples/lowerThirds1Line.json5 index dc5ce0d..a37a4e4 100644 --- a/examples/lowerThirds1Line.json5 +++ b/examples/lowerThirds1Line.json5 @@ -4,8 +4,8 @@ outPath: './lowerThirds1Line.mp4', clips: [ { duration: 7, layers: [ - { type: 'fill-color', color: '#000' }, - { type: 'video', path: 'assets/lowerthirds/UHD_DMGMORI_Lwr3rd_1Line.mov' }, + { type: 'fill-color', color: '#555' }, + { type: 'video', path: 'assets/lowerthirds/UHD_DMGMORI_Lwr3rd_1Line.mov', resizeMode: 'contain' }, { type: 'slide-in-text', text: 'Lower Line Regular Source Text', position: { x: 0.035, y: 0.930, originX: 'left', originY: 'bottom' }, color: '#000', fontSize: 0.021, charSpacing: 0.025, fontPath: './assets/lowerthirds/FF DIN Pro Light.otf' }, ] }, ], diff --git a/examples/lowerThirds2Lines.json5 b/examples/lowerThirds2Lines.json5 index 191ffc2..ebc85d3 100644 --- a/examples/lowerThirds2Lines.json5 +++ b/examples/lowerThirds2Lines.json5 @@ -4,8 +4,8 @@ outPath: './lowerThirds2Lines.mp4', clips: [ { duration: 7, layers: [ - { type: 'fill-color', color: '#000' }, - { type: 'video', path: 'assets/lowerthirds/UHD_DMGMORI_Lwr3rd_2Lines.mov' }, + { type: 'fill-color', color: '#555' }, + { type: 'video', path: 'assets/lowerthirds/UHD_DMGMORI_Lwr3rd_2Lines.webm', resizeMode: 'contain' }, { type: 'slide-in-text', text: 'Upper Line Bold Source Text', position: { x: 0.035, y: 0.877, originX: 'left', originY: 'bottom' }, color: '#000', fontSize: 0.021, charSpacing: 0.03, fontPath: './assets/lowerthirds/FF DIN Pro Medium.otf' }, { type: 'slide-in-text', text: 'Lower Line Regular Source Text', position: { x: 0.035, y: 0.930, originX: 'left', originY: 'bottom' }, color: '#000', fontSize: 0.021, charSpacing: 0.025, fontPath: './assets/lowerthirds/FF DIN Pro Light.otf' }, ] }, diff --git a/examples/visibleFromUntil.json5 b/examples/visibleFromUntil.json5 index 7f90f55..32d2069 100644 --- a/examples/visibleFromUntil.json5 +++ b/examples/visibleFromUntil.json5 @@ -4,7 +4,7 @@ clips: [ { duration: 2, layers: [ { type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, - { type: 'video', path: './assets/dancer1.webm', cutFrom: 0, cutTo: 6, visibleFrom: 0.5, visibleUntil: 1 }, + { type: 'video', path: './assets/dancer1.webm', resizeMode: 'contain', cutFrom: 0, cutTo: 6, visibleFrom: 0.5, visibleUntil: 1 }, ] }, { duration: 2, layers: [ { type: 'video', path: './assets/lofoten.mp4', cutFrom: 7.5, cutTo: 10.5 },