You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
{
|
|
// enableFfmpegLog: true,
|
|
outPath: './audio-transition.mp4',
|
|
keepSourceAudio: true,
|
|
defaults: {
|
|
duration: 3,
|
|
transition: { duration: 1, name: 'directional' },
|
|
},
|
|
clips: [
|
|
{ layers: [
|
|
{ type: 'title-background', text: 'Clip 1' },
|
|
{ type: 'audio', path: './assets/sample1.m4a' }
|
|
] },
|
|
{ transition: { duration: 0.2 }, layers: [
|
|
{ type: 'title-background', text: 'Clip 2' },
|
|
{ type: 'audio', path: './assets/sample2.m4a' }
|
|
] },
|
|
{ transition: { duration: 0 }, layers: [
|
|
{ type: 'title-background', text: 'Clip 3' },
|
|
{ type: 'audio', path: './assets/sample1.m4a' }
|
|
] },
|
|
{ transition: { audioInCurve: 'exp', audioOutCurve: 'exp' }, layers: [
|
|
{ type: 'title-background', text: 'Clip 4' },
|
|
{ type: 'audio', path: './assets/sample2.m4a' }
|
|
] },
|
|
{ transition: { name: 'dummy' }, layers: [
|
|
{ type: 'title-background', text: 'Clip 5' },
|
|
{ type: 'audio', path: './assets/sample1.m4a' }
|
|
] },
|
|
{ layers: [
|
|
{ type: 'title-background', text: 'Clip 6' },
|
|
{ type: 'audio', path: './assets/sample2.m4a' }
|
|
] },
|
|
],
|
|
}
|