diff options
author | Yu-Jie Lin <livibetter@gmail.com> | 2011-07-30 19:13:43 +0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-31 14:26:08 +0200 |
commit | 1442d295337dfc83fb66b20444c1b09a803ebb80 (patch) | |
tree | 187cf147fca63957498d0f84d6a6ffe04ec7d9f4 /doc/ffmpeg.texi | |
parent | 085791a92e239875fed560c34db87e98083f4092 (diff) | |
download | ffmpeg-1442d295337dfc83fb66b20444c1b09a803ebb80.tar.gz |
x11grab: add show_region AVOption.
Draw the current grabbing region for indication.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r-- | doc/ffmpeg.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 8d3968dbf2..f3a4689d6c 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -916,6 +916,19 @@ ffmpeg -f x11grab -follow_mouse 100 -s cif -r 25 -i :0.0 /tmp/out.mpg Only follows when mouse pointer reaches within 100 pixels to the edge of region. +@example +ffmpeg -f x11grab -show_region 1 -s cif -r 25 -i :0.0+10,20 /tmp/out.mpg +@end example + +The grabbing region will be indicated on screen. + +@example +ffmpeg -f x11grab -follow_mouse centered -show_region 1 -s cif -r 25 -i :0.0 /tmp/out.mpg +@end example + +The grabbing region indication will follow the mouse pointer. + + @section Video and Audio file format conversion Any supported file format and protocol can serve as input to ffmpeg: |