FfmpegRunner: (
path: string,
args: readonly string[],
timeoutMs: number,
) => Promise<string>
Type Declaration
- (path: string, args: readonly string[], timeoutMs: number): Promise<string>
Parameters
- path: string
- args: readonly string[]
- timeoutMs: number
Returns Promise<string>
Runs ffmpeg with the given arguments and resolves with what it printed; rejects when it fails or times out.