Metadata-Version: 2.4
Name: dejensen
Version: 0.1.1
Summary: Remove pauses from presentation videos
Author-email: Gareth Davidson <gaz@bitplane.net>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: yt-dlp
Requires-Dist: openai-whisper
Requires-Dist: torch
Requires-Dist: numpy
Requires-Dist: pre-commit ; extra == "dev"
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: coverage ; extra == "dev"
Requires-Dist: pytest-cov ; extra == "dev"
Requires-Dist: build ; extra == "dev"
Requires-Dist: twine ; extra == "dev"
Requires-Dist: ruff ; extra == "dev"
Requires-Dist: pydoc-markdown ; extra == "dev"
Provides-Extra: dev

# 🧥 dejensen

Remove pauses from presentation videos.

## Why?

Pauses.. are good ... for dramatic effect. When watching? ...
... Not so much.

## How?

```bash
pipx dejensen https://www.youtube.com/watch?v=VIDEO_ID
```

It...

1. Downloads a video using `yt-dlp` (or uses a local file)
2. Extracts word-level timestamps using OpenAI's Whisper
3. Identifies gaps between words that exceed a threshold (default 0.2 seconds)
4. Uses ffmpeg to speed up the gaps with smooth easing transitions

## Requirements

- 🐍 Python 3.10+
- 📼 ffmpeg and ffprobe must be installed and in PATH

## License

WTFPL + Warranty. Do whatever you like, but don't blame me if your punchlines
land early.

