Input a local file or url and this service will transcribe it using Mozilla Deepspeech
Project description
transcribe-anything
Input a local file or url and this service will transcribe it using Mozilla Deepspeech 0.9.3.
- Example:
transcribe_anything <YOUTUBE_URL> out_subtitles.txt
transcribe_anything <LOCAL.MP4/WAV> out_subtitles.txt
Quick start
Optional: Create a virtual python package
- Works for Ubuntu/MacOS bash or win32 git-bash
mkdir transcribe_anything
cd transcribe_anything
- Download and install virtual env:
curl -X GET https://raw.githubusercontent.com/zackees/make_venv/main/make_venv.py -o make_env.py
python make_env.py
- 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.
- The command
transcribe_anything <YOUTUBE_URL> out_subtitles.txt
- -or-
transcribe_anything <MY_LOCAL.MP4/WAV> out_subtitles.txt
Tech Stack
- Mozilla DeepSpeech: https://github.com/mozilla/DeepSpeech
- mic_vad_streaming: https://github.com/hadran9/DeepSpeech-examples/tree/r0.9/mic_vad_streaming
- youtube-dl:
- static-ffmpeg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for transcribe-anything-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7923414ebad1d9ed1d22152b319894e07d308592840f960e1adbefbc9667855 |
|
MD5 | 606ddf307bb925a9fc73b47d2d2cc667 |
|
BLAKE2b-256 | 2e2ec88ff36d3d493e576a5468109b0a13d41051aca04f46a8706e1fc1eaf90d |
Close
Hashes for transcribe_anything-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cb119a59590bb890540bec66b38bd943d10ae3e9bd3363c6687a5b7bf27451 |
|
MD5 | f21391f70e594e64df6e65356630bbd2 |
|
BLAKE2b-256 | 1b294b4506eae4f64348968858d7b1a6a0664ce124c0734741bb25c52eff985d |