fix x11grab example in e.g. the manpage so that they actually work
authorReinhard Tartler <siretart@tauware.de>
Mon, 13 Sep 2010 13:25:51 +0000 (13:25 +0000)
committerReinhard Tartler <siretart@tauware.de>
Mon, 13 Sep 2010 13:25:51 +0000 (13:25 +0000)
Originally committed as revision 25113 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/ffmpeg-doc.texi

index 71bed9b..d9c5c14 100644 (file)
@@ -817,14 +817,14 @@ standard mixer.
 FFmpeg can grab the X11 display.
 
 @example
-ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg
+ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg
 @end example
 
 0.0 is display.screen number of your X11 server, same as
 the DISPLAY environment variable.
 
 @example
-ffmpeg -f x11grab -s cif -i :0.0+10,20 /tmp/out.mpg
+ffmpeg -f x11grab -s cif -r 25 -i :0.0+10,20 /tmp/out.mpg
 @end example
 
 0.0 is display.screen number of your X11 server, same as the DISPLAY environment