DefinitelyTyped/types/ffmpeg-concat/ffmpeg-concat-tests.ts
Weslen do Nascimento 98d8f8e220
[ffmpeg-concat] Create type definition (#43945)
* Create ffmpeg-concat type definition

* Export syntax

* Transition.params is optional
2020-04-16 16:14:18 -07:00

30 lines
568 B
TypeScript

import concat from 'ffmpeg-concat';
concat({
audio: '',
cleanupFrames: true,
concurrency: 4,
frameFormat: 'raw',
log: () => {},
output: '',
tempDir: '',
transition: {
duration: 100,
name: '',
params: { direction: [1, -1] },
},
transitions: [
{
duration: 100,
name: '',
params: { direction: [1, -1] },
},
{
duration: 100,
name: '',
params: { direction: [1, -1] },
},
],
videos: ['', ''],
});