A tool that condenses videos by adjusting playback speed based on volume.
Project description
VideoCondenser
VideoCondenser is a tool that allows you to adjust the playback speed of a video based on the volume of its audio. The intended usage is to speed up long lecture-type videos while retaining clarity and content.
Features
- Dynamically adjust video playback speed based on audio volume levels.
- Simple command-line interface for easy usage.
Installation
pip
pip install videocondenser
Arch Linux Package Manager
pacman -Syy videocondenser-git
To install AudioSpeeder manually:
- Clone this repository to your local machine.
- Install the required dependencies (Python and assorted packages, Ffmpeg).
- Run the script using the provided command-line arguments.
Usage
Standard Lecture Shortening
python videocondenser.py input_video.mp4
Double talking speed
python videocondenser.py input_video.mp4 --loud_speed 2
Completely cutting during silence
python videocondenser.py input_video.mp4 --quiet_speed 10000
Slow down content while speeding up breaks (I personally found this setting makes thie output video about the same length as the input)
python videocondenser.py input_video.mp4 --quiet_speed 4 --loud_speed 0.75
and many more!
Showcase Videos
Before:
https://github.com/frank-monkey/videocondenser/assets/86938002/1cd11268-52c1-4689-ae9f-d117a797cdfd
After:
https://github.com/frank-monkey/videocondenser/assets/86938002/314ff9a4-80e9-4e06-b895-2b3364814d1a
(Original video here Courtesy of MIT OCW)
License
This project is licensed under the GNU General Public License (GPL-3.0).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file videocondenser-0.2.tar.gz.
File metadata
- Download URL: videocondenser-0.2.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d39f67ffde6b90e0dc3bc2b73fa9f8482c4c78e0e462fa71549f796fc498259
|
|
| MD5 |
de43335c92625b9c3a5f7f762331eece
|
|
| BLAKE2b-256 |
5d0cc6a88fcafa5fa9f65a0f2d95185826e829ffef06fbad0ad56b8dd153e96d
|
File details
Details for the file videocondenser-0.2-py3-none-any.whl.
File metadata
- Download URL: videocondenser-0.2-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebd599143c9f1e4958be03d8a523af751476543219caea737ea50001a05be830
|
|
| MD5 |
29405d60237759cf0e9de2884303371e
|
|
| BLAKE2b-256 |
d27185230490f480d5dc8d26c1b42fc26d6cea2c7551af9b7fd92c5a13fef999
|