Open nangonghan opened 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, ]);
const result = await spawnSync(ffmpegPath, [ "-i", inputFilePath, "-ar", "16000", "-y", wavFilePath, ]);
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, ]);