Skip to content

Instantly share code, notes, and snippets.

@rasmusmerzin
Last active August 15, 2022 19:41
Show Gist options
  • Save rasmusmerzin/bf7e5098ec14d5e83e51d3595f883b63 to your computer and use it in GitHub Desktop.
Save rasmusmerzin/bf7e5098ec14d5e83e51d3595f883b63 to your computer and use it in GitHub Desktop.

Given

Port: 18181
Receiver address: 192.168.1.111

Sender

ffmpeg -f pulse -i remote.monitor -ac 2 -acodec pcm_u8 -ar 48000 -f u8 udp://192.168.1.111:18181

Receiver

ffplay -nodisp -ac 2 -acodec pcm_u8 -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:18181?listen=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment