This file contains hidden or 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
#include <SDL3/SDL.h> | |
#include <SDL3/SDL_render.h> | |
int main(int argc, char* argv[]) { | |
if (SDL_Init(SDL_INIT_VIDEO) < 0) { | |
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Could not initialize SDL: %s", SDL_GetError()); | |
return 3; | |
} | |
SDL_Window* window = SDL_CreateWindow( | |
"Translucent Window", |
This file contains hidden or 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 | |
mnt="/tmp/serpent" | |
mkdir -p /tmp/serpent-tmp | |
mkdir -p /tmp/serpent/tmp | |
mkdir -p /tmp/serpent/dev | |
mkdir -p /tmp/serpent/proc | |
mkdir -p /tmp/serpent/sys | |
sudo mount -o remount,rw,suid /tmp |
This file contains hidden or 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
# vim: syntax=config | |
border = no | |
### Screen shots ### | |
screenshot-format=jxl | |
screenshot-directory=~/Pictures/mpv | |
screenshot-jxl-distance=1.0 | |
screenshot-tag-colorspace=no | |
screenshot-high-bit-depth=yes | |
screenshot-jxl-effort=7 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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> |
NewerOlder