pull/2350/head
Mikael Finstad 2025-02-18 13:07:26 +08:00
rodzic 2502186ef4
commit 2502180e53
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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',