An mpv front-end which creates a mencoder script with video adjustments.
Project description
vidfilter_scripter
An mpv front-end which creates a mencoder script with video adjustments. The script reencodes your video with the correct adjustments using ffmpeg.
Installation
You must have libmpv-dev and ffmpeg installed on your computer. On a debian based system using apt, run the following:
$ sudo apt install libmpv-dev ffmpeg
Install vidfilter_scripter using pip:
pip install vidfilter_scripter
Usage
Preview the video you wish to reencode, adjusting brightness, contrast, hue, saturation, and gamma:
When you are satisfied, click the "Create script" button. The created menocoder script will be shown with a "Save as" function available to save it to disk.
Save the script and run it. You can run a script in the background using "at":
$ realpath reencode.sh | at now
...or...
$ realpath reencode.sh | batch
Or if you have more than one computer, you run it on the one in the closet at night!
$ realpath reencode.sh | at midnight
Custom script
You can always change the script before running it.
I chose some decent encoding options for one of several common video heights. You can replace those lines with your own preferece, if you want.
The purpose of this "program" is not to be a complete reeencoder. It is to be able to preview the video filter settings as you modify them, and then generate a correct video filter option to pass to ffmpeg for reencoding.
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
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 vidfilter_scripter-1.1.5.tar.gz.
File metadata
- Download URL: vidfilter_scripter-1.1.5.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8cf8d7c59122f2cd6ba5df148186426308cf5d483880bfcc7a71e063e30f83f
|
|
| MD5 |
9ab311f09a440241a0e95ec5371de9e7
|
|
| BLAKE2b-256 |
e6130b9b6db35b4b5cfec741b2bc1d4abedfc7dda242f2ea14ba9d651203a0a0
|
File details
Details for the file vidfilter_scripter-1.1.5-py2.py3-none-any.whl.
File metadata
- Download URL: vidfilter_scripter-1.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88c4ffd51a96b9a67f54ea0f490e25562fc649ee65ccdc97c99bfc137099bf29
|
|
| MD5 |
2b2291c5c67336611781bded29341c57
|
|
| BLAKE2b-256 |
8471a3d2dc2f74144e7b248801465f0da13510be7bf7a51db9c998761f73c315
|