summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-23 19:16:29 +0100
committersin <sin@2f30.org>2014-10-23 19:16:38 +0100
commitb91613a8a76f2b201bc4b82df032f4904cebed7f (patch)
tree2a0d5c4e4e45280247fec9e2f5794792183289a5 /README
parentd47343e3ca39dfcc5e66d3514722ad17e29b40d2 (diff)
Add screencasting example
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
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
===========