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
#!/usr/bin/python3 | |
import re | |
import signal | |
import dbus | |
from gi.repository import GLib | |
from dbus.mainloop.glib import DBusGMainLoop | |
import gi | |
gi.require_version('Gst', '1.0') |
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
# Default config for sway | |
# | |
# Copy this to ~/.config/sway/config and edit it to your liking. | |
# | |
# Read `man 5 sway` for a complete reference. | |
### Variables | |
# | |
# Logo key. Use Mod1 for Alt. | |
set $mod Mod4 |
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
mkfifo /tmp/gfifo | |
./xdp-screen-cast-ffmpeg.py & # or run in another terminal | |
# Note the gstreamer pipeline | |
# 'pipewiresrc fd=%d path=%u ! videorate ! video/x-raw,framerate=60/1 ! videoconvert ! filesink location=/tmp/gfifo' | |
# I specified a 60/1 frameerate. You can do other pre-processing here, or offload it to ffmpeg. | |
# Encode the stream and pipe to netcat | |
# note: must specify correct resolution here | |
# we can now use h264_nvenc, mpegts, and anything else ffmpeg has |
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
<?xml version="1.0"?> | |
<olive version="230220"> | |
<nodes version="1"> | |
<node version="1" id="org.olivevideoeditor.Olive.shader" ptr="2641025001424"> | |
<label>unnamed</label> | |
<input id="enabled_in"> | |
<primary> | |
<keyframing>0</keyframing> | |
<standard> | |
<track>true</track> |
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
[binaries] | |
c = '/usr/bin/clang' | |
cpp = '/usr/bin/clang++' | |
cld = '/usr/bin/ld64' | |
cppldd = '/usr/bin/ld64' | |
ar = '/usr/bin/ar' | |
strip = '/usr/bin/strip' | |
[properties] | |
skip_sanity_check = true |
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/bash | |
tonemapping=( | |
bt.2390 | |
bt.2446a | |
st2094-40 | |
st2094-10 | |
hable | |
mobius | |
reinhard |
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
<?xml version="1.0"?> | |
<olive version="230220"> | |
<nodes version="1"> | |
<node version="1" id="org.olivevideoeditor.Olive.displaytransform" ptr="1991839047088"> | |
<input id="enabled_in"> | |
<primary> | |
<keyframing>0</keyframing> | |
<standard> | |
<track>true</track> | |
</standard> |
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/bash | |
## take two inputs, filter one, stack filtered and second input, put unfiltered input at tope | |
mpv video.mp4 --lavfi-complex="[vid1] split [v1] [v3], [v3] eq=brightness=-0.1 [v3], [v3] [vid2] hstack [bot], [v1] pad=width=iw*2:x=(ow-iw)/2 [top], [top] [bot] vstack [vo]" --external-file= |
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
<?xml version="1.0"?> | |
<olive version="230220"> | |
<nodes version="1"> | |
<node version="1" id="org.olivevideoeditor.Olive.shader" ptr="94848584989760"> | |
<label>bloom</label> | |
<input id="enabled_in"> | |
<primary> | |
<keyframing>0</keyframing> | |
<standard> | |
<track>true</track> |
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
#s cycle tone-mapping | |
#A cycle target-trc | |
#a cycle target-prim | |
## These kinda suck to actually use without macro pad | |
Ctrl+! set vid 1 | |
Ctrl+@ set vid 2 | |
Ctrl+# set vid 3 | |
Ctrl+$ set vid 4 | |
F1 set vid 1 |
NewerOlder