https://github.com/CounterPillow/mpv-quack
mpv script for temporarily reducing audio volume after seeking
https://github.com/CounterPillow/mpv-quack
garbage lua mpv mpv-script
Last synced: 9 months ago
JSON representation
mpv script for temporarily reducing audio volume after seeking
- Host: GitHub
- URL: https://github.com/CounterPillow/mpv-quack
- Owner: CounterPillow
- License: gpl-3.0
- Created: 2020-05-26T20:07:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T22:30:48.000Z (almost 6 years ago)
- Last Synced: 2025-05-05T05:35:18.057Z (11 months ago)
- Topics: garbage, lua, mpv, mpv-script
- Language: Lua
- Size: 13.7 KB
- Stars: 17
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - quack - Reduces audio volume temporarily after seeking. (Playback)
README
quack
=====
quack is an mpv script to temporarily reduce the volume after a seek, in order to lessen the effect
of any dramatic Hollywood audio mixing (read: ear damage) when scrubbing through a movie.
The volume is linearly increased back up to its original level. Repeated seeks before the
transition is done work as well.
Installation
------------
Drop `quack.lua` into your scripts directory.
Configuration
-------------
There are two options which can be adjusted either by creating a `script-opts/quack.conf` with
`optionname=value` inside or by passing `--script-opts=quack-optionname=value` on the command line.
- `ducksecs`: Number of seconds that the effect should continue for (default: 2)
- `duckratio`: A value from 0.0 to 1.0 as a multiplier for how quiet the initial volume level
should be. For example, a value of `0.5` would start the reduced volume out at half the original
volume. (default: 0.5)
License
-------
GPLv3 because I can. See the file `LICENSE` for the full license text, which is larger than the
code it covers.