# 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:
```bash
python3 -m venv venv
source venv/bin/activate
```
Install `digestvid` using pip:
```bash
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:
```bash
digestvid <path to video file or YouTube URL>
```
### Examples
Process a local video file:
```bash
digestvid path/to/video.mp4
```
Download and process a YouTube video:
```bash
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/AI-Sherpa/digestvid",
"name": "digestvid",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "AI Sherpa",
"author_email": "contact@ai-sherpa.com",
"download_url": "https://files.pythonhosted.org/packages/8d/82/a566673008ced74861e17f2fa27e16b7b3fac75ed78e5a3073e339e99754/digestvid-0.2.1.tar.gz",
"platform": null,
"description": "# digestvid\n\n`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.\n\n## Features\n\n- **Transcribe Audio from Videos**: Converts spoken words in videos into text using the Whisper model.\n- **Summarize Transcribed Text**: Generates concise summaries from transcribed text using OpenAI's powerful models.\n- **YouTube Video Support**: Downloads YouTube videos for processing, including handling videos with chapters.\n- **Video Screenshot Capture**: Automatically captures and saves a screenshot from the midpoint of a video.\n- **Flexible Output Management**: Saves transcriptions, summaries, and screenshots in user-specified directories, with support for filename sanitization.\n\n## Installation\n\nEnsure you have Python 3.6 or later installed. It's recommended to use a virtual environment for installation:\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nInstall `digestvid` using pip:\n\n```bash\npip install git+https://github.com/AI-Sherpa/DigestVid.git\n```\n\n## Usage\n\nAfter installation, `digestvid` can be used from the command line to process either a local video file or a YouTube URL:\n\n```bash\ndigestvid <path to video file or YouTube URL>\n```\n\n### Examples\n\nProcess a local video file:\n\n```bash\ndigestvid path/to/video.mp4\n```\n\nDownload and process a YouTube video:\n\n```bash\ndigestvid https://www.youtube.com/watch?v=dQw4w9WgXcQ\n```\n\n## Contributing\n\nContributions to `digestvid` are welcome! You can contribute by reporting bugs, requesting features, or submitting pull requests. Please read our contribution guidelines for more information.\n\n## License\n\n`digestvid` is released under the MIT License. See the LICENSE file for more details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool to transcribe and summarize video content.",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/AI-Sherpa/digestvid"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "df8572044a35f3b451a5fdb70c1e164b69d0eaaba94f472dc03262cd6afd99b0",
"md5": "8e34734fa90cc6a4460d8df7bcaf0b0a",
"sha256": "07bc84bb7030617b3f6eb9a90d8d7ca61115c185c6455910817ca859130c7061"
},
"downloads": -1,
"filename": "digestvid-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e34734fa90cc6a4460d8df7bcaf0b0a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 10597,
"upload_time": "2024-02-25T08:58:42",
"upload_time_iso_8601": "2024-02-25T08:58:42.512645Z",
"url": "https://files.pythonhosted.org/packages/df/85/72044a35f3b451a5fdb70c1e164b69d0eaaba94f472dc03262cd6afd99b0/digestvid-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8d82a566673008ced74861e17f2fa27e16b7b3fac75ed78e5a3073e339e99754",
"md5": "6b20a43f6b41c46b6f101928fb7eec57",
"sha256": "90b7eb8e4c86cf4ec3c91498aca4ed0ffcc49da054679def9570048a593096e1"
},
"downloads": -1,
"filename": "digestvid-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "6b20a43f6b41c46b6f101928fb7eec57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 10105,
"upload_time": "2024-02-25T08:58:44",
"upload_time_iso_8601": "2024-02-25T08:58:44.132997Z",
"url": "https://files.pythonhosted.org/packages/8d/82/a566673008ced74861e17f2fa27e16b7b3fac75ed78e5a3073e339e99754/digestvid-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-25 08:58:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AI-Sherpa",
"github_project": "digestvid",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "digestvid"
}