pull/2350/head
Mikael Finstad 1 year ago
parent 2502186ef4
commit 2502180e53
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -261,7 +261,11 @@ function adjustSegmentsWithOffset({ segments, from }: { segments: { start: numbe
// https://stackoverflow.com/questions/35675529/using-ffmpeg-how-to-do-a-scene-change-detection-with-timecode
export async function detectSceneChanges({ filePath, minChange, onProgress, from, to }: {
filePath: string, minChange: number | string, onProgress: (p: number) => void, from: number, to: number,
filePath: string,
minChange: number | string,
onProgress: (p: number) => void,
from: number,
to: number,
}) {
const args = [
'-hide_banner',

Loading…
Cancel
Save