Skip to content

Instantly share code, notes, and snippets.

View jthomaschewski's full-sized avatar

Janek Thomaschewski jthomaschewski

View GitHub Profile
@jthomaschewski
jthomaschewski / stream_sound_linux_to_windows_pipewire.md
Last active September 23, 2024 22:21 — forked from Fusl/gist:3a708b8c32c9d5264fa0
Streaming audio output from Linux (Pulseaudio/Pipewire) to Windows (ffmpeg 7)

Windows (receiver) side:

ffplay.exe -nodisp -acodec pcm_s16le -ar 48000 -flags low_delay -fflags nobuffer -framedrop -analyzeduration 0 -probesize 32 -max_delay 0 -f s16le -ch_layout '2 channels' -i udp://0.0.0.0:18181?listen=1

Linux (transmitter) side:

pactl load-module module-null-sink sink_name=remote

@jthomaschewski
jthomaschewski / Makefile
Created April 3, 2018 19:19 — forked from t-8ch/Makefile
minimal mutter application with window management
CFLAGS=$(shell pkg-config --cflags libmutter-2) -Wl,-rpath,/usr/lib/mutter
LDLIBS=$(shell pkg-config --libs libmutter-2)
all: main