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.5.0.tar.gz (23.9 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.5.0-py2.py3-none-any.whl (27.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: vidfilter_scripter-1.5.0.tar.gz
  • Upload date:
  • Size: 23.9 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.5.0.tar.gz
Algorithm Hash digest
SHA256 59c221b117adb00a163271f2e35e758f2f15e2cc3c5a4b1fa3e5cafd545175b7
MD5 61147dff62a2446396ee84aa3183319d
BLAKE2b-256 fbcde5f8d4495fbb4f4febbee4d8d8bc07ecbe536ac701dececf49bad8b4bbd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vidfilter_scripter-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d35e9290f0623fd623a1f5671a7c046cb0d36ce9d02550ecf023bf28f547235
MD5 6f3d8e54be08066f7d4a432df6403cc0
BLAKE2b-256 a86bbcd8e430e8d2b9442800ef41d2dbe2a18049e2ead8de89c7054e4f5bb006

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.0

2 files

1.5.1

2 files

This release

1.5.0 This release

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

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