shaishaicookie / fcpx-auto-captions

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

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

Open nangonghan opened 11 months ago

nangonghan commented 11 months 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, ]);