Skip to content

Instantly share code, notes, and snippets.

View solsticedhiver's full-sized avatar

solsTiCe d'Hiver solsticedhiver

View GitHub Profile
@Fusl
Fusl / gist:3a708b8c32c9d5264fa0
Last active October 27, 2024 11:19
Streaming audio output from Linux (Pulseaudio) to Windows
# Windows (receiver) side:
.\ffplay.exe -nodisp -ac 2 -acodec pcm_u8 -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:18181?listen=1
# Linux (transmitter) side:
pactl load-module module-null-sink sink_name=remote
ffmpeg -f pulse -i "remote.monitor" -ac 2 -acodec pcm_u8 -ar 48000 -f u8 "udp://RECEIVER:18181"
pavucontrol # Change the default output to the Null sink or move single applications to this "output" device.