Skip to content

Instantly share code, notes, and snippets.

@pachacamac
Forked from robbeofficial/gist:ddc9e22fa38542286bfb
Last active August 29, 2015 14:16
Show Gist options
  • Save pachacamac/e2a3cb432c23986d358d to your computer and use it in GitHub Desktop.
Save pachacamac/e2a3cb432c23986d358d to your computer and use it in GitHub Desktop.

server

avconv -f x11grab -r 25 -s 1920x1200 -i :0.0 -vcodec libx264 -tune zerolatency -f mpegts udp://127.0.0.1:1234

client

mplayer -benchmark udp://127.0.0.1:1234

notes

  • strange artefacts with mplayer2 and avplay
  • latency is about 200ms on loopback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment