main : fix generated bash script

pull/95/head^2
Georgi Gerganov 2 years ago
parent 75171c2b79
commit ef47d77492
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -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 \"";

Loading…
Cancel
Save