From b91613a8a76f2b201bc4b82df032f4904cebed7f Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 23 Oct 2014 19:16:29 +0100 Subject: Add screencasting example --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README') diff --git a/README b/README index 716d84f..9342bf1 100644 --- a/README +++ b/README @@ -128,6 +128,19 @@ On the receiver side (the server): Now on the client run the following: ssh -o ProxyCommand="nc %h 1234" user@localhost +Screencasting using ffmpeg and mplayer +-------------------------------------- + +On the sender side: +ffmpeg -f x11grab -r 10 -s 1366x768 -i :0.0 -vcodec libx264 \ + -pix_fmt yuv420p -preset fast -tune zerolatency -b:v 500k \ + -f flv pipe: > file_in + +On the receiver side: +mplayer -cache 1024 file_out + +You may have to play about with the cache size. + Portability =========== -- cgit v1.2.3