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

Uploaded Python 3

File details

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

File metadata

  • Download URL: transcribe_social-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 72b4ea3f940df1aaf85daaf4f8a90f01d64e32a1e02933e9274716f7d0597bfd
MD5 491c5c450e9fa3ecc4c20065923f5a1b
BLAKE2b-256 fc7700baca69badcc6feddc2d51e5efbbc293150f4ba10914b5b3cd7d303f0a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for transcribe_social-1.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for transcribe_social-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e2fd8e8dc32638d03eb8c0546ccc1e008fb7a70a0f74266d31ea21daa7fe14ce
MD5 c3d6ca0dee1216a37da38b7f5ce6dc00
BLAKE2b-256 d17f58c3385fc28046fc42f3ecca1fb514d110e186a332b534d1c31c5f986b17

See more details on using hashes here.

Provenance

The following attestation bundles were made for transcribe_social-1.0.4-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