Skip to main content

VoxScriber

PyPI version Downloads License: MIT Python 3.10+

Professional speaker diarization running 100% locally. Uses Parakeet TDT 0.6B v3 (via parakeet-mlx, 25 European languages) on Apple Silicon, with MLX Whisper as an option, and faster-whisper on Linux/CUDA, combined with Pyannote 3.1.

VoxScriber Banner

Requirements

  • Python 3.10+
  • Hugging Face token (free, one-time model download)
  • For GPU: CUDA 12 + cuDNN 9 (optional, CPU works too)
  • On macOS: FFmpeg (brew install ffmpeg), which the Parakeet and MLX Whisper backends use to read audio

On Linux, no FFmpeg or system packages are needed (PyAV is used as a fallback).

Installation

pip install voxscriber

The right transcription backend is installed automatically:

  • macOS Apple Silicon: Parakeet v3 (default) and MLX Whisper
  • Linux/other: faster-whisper (CUDA or CPU)

Setup Hugging Face Token

VoxScriber uses pyannote models which require a Hugging Face token.

Option 1: Interactive setup (recommended)

voxscriber-doctor

This will guide you through accepting the model terms and saving your token securely.

Option 2: Using huggingface-cli

# First, accept terms at https://huggingface.co/pyannote/speaker-diarization-3.1
huggingface-cli login

Your token will be saved to ~/.cache/huggingface/token and used automatically.

Option 3: Environment variable

export HF_TOKEN=your_token_here

Usage

# Basic
voxscriber meeting.m4a

# With known speaker count
voxscriber meeting.m4a --speakers 2

# All formats
voxscriber meeting.m4a --formats md,txt,json,srt,vtt

# Sentence-level subtitle segmentation for editing workflows (default for srt/vtt)
voxscriber meeting.m4a --formats srt,vtt

# Print to console
voxscriber meeting.m4a --print

Python API

from voxscriber import DiarizationPipeline, PipelineConfig

config = PipelineConfig(
    num_speakers=2,
    language="en",
)
pipeline = DiarizationPipeline(config)
transcript = pipeline.process("meeting.m4a")

for segment in transcript.segments:
    print(f"{segment.speaker}: {segment.text}")

Output Formats

Format Description
md Markdown with bold speaker names
txt Timestamped plain text
json Structured data with word-level timestamps
srt SubRip subtitles
vtt WebVTT subtitles

Options

voxscriber --help

  --speakers, -s    Number of speakers (if known)
  --language, -l    Force language (e.g., 'en', 'es')
  --model, -m       Model (default: parakeet-v3 on Apple Silicon, large-v3-turbo on CUDA, small on CPU)
  --formats, -f     Output formats (default: md,txt)
  --output, -o      Output directory
  --device          auto (default), mps, cuda, or cpu
  --parallel        Run transcription and diarization at the same time (more memory)
  --srt-mode        Subtitle segmentation mode for srt/vtt: speaker|sentence
  --srt-max-duration  Maximum subtitle duration in seconds for srt/vtt
  --quiet, -q       Suppress progress
  --print           Print transcript to console

Performance

Transcription and diarization run one after the other, and each model is freed before the next loads, so peak memory is the larger stage rather than the sum of both. On an M3 Pro (18 GB), a 15-minute recording takes about 76 seconds (~0.08x RTF) with a ~5.4 GB peak, versus about 13 GB when both models run at once (--parallel). ~0.15-0.25x RTF on NVIDIA GPUs (faster-whisper).

Parakeet v3 auto-detects the language, so --language only applies to Whisper models.

Troubleshooting

Run the diagnostic tool to check your setup:

voxscriber-doctor

This will check FFmpeg availability and HF_TOKEN, and offer to fix common issues automatically.

Other Issues

Issue Solution
requires Python >= 3.10 Use Python 3.10+: python3.10 -m venv .venv
Installed wrong package It's voxscriber (with 'r'), not voxscribe
HF_TOKEN required Run voxscriber-doctor to set up authentication

Support

If you find VoxScriber useful, consider supporting its development:

Buy Me A Coffee GitHub Sponsors

License

MIT

Metadata

Release files for voxscriber 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voxscriber 0.3.0
File Size Uploaded Provenance Actions
voxscriber-0.3.0.tar.gz 875.0 kB With provenance Details for voxscriber-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for voxscriber 0.3.0
File Interpreter ABI Platform Actions
voxscriber-0.3.0-py3-none-any.whl Python 3 none any Details for voxscriber-0.3.0-py3-none-any.whl

Total release size: 908.5 kB

Release files / voxscriber-0.3.0.tar.gz

Download URL voxscriber-0.3.0.tar.gz
Size 875.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc4eeef14719ebc9cb05d7a8a43f8ba3664ad0774f605ea2f60f0fd79d7319a2
BLAKE2b-256 checksum
How to use checksums
ab7dc66dec753c7c2056ef2cb79e39b3d02e5594b6e80c09a68a746826c43cf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / voxscriber-0.3.0-py3-none-any.whl

Download URL voxscriber-0.3.0-py3-none-any.whl
Size 33.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa1fe9f88e96e670387ff03c9af57de44f6ec054230fd96b959d127ed0a1965e
BLAKE2b-256 checksum
How to use checksums
5804b385a1cb2ad35b2b0606b84fb979174e2908af166e6be96441b6d92785c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for voxscriber 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for voxscriber-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page