chore: add new ffmpeg args
This commit is contained in:
@@ -194,6 +194,8 @@ class MediaPlayer extends EventEmitter {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args.push('-force_key_frames', '00:02');
|
||||||
|
|
||||||
if (options?.inputFFmpegArgs) {
|
if (options?.inputFFmpegArgs) {
|
||||||
args.unshift(...options.inputFFmpegArgs);
|
args.unshift(...options.inputFFmpegArgs);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user