Skip to content

Instantly share code, notes, and snippets.

@robbeofficial
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save robbeofficial/ddc9e22fa38542286bfb to your computer and use it in GitHub Desktop.
Save robbeofficial/ddc9e22fa38542286bfb to your computer and use it in GitHub Desktop.
low latency screencast using ffmepg/mplayer

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