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

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.7.tar.gz (763.2 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.7-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lecture_downloader-1.1.7.tar.gz
Algorithm Hash digest
SHA256 00d47905f3512bed3476b4953e16b15f4d874dd0642706b257fbee130d21b354
MD5 c9bfa5faf374a4aabdfb981ff4433ade
BLAKE2b-256 32e686595b722f20bd5e5ae0c90f4e7bc37f9df4198902f5265781c8fb7c76e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lecture_downloader-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 43745c8b068d863f36572bdc6d754761f2100abf0d289d31110db83e7be67392
MD5 9ea8d01cebd6486a732e2a7703ddea18
BLAKE2b-256 003abef06c7ab13d0270999ba95480275721539ab9124cb3ac2fcb4f5cf30b92

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