We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d4600a commit b34f680Copy full SHA for b34f680
src/TranscribeService/TranscribeService.ts
@@ -52,7 +52,10 @@ export class TranscribeService {
52
this.openai = new OpenAI({ ...config });
53
}
54
55
- private async convertToMP3(videoUrl: string, tempFile: string): Promise<string[]> {
+ private async convertToMP3(
56
+ videoUrl: string,
57
+ tempFile: string
58
+ ): Promise<string[]> {
59
try {
60
console.log(`Converting ${videoUrl} to ${tempFile}`);
61
execSync(`ffmpeg -i "${videoUrl}" -f mp3 "${tempFile}"`);
0 commit comments