From 76d2efda6d52dd69e61ffda9fa6b222ef64a1a2a Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Wed, 13 Dec 2006 10:27:50 +0000
Subject: [PATCH] documentation for X11 grabbing

Originally committed as revision 7314 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 doc/ffmpeg-doc.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 6f42f33b80e..afa4d8880da 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -39,6 +39,17 @@ launching FFmpeg with any TV viewer such as xawtv
 have to set the audio recording levels correctly with a
 standard mixer.
 
+@section X11 grabbing
+
+FFmpeg can grab X11 display.
+
+@example
+ffmpeg -f x11grab -vd x11:0.0 /tmp/out.mpg
+@end example
+
+0.0 is display.screen numbers of your X11 server.
+You can check $DISPLAY variable.
+
 @section Video and Audio file format conversion
 
 * FFmpeg can use any supported file format and protocol as input:
-- 
GitLab