All Projects → occivink → Mpv Scripts

occivink / Mpv Scripts

Licence: gpl-2.0
Various scripts for mpv

Programming Languages

lua
6591 projects
script
160 projects

Projects that are alternatives of or similar to Mpv Scripts

mpv-scripts
dynamic-crop.lua script for mpv player/lib.
Stars: ✭ 43 (-73.78%)
Mutual labels:  mpv, crop
sic
🦜 Accessible image processing and conversion from the terminal. Front-end for image-rs/image.
Stars: ✭ 96 (-41.46%)
Mutual labels:  crop, blur
Imaging
Imaging is a simple image processing package for Go
Stars: ✭ 4,023 (+2353.05%)
Mutual labels:  crop, blur
Cdn
Content Delivery Network on the top of MongoDb GridFs with on-the-fly image crop/resize
Stars: ✭ 117 (-28.66%)
Mutual labels:  crop
Lilliput
Resize images and animated GIFs in Go
Stars: ✭ 1,690 (+930.49%)
Mutual labels:  crop
React Avatar Editor
Small avatar & profile picture component. Resize and crop uploaded images using a intuitive user interface.
Stars: ✭ 1,846 (+1025.61%)
Mutual labels:  crop
Blurdetection2
Blur Detection with OpenCV in Python
Stars: ✭ 156 (-4.88%)
Mutual labels:  blur
Dotfiles
If there is a shell, there is a way!
Stars: ✭ 112 (-31.71%)
Mutual labels:  mpv
Mpv Playlistmanager
Mpv lua script to create and manage playlists
Stars: ✭ 150 (-8.54%)
Mutual labels:  mpv
Urp kawase blur
URP renderfeature test project
Stars: ✭ 138 (-15.85%)
Mutual labels:  blur
Imgaug
Image augmentation for machine learning experiments.
Stars: ✭ 12,107 (+7282.32%)
Mutual labels:  crop
Ucrop
Image Cropping Library for Android
Stars: ✭ 11,003 (+6609.15%)
Mutual labels:  crop
Zlimageeditor
A powerful image editor framework. Supports graffiti, cropping, mosaic, text stickers, image stickers, filters.
Stars: ✭ 148 (-9.76%)
Mutual labels:  crop
Plex Mpv Shim
Cast media from Plex Mobile and Web apps to MPV. (Unofficial)
Stars: ✭ 120 (-26.83%)
Mutual labels:  mpv
Haruna
Open source video player built with Qt/QML and libmpv.
Stars: ✭ 147 (-10.37%)
Mutual labels:  mpv
Krgallery
Crop , Video, Photos, from Telegram
Stars: ✭ 116 (-29.27%)
Mutual labels:  crop
Ff2mpv
A Firefox add-on for playing URLs in mpv.
Stars: ✭ 149 (-9.15%)
Mutual labels:  mpv
Fly Dynamic Image Resizer
Fly Dynamic Image Resizer plugin for WordPress
Stars: ✭ 133 (-18.9%)
Mutual labels:  crop
Arclayout
With Arc Layout explore new styles and approaches on material design
Stars: ✭ 1,662 (+913.41%)
Mutual labels:  crop
Pdfcropmargins
pdfCropMargins -- a program to crop the margins of PDF files
Stars: ✭ 141 (-14.02%)
Mutual labels:  crop

Foreword

These scripts are completely independent. Some of them work together nicely (e.g. scripts/crop.lua and scripts/encode.lua) but that's it. Just copy whichever scripts you're interested in to your scripts/ directory (see here for installation instructions).

demo

Bindings

None of these scripts come with default bindings. Instead, you should set your own in input.conf, see the example in this repo.

crop.lua

Crop the current video in a visual manner.

UX largely inspired by this script, code is original. The main difference is that this script supports recursively cropping and is aware of some properties like pan or zoom, there are other subtleties.

Press the binding to enter crop mode. Click once to define the first corner of the cropped zone, click a second time to define the second corner.

Note that hardware decoding is in general not compatible with filters, and will therefore not work with this script.

encode.lua

You need ffmpeg in your PATH (or in the same folder as mpv) for this script to work.

Make an extract of the video currently playing using ffmpeg.

Press the configured binding to set the beginning of the extract. Then, press ENTER to set the end and start encoding.

By default, the script creates a webm compatible with certain imageboards. You can create different profiles depending on the type of encode you want to create. In particular, you can change the codecs used, which tracks are active and the filters to apply.

See script-opts/encode_webm.conf for the default options and a description of them. script-opts/encode_slice.conf contains another example profile.

seek-to.lua

Seek to an absolute position in the current video by typing its timestamp.

Toggle with whatever binding you chose. Move the current cursor position with and , Change the number currently selected with the number keys (duh). Press Enter to seek to the entered position. Holds an internal history for timestamps that have been previously navigated, accessible with and .

blacklist-extensions.lua

Automatically remove playlist entries by extension according to a black/whitelist. Useful when opening directories with mpv.

The script doesn't do anything by default, you need to copy script-opts/blacklist_extensions.conf and modify it to your liking.

blur-edges.lua

Fills the black bars on the side of a video with a blurred copy of its edges.

The script defines a toggle-blur command that you can bind.
It can be configured via script-opts/blur_edges.conf.

misc.lua

Some commands that are too simple to warrant their own script. Have a look at the source in case you're curious.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].