transcribe-cli-0.0.6 is not a library.
transcribe-cli
transcribe-cli is a native Rust transcription tool built around ONNX Runtime.
Crate:
- crates.io:
transcribe-cli - repository:
https://github.com/qwertyu1opz/transcribe-cli
Current backends:
ru->GigaAM v3 e2e CTCen->Parakeet TDT v2
It supports:
- local audio and video files
http/httpsmedia URLs- chunked transcript output with
--stream - live URL transcription with
--live - optional lightweight VAD for live mode with
--vad - REST server mode with
--server - CPU and NVIDIA GPU execution
REST documentation:
Requirements
- Rust
1.85+ - Linux is the primary target
- no external
ffmpegdependency is required
For GPU runs:
- install with
--features cuda - NVIDIA driver must be available
- the project downloads the required ONNX Runtime CUDA libraries into its sandbox automatically
Install
From crates.io:
With GPU support from crates.io:
From a local checkout:
With GPU support:
First run
Models and runtime files are stored in a sandbox next to the installed binary:
<binary_dir>/transcribe_sandbox/
This sandbox is used for:
- downloaded models
- ONNX Runtime shared libraries
If needed, you can override only the model storage directory:
Basic usage
Russian transcription:
English transcription:
Video input:
Remote media URL:
Use GPU:
Override compute type:
Stream transcript while decoding:
Live URL transcription:
Live URL transcription with VAD:
Start REST server:
Main arguments
MEDIAPath or URL to an audio or video source.--language <ru|en>Selects the backend.--gpuEnables NVIDIA GPU execution.--gpu-device <N>Selects CUDA device index.--compute-type <auto|int8|float32>Overrides compute mode.--streamPrints transcript chunk-by-chunk during normal file/URL transcription.--liveTreatsMEDIAas a livehttp/httpsstream.--vadEnables lightweight speech segmentation for--live.--server <PORT>Starts the REST API instead of a one-shot CLI transcription.--models-dir <DIR>Overrides the model directory.--remove-modelRemoves the selected model and its related artifacts.--remove-allRemoves the whole model directory.
Cleanup
Remove the current language-selected model:
Remove all downloaded models:
Notes
ruandenare the only supported language values right now.--livesupports directhttp/httpsstreams, not playlist protocols such as HLS/DASH.--vadis currently valid only together with--live.- Audio/video decoding is done inside the Rust pipeline through
symphonia. - The REST API is documented separately in REST_API.md.