whisper.cpp/examples
Daniel Tang 934d4b3083
cli : support "-" for stdout like stdin (#3050)
This changes examples/cli/cli.cpp to be like
examples/common-whisper.cpp. "-of -" can be specified (or this can be
inferred from "-" as the input file) to output to stdout. This is useful
for piping to other applications.

Log fname_out consistently when not stdout
- Terminals have stdout=stderr, so remove the message before
  successful output to ease copying
- Don't affect actual error messages
- Move opening the ofstream into the factory, fixing missing
  open and/or error messages in output_score/output_wts
- Fix struct naming convention

Closes #3048
2025-05-05 07:15:39 +02:00
..
addon.node addon.node : support max_context api for addon.node (#3025) 2025-04-11 06:36:38 +02:00
bench rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
bench.wasm examples : update README links to point to pages deployment (#2971) 2025-03-31 12:32:27 +02:00
cli cli : support "-" for stdout like stdin (#3050) 2025-05-05 07:15:39 +02:00
command rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
command.wasm examples : update README links to point to pages deployment (#2971) 2025-03-31 12:32:27 +02:00
deprecation-warning examples : add WHISPER_SDL2 check to deprecation executables (#2911) 2025-03-20 18:36:02 +01:00
lsp
python
quantize
server server : update httplib.h to version 0.20.0 (#3101) 2025-05-02 06:09:41 +02:00
stream common : separate whisper sources (#2846) 2025-02-27 12:50:32 +02:00
stream.wasm ci : add github pages workflow for wasm examples (#2969) 2025-03-31 11:34:40 +02:00
sycl
talk-llama talk-llama : sync llama.cpp 2025-05-01 13:29:02 +03:00
wchess common : separate whisper sources (#2846) 2025-02-27 12:50:32 +02:00
whisper.android examples : add new sources 2025-04-03 10:30:16 +03:00
whisper.android.java examples : add new sources 2025-04-03 10:30:16 +03:00
whisper.nvim rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
whisper.objc examples : clarify Core ML encoder model usage [no ci] (#2987) 2025-04-02 08:32:14 +02:00
whisper.swiftui examples : clarify Core ML encoder model usage [no ci] (#2987) 2025-04-02 08:32:14 +02:00
whisper.wasm examples : add HEAPU8 to exported runtime methods (#3062) 2025-04-20 19:40:25 +02:00
CMakeLists.txt examples : add dl to the list of libraries linked (#2875) 2025-03-14 04:42:20 +01:00
coi-serviceworker.js ci : add github pages workflow for wasm examples (#2969) 2025-03-31 11:34:40 +02:00
common-ggml.cpp
common-ggml.h
common-sdl.cpp common : more general m_audio_len update logic (#2855) 2025-03-07 10:10:03 +02:00
common-sdl.h
common-whisper.cpp common : fix audio loading by miniaudio (#2862) 2025-03-04 19:05:21 +02:00
common-whisper.h
common.cpp examples : command.wasm updates (#2904) 2025-03-20 07:02:18 +01:00
common.h common : fix audio loading by miniaudio (#2862) 2025-03-04 19:05:21 +02:00
ffmpeg-transcode.cpp examples : fix deprecated FFmpeg functions (#3073) 2025-04-28 06:16:50 +02:00
generate-karaoke.sh
grammar-parser.cpp
grammar-parser.h
helpers.js
json.hpp
livestream.sh rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
miniaudio.h
server.py examples : update server.py to match github pages app [no ci] (#3004) 2025-04-04 10:23:53 +02:00
stb_vorbis.c
twitch.sh rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
yt-wsp.sh rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00