Spaces:
Running
Running
main : fix generated bash script
Browse files- examples/main/main.cpp +1 -1
examples/main/main.cpp
CHANGED
|
@@ -313,7 +313,7 @@ bool output_wts(struct whisper_context * ctx, const char * fname, const char * f
|
|
| 313 |
// TODO: become parameter
|
| 314 |
static const char * font = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf";
|
| 315 |
|
| 316 |
-
fout << "
|
| 317 |
fout << "\n";
|
| 318 |
|
| 319 |
fout << "ffmpeg -i " << fname_inp << " -f lavfi -i color=size=1200x120:duration=" << t_sec << ":rate=25:color=black -vf \"";
|
|
|
|
| 313 |
// TODO: become parameter
|
| 314 |
static const char * font = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf";
|
| 315 |
|
| 316 |
+
fout << "#!/bin/bash" << "\n";
|
| 317 |
fout << "\n";
|
| 318 |
|
| 319 |
fout << "ffmpeg -i " << fname_inp << " -f lavfi -i color=size=1200x120:duration=" << t_sec << ":rate=25:color=black -vf \"";
|