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

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

3. Run

transcribe-social

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: transcribe_social-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 733b919a645d9ac9e53b1b7d267da5a57339fb46db367c1f749a7d42807ac150
MD5 b881d9381b2da15c6ef43034fe67d0cd
BLAKE2b-256 e7cd38817c717dff46a11d49188719807e95323def46f5eb71ef06e3e4570797

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for transcribe_social-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14d2562f2acc373bed5b0dfb4f0c29ffb371a4e637c9b4fcc50f7de814dee92d
MD5 d41dc3797defbdcad878de92d2a3b928
BLAKE2b-256 4ceb4e7ac150d51d7b6c56d6cd73d2263d4bb847ff7710f0b28af634a5af6b0c

See more details on using hashes here.

Provenance

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