Skip to main content

A tool to transcribe and summarize video content.

Project description

digestvid

digestvid is a Python package designed to automate the transcription, summarization, and processing of video content. It supports both local video files and YouTube videos, leveraging advanced AI models for accurate transcription and concise summarization. With digestvid, users can efficiently digest video content, making it an ideal tool for content creators, educators, and researchers.

Features

  • Transcribe Audio from Videos: Converts spoken words in videos into text using the Whisper model.
  • Summarize Transcribed Text: Generates concise summaries from transcribed text using OpenAI's powerful models.
  • YouTube Video Support: Downloads YouTube videos for processing, including handling videos with chapters.
  • Video Screenshot Capture: Automatically captures and saves a screenshot from the midpoint of a video.
  • Flexible Output Management: Saves transcriptions, summaries, and screenshots in user-specified directories, with support for filename sanitization.

Installation

Ensure you have Python 3.6 or later installed. It's recommended to use a virtual environment for installation:

python3 -m venv venv
source venv/bin/activate

Install digestvid using pip:

pip install git+https://github.com/AI-Sherpa/DigestVid.git

Usage

After installation, digestvid can be used from the command line to process either a local video file or a YouTube URL:

digestvid <path to video file or YouTube URL>

Examples

Process a local video file:

digestvid path/to/video.mp4

Download and process a YouTube video:

digestvid https://www.youtube.com/watch?v=dQw4w9WgXcQ

Contributing

Contributions to digestvid are welcome! You can contribute by reporting bugs, requesting features, or submitting pull requests. Please read our contribution guidelines for more information.

License

digestvid is released under the MIT License. See the LICENSE file for more 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

digestvid-0.2.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

digestvid-0.2.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file digestvid-0.2.1.tar.gz.

File metadata

  • Download URL: digestvid-0.2.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for digestvid-0.2.1.tar.gz
Algorithm Hash digest
SHA256 90b7eb8e4c86cf4ec3c91498aca4ed0ffcc49da054679def9570048a593096e1
MD5 6b20a43f6b41c46b6f101928fb7eec57
BLAKE2b-256 8d82a566673008ced74861e17f2fa27e16b7b3fac75ed78e5a3073e339e99754

See more details on using hashes here.

File details

Details for the file digestvid-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: digestvid-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for digestvid-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07bc84bb7030617b3f6eb9a90d8d7ca61115c185c6455910817ca859130c7061
MD5 8e34734fa90cc6a4460d8df7bcaf0b0a
BLAKE2b-256 df8572044a35f3b451a5fdb70c1e164b69d0eaaba94f472dc03262cd6afd99b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page