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.1.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.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transcriber-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 01020093cb423c67db72d14718cdf2e76c08c9f48ed3d35841001c35f40e6a9a
MD5 59f4b543f91e6c923b728c672eb6676f
BLAKE2b-256 b0d3d0165555d6847009148bfd288097cc6089406aa0a0bbafdf3624f723adfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for transcriber-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63527f3e93054ebad1d1af989dc937e3a234f3a04ced6d631125e605882cc943
MD5 c1129d3c92deb4ccb209b26c3187e380
BLAKE2b-256 55f701d251536e8ba8881a540759121d23c325d6ddc9ba7471066d031120426a

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