Skip to main content

Audio Transcribe

A command-line tool for transcribing audio files using OpenAI's Whisper model.

Features

  • Transcribe individual audio files with customizable options
  • Batch process multiple audio files in a directory
  • Support for various audio formats (MP3, WAV, M4A, OGG, FLAC)
  • Multiple Whisper model sizes (tiny, base, small, medium, large)
  • Progress indicators with rich terminal output
  • Optional JSON output with detailed transcription results

Installation

# Clone the repository
git clone https://github.com/samurmaykrr/audio_transcribe.git
cd audio_transcribe

# Install the package
pip install -e .

Usage

Single File Transcription

# Basic usage
audio-transcribe transcribe path/to/audio.mp3

# Specify output directory
audio-transcribe transcribe path/to/audio.mp3 -o output/directory

# Use a different model size
audio-transcribe transcribe path/to/audio.mp3 -m large

# Specify language (auto-detects if not specified)
audio-transcribe transcribe path/to/audio.mp3 -l en

# Save detailed results in JSON format
audio-transcribe transcribe path/to/audio.mp3 -j

# Translate to English
audio-transcribe transcribe path/to/audio.mp3 -t translate

Batch Processing

# Process all audio files in a directory
audio-transcribe batch path/to/audio/directory

# Specify output directory
audio-transcribe batch path/to/audio/directory -o output/directory

# Use a different model size
audio-transcribe batch path/to/audio/directory -m large

# Process specific file extensions
audio-transcribe batch path/to/audio/directory -e mp3 wav

Configuration Options

Model Sizes

  • tiny: Fastest, lowest accuracy
  • base: Good balance of speed and accuracy
  • small: Better accuracy, slower than base
  • medium: High accuracy, slower processing
  • large: Best accuracy, slowest processing

Supported Audio Formats

  • MP3
  • WAV
  • M4A
  • OGG
  • FLAC

Output Options

  • Text file output (default)
  • Optional JSON output with timestamps and confidence scores
  • Custom output directory specification

Requirements

  • Python 3.7 or higher
  • Dependencies:
    • openai-whisper
    • typer
    • rich

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Metadata

Release files for audio-transcribe 0.1.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 audio-transcribe 0.1.0
File Size Uploaded Provenance
audio_transcribe-0.1.0.tar.gz 7.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for audio-transcribe 0.1.0
File Interpreter ABI Platform
audio_transcribe-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / audio_transcribe-0.1.0.tar.gz

Download URL audio_transcribe-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f546f674efe5fe64f8d2bf7a2f04d779ae3f1744d602a3cc6161a653758e0b68
BLAKE2b-256 checksum
How to use checksums
36d68ebbfb169790f96073d6e5bb839b4caed810f2aa96b7a62c546b9f9c044a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / audio_transcribe-0.1.0-py3-none-any.whl

Download URL audio_transcribe-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
671e0eb26408227b5913e8dcbd2ce74b4992878c70006c9c36ecb967ce31daab
BLAKE2b-256 checksum
How to use checksums
c9fcbf78ee041158c8040760ad403bffdbff5129a95506ab68dabd9304c7cbe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for audio-transcribe 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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