Skip to main content

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:

Main window

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.

Script generation popup

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vidfilter_scripter-1.3.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vidfilter_scripter-1.3.0-py2.py3-none-any.whl (27.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file vidfilter_scripter-1.3.0.tar.gz.

File metadata

  • Download URL: vidfilter_scripter-1.3.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for vidfilter_scripter-1.3.0.tar.gz
Algorithm Hash digest
SHA256 81356ff58f5fe4f40ad85fcc7d8d510262747fc70f7aed0378533ff2fd0b0f96
MD5 b46b8046a7ac95bbf06da9d01ddb11b2
BLAKE2b-256 488fc3abd8232c6be33fe74ef3fc4caf430fb626db24f97ced434a648612bf85

See more details on using hashes here.

File details

Details for the file vidfilter_scripter-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for vidfilter_scripter-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5852c6990e3fd8321055221198aaa099ca350e1b29b074cc101dd911c1270598
MD5 d08a5a2f9124ea42e8c64a35dcee9f0d
BLAKE2b-256 5dc593e89e4d18f69947abb07f100a335fa1291d86a115a4a7650d0f78e5f71f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.1

2 files

1.4.0

2 files

This release

1.3.0 This release

2 files

1.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page