Browse Source

fix examples (don't blur alpha overlay videos)

pull/81/head
Mikael Finstad 6 years ago
parent
commit
4349327c16
  1. 4
      examples/alpha.json5
  2. 4
      examples/lowerThirds1Line.json5
  3. 4
      examples/lowerThirds2Lines.json5
  4. 2
      examples/visibleFromUntil.json5

4
examples/alpha.json5

@ -4,11 +4,11 @@
clips: [ clips: [
{ duration: 2, layers: [ { duration: 2, layers: [
{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, { 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: [ { layers: [
{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, { 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' },
] }, ] },
], ],
} }

4
examples/lowerThirds1Line.json5

@ -4,8 +4,8 @@
outPath: './lowerThirds1Line.mp4', outPath: './lowerThirds1Line.mp4',
clips: [ clips: [
{ duration: 7, layers: [ { 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' }, { 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' },
] }, ] },
], ],

4
examples/lowerThirds2Lines.json5

@ -4,8 +4,8 @@
outPath: './lowerThirds2Lines.mp4', outPath: './lowerThirds2Lines.mp4',
clips: [ clips: [
{ duration: 7, layers: [ { 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: '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' }, { 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' },
] }, ] },

2
examples/visibleFromUntil.json5

@ -4,7 +4,7 @@
clips: [ clips: [
{ duration: 2, layers: [ { duration: 2, layers: [
{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 0.4, cutTo: 2 }, { 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: [ { duration: 2, layers: [
{ type: 'video', path: './assets/lofoten.mp4', cutFrom: 7.5, cutTo: 10.5 }, { type: 'video', path: './assets/lofoten.mp4', cutFrom: 7.5, cutTo: 10.5 },

Loading…
Cancel
Save