[FFmpeg-devel] [PATCH] doc/indevs: document missing options in x11grab section

Stefano Sabatini stefasab at gmail.com
Wed Aug 8 11:22:21 CEST 2012


Add documentation for options draw_mouse, framerate, and video_size.

In particular, fix trac ticket #1314.
---
 doc/indevs.texi |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/doc/indevs.texi b/doc/indevs.texi
index a9f2fe4..701db91 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -640,6 +640,9 @@ ffmpeg -f x11grab -r 25 -s cif -i :0.0+10,20 out.mpg
 @subsection Options
 
 @table @option
+ at item draw_mouse
+When set to 1, draw the mouse pointer. Default value is @code{1}.
+
 @item follow_mouse
 Make the grabbed area follow the mouse. The argument can be
 @code{centered} or a number of pixels @var{PIXELS}.
@@ -659,6 +662,10 @@ To follow only when the mouse pointer reaches within 100 pixels to edge:
 ffmpeg -f x11grab -follow_mouse 100 -r 25 -s cif -i :0.0 out.mpg
 @end example
 
+ at item framerate
+Set the grabbing frame rate. Default value is @code{ntsc},
+corresponding to a framerate of 30000/1001.
+
 @item show_region
 Show grabbed region on screen.
 
@@ -675,6 +682,9 @@ With @var{follow_mouse}:
 @example
 ffmpeg -f x11grab -follow_mouse centered -show_region 1 -r 25 -s cif -i :0.0 out.mpg
 @end example
+
+ at item video_size
+Set the video frame size. Default value is @code{vga}.
 @end table
 
 @c man end INPUT DEVICES
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list