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

Uploaded Python 3

File details

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

File metadata

  • Download URL: transcribe_social-1.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 f548ab14b21cabc0316a730b8f4f396e8579b5d090dd5a800cf98a50fa66d65c
MD5 1ff28f566d34891b49244ed662213e75
BLAKE2b-256 1f4b6f365e08c7d988805d0af8df66860e810d4b8f16d5251345de1626f3e22f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for transcribe_social-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 80a4b67ab562f7e5a0cf44bfff6c8dda74498401e4a3cf68ed18d69e8dd64f6f
MD5 88c614ae5ed5410f3f49847de26844a8
BLAKE2b-256 4fe688f717edffb41319cec6b45e2b2e56a7381ed6d05393a1f563c4458410d1

See more details on using hashes here.

Provenance

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