Skip to main content

A comprehensive toolkit for downloading, merging, and transcribing lecture videos

Project description

Lecture Downloader

A Python toolkit for transcribing video and audio files using Whisper AI.

Installation

pip install lecture-downloader

Requirements:

  • Python 3.8+
  • FFmpeg (automatically downloaded on first use)

Usage

Transcribe a Single File

# Basic transcription
lecture-downloader transcribe video.mp4

# Specify output directory
lecture-downloader transcribe video.mp4 -o transcripts/

# Choose language
lecture-downloader transcribe video.mp4 --language es

Transcribe a Directory

# Transcribe all videos in a directory
lecture-downloader transcribe /path/to/videos/

# Transcribe with custom output location
lecture-downloader transcribe /path/to/videos/ -o /path/to/transcripts/

Options

Option Description Default
-o, --output Output directory for transcripts Same as input
--language Language code (en, es, fr, etc.) en
--method Transcription method whisper
--inject Inject subtitles into video files True
--verbose Show detailed progress False

Examples

# Transcribe with all options
lecture-downloader transcribe lectures/ \
  --output transcripts/ \
  --language en \
  --inject \
  --verbose

# Transcribe without injecting subtitles
lecture-downloader transcribe video.mp4 --no-inject

Shell Completion

# Show all shell instructions
lecture-downloader completion

# Show instructions for specific shell
lecture-downloader completion bash
lecture-downloader completion zsh
lecture-downloader completion fish

Requirements

  • Python 3.8+
  • FFmpeg (automatically downloaded on first use)

License

MIT License - see LICENSE file for details.

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

lecture_downloader-1.1.13.tar.gz (764.9 kB view details)

Uploaded Source

Built Distribution

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

lecture_downloader-1.1.13-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file lecture_downloader-1.1.13.tar.gz.

File metadata

  • Download URL: lecture_downloader-1.1.13.tar.gz
  • Upload date:
  • Size: 764.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lecture_downloader-1.1.13.tar.gz
Algorithm Hash digest
SHA256 f48d909c34feda856dce41a898de41d0230fe21a4e366dade01d57d6c02185ed
MD5 6b5783dd6563c04e5b236ad937ed95d2
BLAKE2b-256 88374f600ce16f25e362f4ae0176914b67cdd81e2e34352de51dd73944dce0ae

See more details on using hashes here.

File details

Details for the file lecture_downloader-1.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for lecture_downloader-1.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 6b89db514c4918dce1d5e80baf9a662f0369085ea71deb86351d5384989d627a
MD5 260973a06ddd8a7ab37d01b148832c7e
BLAKE2b-256 1281d9fd852d17e8eb611298977438ad5d80004ebf73304d23e3c800467c6d09

See more details on using hashes here.

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