Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Dec 16, 2024
1 parent 918ba1b commit 06b90aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 -f hls -i - -vn -acodec pcm_s16le -ar 16000 -ac 2 "$output_file"
| 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

# generate the VTT file
/app/main \
Expand Down
2 changes: 1 addition & 1 deletion examples/whisper/scyllaridae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cmdByMimeType:
default:
cmd: /app/cmd.sh
args:
- "%source-mime-uri"
- "%source-uri"

0 comments on commit 06b90aa

Please sign in to comment.