From bc63b1a348d1ad8c9fda434bae031573e35f33e0 Mon Sep 17 00:00:00 2001 From: arut Date: Fri, 6 Jul 2012 13:42:29 -0700 Subject: [PATCH] Updated Examples (markdown) --- Examples.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Examples.md b/Examples.md index a7592e8..1d4c5ee 100644 --- a/Examples.md +++ b/Examples.md @@ -1 +1,14 @@ -nginx.conf examples \ No newline at end of file +## Simple Video-on-Demand + + rtmp { + server { + listen 1935; + application vod { + play /var/flvs; + } + } + } + +## FFmpeg streaming your X screen through RTMP + + ffmpeg -f x11grab -follow_mouse centered -r 25 -s cif -i :0.0 -f flv rtmp://localhost/myapp/screen \ No newline at end of file