Fix muxing

This commit is contained in:
2026-05-15 04:10:06 +02:00
parent 05faf1ce3b
commit 6deb883472
26 changed files with 662 additions and 169 deletions

View File

@@ -3,5 +3,6 @@ export interface YtDlpResult {
filename: string;
title: string;
}
export type YtDlpProgress = (percent: number) => void;
export declare function isYtDlpAvailable(): boolean;
export declare function downloadVideo(url: string, outputDir: string): YtDlpResult;
export declare function downloadVideo(url: string, outputDir: string, onProgress?: YtDlpProgress): Promise<YtDlpResult>;