Skip to main content

A simple tool to transcribe audio files

Project description

Transcriber

A flexible Python package for transcribing audio and video from various sources (SoundCloud, YouTube, or local files) into multiple text formats (txt, docx, srt). The transcriber supports multiple speech recognition models (defaulting to Whisper "large-v3"). It leverages GPU acceleration for faster processing and utilizes concurrency through async and multiprocessing to improve performance.

Features

  • Multiple Input Sources: Transcribe from SoundCloud, YouTube, or local audio/video files.
  • Multiple Models: Easily switch between different speech recognition models.
  • GPU Acceleration: Utilize GPU processing for faster transcription.
  • Concurrent Processing: Implement async and multiprocessing for improved performance.
  • Various Output Formats: Export transcriptions to txt, docx, or srt formats.

Installation

Install the required packages:

uv pip install -r requirements.txt

Usage

Provide examples on how to use the package:

# Example command to transcribe a YouTube video
import transcriber

transcriber.transcrib(
    source="youtube",
    url="https://www.youtube.com/watch?v=6Jv8GKZlX2A",
    model="whisper-large-v3",
    output_format= ["txt", "docx", "srt"],
    output_dir="output"
)

Contributing

Contributions are welcome. Please submit a pull request or open an issue for suggestions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transcriber-0.1.0.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transcriber-0.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file transcriber-0.1.0.tar.gz.

File metadata

  • Download URL: transcriber-0.1.0.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.5

File hashes

Hashes for transcriber-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eab5261e2d76f2ba9afe51c9607f40d7fe5b0469c6217960dc0c3ba4d9eb3eb1
MD5 11d355b8fb1867b94691a3b801fe5114
BLAKE2b-256 53f6fda903f80ed74537d51435c22cefff0bcab6ada117792650cb6cbca4aa7e

See more details on using hashes here.

File details

Details for the file transcriber-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for transcriber-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7e557d4eea88ad2148869982a58d49e6f71a940d968caf11700454f07e1e71
MD5 88ee27faf25ded4c9ee1f8a40654921f
BLAKE2b-256 8772c3930b4a782e1e2abd5a4c1e5e449ec87dcce2d824fc1287d263a9d5d117

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page