This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
mpv 5-bands equalizer with visual feedback. | |
Copyright 2016 Avi Halachmi ( https://github.com/avih ) | |
License: public domain | |
Default config: | |
- Enter/exit equilizer keys mode: ctrl+e | |
- Equalizer keys: 2/w control bass ... 6/y control treble, and middles in between | |
- Toggle equalizer without changing its values: ctrl+E (ctrl+shift+e) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ ************************************************************* | |
* Context menu for mpv using Tcl/Tk. Mostly proof of concept. | |
* Avi Halachmi (:avih) https://github.com/avih | |
* | |
* Features: | |
* - Simple construction: ["<some text>", "<mpv-command>"] is a complete menu item. | |
* - Possibly dynamic menu items and commands, disabled items, separators. | |
* - Possibly keeping the menu open after clicking an item (via re-launch). | |
* - Hacky pseudo sub menus. Really, this is an ugly hack. | |
* - Reasonably well behaved/integrated considering it's an external application. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************** | |
autoloop.js - mpv script which reads and play a custom playlist file in | |
a loop. Images are displayed for a specified duration and other clips are | |
played normally. | |
mpv should be invoked as: `mpv --script=path/to/autoloop.js --idle` | |
The info file should consist of lines where each line is: | |
<length> <clip-path> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 7297871b882483e748946cb7156244be2da9e752 Mon Sep 17 00:00:00 2001 | |
From: "Avi Halachmi (:avih)" <[email protected]> | |
Date: Thu, 30 Aug 2018 16:24:24 +0300 | |
Subject: [PATCH 1/4] mujs shell: Add compile function. | |
The new compile function compiles a source code string as a script and | |
returns a callable object. The optional 'filename' argument is used to | |
format error messages and stack traces. | |
--- | |
main.c | 10 ++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.007][v][cplayer] mpv 0.33.0-141-g8edfe70b83 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects | |
[ 0.008][v][cplayer] built on Fri May 7 22:40:19 IDT 2021 | |
[ 0.008][v][cplayer] FFmpeg library versions: | |
[ 0.008][v][cplayer] libavutil 57.0.100 | |
[ 0.008][v][cplayer] libavcodec 59.0.100 | |
[ 0.008][v][cplayer] libavformat 59.0.100 | |
[ 0.008][v][cplayer] libswscale 6.0.100 | |
[ 0.008][v][cplayer] libavfilter 8.0.101 | |
[ 0.008][v][cplayer] libswresample 4.0.100 | |
[ 0.008][v][cplayer] FFmpeg version: git-2021-05-01-c7c138e4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[ "${COSMOXX-}" ] && set -x || : | |
# name: cosmocc | |
# self-contained replacement for the cc command which uses cosmopolitan libc | |
# see https://justine.lol/cosmopolitan/index.html | |
# home: https://gist.github.com/avih/467b307051bf01bc9c8475221a59513d | |
# based on: https://github.com/jart/cosmopolitan/blob/master/tool/scripts/cosmocc | |
# requires: gcc or clang installed | |
# |