shaishaicookie / fcpx-auto-captions

🎬 Auto Captions for Final Cut Pro Powered by OpenAI's Whisper Model
https://whisperautocaptions.com/
244 stars 24 forks source link

Suggestion: support all video and vocal format in input file #4

Open nangonghan opened 1 year ago

nangonghan commented 1 year ago

as node code , ffmpeg can change any video and vocal format file to wav file. const result = await spawnSync(ffmpegPath, [ "-i", inputFilePath, "-ar", "16000", "-y", wavFilePath, ]);