mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-16 05:16:21 -07:00
fix(subtitles): validate tools before local generation
- Detect PATH tools and report missing executable settings - Check output directories before model downloads or audio extraction
This commit is contained in:
@@ -8,7 +8,7 @@ export async function findSpeechPauses(input: {
|
||||
}): Promise<number[]> {
|
||||
const pauses: number[] = [];
|
||||
await runSubtitleGenerationProcess({
|
||||
command: input.ffmpegPath.trim() || 'ffmpeg',
|
||||
command: input.ffmpegPath,
|
||||
args: [
|
||||
'-nostdin',
|
||||
'-hide_banner',
|
||||
|
||||
Reference in New Issue
Block a user