Skip to content

Commit 8ffca8b

Browse files
committed
--convert doesn't exist for whisperfile, add notes on conversion
1 parent 9f1f8ab commit 8ffca8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

whisper.cpp/doc/server.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# whisperfile http server
22

3-
Simple http server. WAV Files are passed to the inference model via http requests.
3+
Simple http server. WAV Files are passed to the inference model via http requests. MP3, FLAC, and OGG files are automatically converted to WAV format via miniaudio.
44

55
https://github.com/ggerganov/whisper.cpp/assets/1991296/e983ee53-8741-4eb5-9048-afe5e4594b8f
66

@@ -45,11 +45,10 @@ options:
4545
-oved D, --ov-e-device DNAME [CPU ] the OpenVINO device used for encode inference
4646
--host HOST, [127.0.0.1] Hostname/ip-adress for the server
4747
--port PORT, [8080 ] Port number for the server
48-
--convert, [false ] Convert audio to WAV, requires ffmpeg on the server
4948
```
5049

5150
> [!WARNING]
52-
> **Do not run the server example with administrative privileges and ensure it's operated in a sandbox environment, especially since it involves risky operations like accepting user file uploads and using ffmpeg for format conversions. Always validate and sanitize inputs to guard against potential security threats.**
51+
> **Do not run the server example with administrative privileges and ensure it's operated in a sandbox environment, especially since it involves risky operations like accepting user file uploads. Always validate and sanitize inputs to guard against potential security threats.**
5352
5453
## request examples
5554

0 commit comments

Comments
 (0)