Create polished demo videos without editing skills. Mac/Windows/Linux
fix(audio): drop null muxer from probe to restore duration parsing
Mohamed1892c03f699e
diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.tsindex bebe9c4d..7baa18cd 100644--- a/electron/ipc/handlers.ts+++ b/electron/ipc/handlers.ts@@ -1589,7 +1589,7 @@ async function muxNativeVideoExportAudio(async function probeMediaDurationSeconds(filePath: string): Promise<number> {const ffmpegPath = getFfmpegBinaryPath()try {- await execFileAsync(ffmpegPath, ['-i', filePath, '-f', 'null', '-'], { timeout: 30000, maxBuffer: 2 * 1024 * 1024 })+ await execFileAsync(ffmpegPath, ['-i', filePath], { timeout: 30000, maxBuffer: 2 * 1024 * 1024 })} catch (error) {// ffmpeg reports info on stderr even on "success" — parse it from the errorconst stderr = (error as NodeJS.ErrnoException & { stderr?: string })?.stderr ?? ''