Skip to main content

Uses whisper AI to transcribe speach from video and audio files. Also accepts urls for youtube, rumble, bitchute, clear file, etc.

Project description

transcribe-anything

Input a local file or url and this service will transcribe it using Whisper AI into subtitle files and raw text.

Uses whisper AI so this is state of the art translation service - completely free. 🤯🤯🤯

Version 2.0 is CPU only for now. Pull requests welcome! Looking for help to getting the gpu accelerated pytorch installations running.

Usage

> pip install transcribe-anything
> transcribe_anything <YOUTUBE_URL>
# Outputs the srt, vtt and txt files in YOUTUBE_URL/out.vtt
> transcribe_anything <LOCAL.MP4/MP3/WAV>
# Same but in LOCAL/out.vtt ...

Build Status

Actions Status Actions Status Actions Status

Install dev

Works for Ubuntu/MacOS/Win32(in git-bash) This will create a virtual environment

> cd transcribe_anything
> ./install_dev.sh
# Enter the environment:
> source activate.sh

The environment is now active and the next step will only install to the local python. If the terminal is closed then to get back into the environment cd transcribe_anything and execute source activate.sh

Required: Install to current python environment

  • pip install transcribe-anything
    • The command transcribe_anything will magically become available.
  • transcribe_anything <YOUTUBE_URL> > out_subtitles.txt
  • -or- transcribe_anything <MY_LOCAL.MP4/WAV> > out_subtitles.txt

Tech Stack

Testing

  • All tests are run by tox, simply go to the project directory root and run it.

Versions

  • 2.0.1: Fixes missing dependencies and adds whisper option.
  • 2.0.0: New! Now a front end for Whisper ai!

Project details


Release history Release notifications | RSS feed

This version

2.0.1

Download files

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

Source Distribution

transcribe-anything-2.0.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

transcribe_anything-2.0.1-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file transcribe-anything-2.0.1.tar.gz.

File metadata

  • Download URL: transcribe-anything-2.0.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for transcribe-anything-2.0.1.tar.gz
Algorithm Hash digest
SHA256 ee1ad76b6c3e477d4fda4bdb3652157469ecdd623129021df6c739c35caa733f
MD5 80f1ecd3a064eb2f60461cd62a4c9c10
BLAKE2b-256 bc9e5eb6f6539a9d717b68f545002d99adf9c236a0f410b2930f50e76a4bf489

See more details on using hashes here.

File details

Details for the file transcribe_anything-2.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for transcribe_anything-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88f4bb754e29d393e88a7169d4425723227daf561825e26264a13aee6733f748
MD5 618b654cc13a57e5232571d0ed5e3241
BLAKE2b-256 134fd9516e33c11c85aa0a6d46ddcd2caaee145afe05da781f1f8e6ac7c0b8cb

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