Skip to main content

Transcribe social media videos using OpenAI Whisper

Project description

🎙️ Transcribe Social

Python 3.11+ License: MIT OpenAI Whisper

CLI tool to transcribe social media videos using OpenAI Whisper.

Supported Platforms: YouTube • Instagram • TikTok • Twitter/X • Facebook • Reddit

Use Cases:

  • Transcribe videos for content repurposing
  • Extract text from competitor content
  • Create transcripts for accessibility
  • Analyze video content at scale

Features

  • Simple CLI interface - paste URL, get transcript
  • Supports 6 major social media platforms
  • Multi-language support (50+ languages)
  • Multiple Whisper models (tiny to turbo)
  • Temporary file handling - no clutter
  • Runs locally - no data sent to external services

Installation

Requirements: Python 3.11+ and FFmpeg

1. Install FFmpeg

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt install ffmpeg

# Windows (using Chocolatey)
choco install ffmpeg

# Windows (using Scoop)
scoop install ffmpeg

2. Install Transcribe Social

pip install transcribe-social

3. Run

transcribe-social

Alternative - Install from source:

git clone https://github.com/mrizwan47/transcribe-social.git
cd transcribe-social
pip install .

Usage

Start the CLI and paste any video URL:

$ transcribe-social

🎙️  Social Media Transcriber
Author: Rizwan (riz.codes)

Loading Whisper model 'base'...
✓ Model 'base' loaded successfully

  Model: base | Language: en

Type /help for commands, or paste a URL to transcribe.

URL> https://www.youtube.com/shorts/xyz123
Downloading audio...
Transcribing...

In this video, I'll show you three productivity hacks...

Commands

Command Description
/model tiny|base|small|medium|large|turbo Switch AI model (tiny=fastest, large=most accurate)
/lang <code> Change language (en, es, fr, de, zh, ar, hi, ur, etc.)
/status Show current settings
/help Show help
exit Quit

Troubleshooting

Python version error?
python3 --version  # Must be 3.11+
brew install python@3.11  # macOS
YouTube 403 Forbidden error?
python3 -m pip install -U yt-dlp
FFmpeg not found?
brew install ffmpeg        # macOS
sudo apt install ffmpeg    # Ubuntu/Debian
choco install ffmpeg       # Windows (Chocolatey)
scoop install ffmpeg       # Windows (Scoop)
How much disk space do models need?

Models download automatically on first use:

  • tiny: ~75MB (fastest, least accurate)
  • base: ~150MB (default, balanced)
  • small: ~500MB (good quality)
  • medium/turbo: ~1.5GB (great quality)
  • large: ~3GB (best quality)

Cached in ~/.cache/whisper/


License

MIT License - See LICENSE

Author

Rizwan

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

transcribe_social-1.0.3.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

transcribe_social-1.0.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file transcribe_social-1.0.3.tar.gz.

File metadata

  • Download URL: transcribe_social-1.0.3.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transcribe_social-1.0.3.tar.gz
Algorithm Hash digest
SHA256 961d0a8620f4c285f7129dfd4fd11a5b89022272a37249ea084a783f6bebc7b0
MD5 c6dba59fb38188a4b3c21e806fba11a7
BLAKE2b-256 c6188e03fd5db27cb8fd61efa18727f73db561d0eb0f3a2f1bbb4f6506b32c15

See more details on using hashes here.

Provenance

The following attestation bundles were made for transcribe_social-1.0.3.tar.gz:

Publisher: publish.yml on mrizwan47/transcribe-social

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file transcribe_social-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for transcribe_social-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2368dc0e472e3ef35ab4d6114d220f09ea5c102d3da5783d4b3c402e0c7ba920
MD5 8b558c4590cca3c512985790f67b3736
BLAKE2b-256 accad1fb57760f735c8be49bc4decc634e2fbe7f27d099072c1639265abd169d

See more details on using hashes here.

Provenance

The following attestation bundles were made for transcribe_social-1.0.3-py3-none-any.whl:

Publisher: publish.yml on mrizwan47/transcribe-social

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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