transcribe-cli-0.0.5 is not a library.
transcribe-cli
transcribe-cli is a Rust command-line transcription pipeline built on Whisper and CTranslate2.
It supports:
- CPU-optimized transcription
- optional NVIDIA CUDA execution
- automatic Whisper model download into
models/ - local media files or
http/httpsmedia URLs - streaming transcription modes
- model cleanup commands
Install
From crates.io:
From a local checkout:
With CUDA support:
CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda CT2_CUDA_ARCH_LIST=Auto
With CUDA + cuDNN support:
CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda CT2_CUDA_ARCH_LIST=Auto
Usage
Features
cuda: enable CUDA support with dynamic loadingcuda-static: enable static CUDA supportcuda-dynamic-loading: alias for the dynamic CUDA pathcudnn: enable cuDNN on top of CUDA
Notes
- Whisper models are downloaded automatically on first use.
- Media files are decoded through the built-in Rust pipeline; no external
ffmpegdependency is required. - Video containers work when they include an audio track in a codec supported by
symphonia. --liveis intended for directhttp/httpsmedia streams and incrementally transcribes the buffered audio as new bytes arrive.--liveis not an HLS/DASH playlist client; it expects a direct media URL that can be read as a continuous byte stream.- By default models are stored in
models/next to the executable unless--models-diris set. - Whisper decoding is handled in-project through a local wrapper around CTranslate2
sys::Whisperand Hugging Facetokenizers. cudaandcudnnbuild CTranslate2 from source throughct2rs, so the NVIDIA driver alone is not enough: a CUDA Toolkit install is required.cudnnalso requires the cuDNN development files.ct2rslooks forcuda.hunder$CUDA_TOOLKIT_ROOT_DIR/includeand forcudnn.hpluslibcudnnunder the same CUDA root.ct2rsdefaults toCUDA_ARCH_LIST=Common, which can include architectures removed from newer CUDA toolkits such as CUDA 13.x. This project setsCT2_CUDA_ARCH_LIST=Autoby default to avoidnvcc fatal: Unsupported gpu architecture 'compute_53'.- If auto-detection is not what you want, override it explicitly with
CUDA_ARCH_LIST=8.6or another value supported by your GPU and CUDA toolkit. --lockedis recommended forcargo installso published installs use the crate's resolved dependency set instead of newer patch releases.