Skip to main content

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:

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.

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

vidfilter_scripter-1.1.4.tar.gz (21.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.1.4-py2.py3-none-any.whl (24.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: vidfilter_scripter-1.1.4.tar.gz
  • Upload date:
  • Size: 21.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.1.4.tar.gz
Algorithm Hash digest
SHA256 6f6eea19947b940f63cdfb40aa0e619b3d1715f24452aa5711a9369d77df0dc2
MD5 ce1acfb2cc692089fce0e798ee2ad813
BLAKE2b-256 abe42edaf344ad807a42d266dd48117d23f9e007d2fde23adf04bc3fbbc13ddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vidfilter_scripter-1.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6956f0afebe34bd90985f633a4c9e3ec0090f33a12e324b247d36b96ca5a87bc
MD5 b4d891b3d23a1424198ae494ad47c196
BLAKE2b-256 99cb7e2b74947ebb339f753a430f2defbde347f30147854e538fcfc72737a959

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page