main : fix generated bash script

pull/128/head
Georgi Gerganov 2022-11-04 18:30:38 +02:00
parent 75171c2b79
commit ef47d77492
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ bool output_wts(struct whisper_context * ctx, const char * fname, const char * f
// TODO: become parameter
static const char * font = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf";
fout << "!/bin/bash" << "\n";
fout << "#!/bin/bash" << "\n";
fout << "\n";
fout << "ffmpeg -i " << fname_inp << " -f lavfi -i color=size=1200x120:duration=" << t_sec << ":rate=25:color=black -vf \"";