Skip to content

Commit

Permalink
hide
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Dec 16, 2024
1 parent 06b90aa commit 3c75c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/whisper/cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ output_file="${input_temp}_16khz.wav"

# replace relative *.ts URLs with the absolute URL to them
cat | sed 's|^\([^#].*\)|'"$BASE_URL"'/\1|' \
| ffmpeg -protocol_whitelist https,fd,tls,tcp,pipe -f hls -i - -vn -acodec pcm_s16le -ar 16000 -ac 2 "$output_file" > /dev/null 2>&1
| ffmpeg -hide_banner -loglevel error -protocol_whitelist https,fd,tls,tcp,pipe -f hls -i - -vn -acodec pcm_s16le -ar 16000 -ac 2 "$output_file" > /dev/null 2>&1

# generate the VTT file
/app/main \
Expand Down

0 comments on commit 3c75c88

Please sign in to comment.