Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
961f2e3a
Commit
961f2e3a
authored
Jan 28, 2015
by
Lou Logan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/indevs: add some XCB info to x11grab
Signed-off-by:
Lou Logan
<
lou@lrcd.com
>
parent
ccccfb59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
indevs.texi
doc/indevs.texi
+17
-6
No files found.
doc/indevs.texi
View file @
961f2e3a
...
@@ -975,8 +975,12 @@ other filename will be interpreted as device number 0.
...
@@ -975,8 +975,12 @@ other filename will be interpreted as device number 0.
X11 video input device.
X11 video input device.
Depends on X11, Xext, and Xfixes. Requires the configure option
To enable this input device during configuration you need libxcb
@code{--enable-x11grab}.
installed on your system. It will be automatically detected during
configuration.
Alternatively, the configure option @option{--enable-x11grab} exists
for legacy Xlib users.
This device allows one to capture a region of an X11 display.
This device allows one to capture a region of an X11 display.
...
@@ -994,10 +998,12 @@ omitted, and defaults to "localhost". The environment variable
...
@@ -994,10 +998,12 @@ omitted, and defaults to "localhost". The environment variable
area with respect to the top-left border of the X11 screen. They
area with respect to the top-left border of the X11 screen. They
default to 0.
default to 0.
Check the X11 documentation (e.g. man X) for more detailed information.
Check the X11 documentation (e.g. @command{man X}) for more detailed
information.
Use the @command{dpyinfo} program for getting basic information about the
Use the @command{xdpyinfo} program for getting basic information about
properties of your X11 display (e.g. grep for "name" or "dimensions").
the properties of your X11 display (e.g. grep for "name" or
"dimensions").
For example to grab from @file{:0.0} using @command{ffmpeg}:
For example to grab from @file{:0.0} using @command{ffmpeg}:
@example
@example
...
@@ -1046,6 +1052,10 @@ If @var{show_region} is specified with @code{1}, then the grabbing
...
@@ -1046,6 +1052,10 @@ If @var{show_region} is specified with @code{1}, then the grabbing
region will be indicated on screen. With this option, it is easy to
region will be indicated on screen. With this option, it is easy to
know what is being grabbed if only a portion of the screen is grabbed.
know what is being grabbed if only a portion of the screen is grabbed.
@item region_border
Set the region border thickness if @option{-show_region 1} is used.
Range is 1 to 128 and default is 3 (XCB-based x11grab only).
For example:
For example:
@example
@example
ffmpeg -f x11grab -show_region 1 -framerate 25 -video_size cif -i :0.0+10,20 out.mpg
ffmpeg -f x11grab -show_region 1 -framerate 25 -video_size cif -i :0.0+10,20 out.mpg
...
@@ -1061,7 +1071,8 @@ Set the video frame size. Default value is @code{vga}.
...
@@ -1061,7 +1071,8 @@ Set the video frame size. Default value is @code{vga}.
@item use_shm
@item use_shm
Use the MIT-SHM extension for shared memory. Default value is @code{1}.
Use the MIT-SHM extension for shared memory. Default value is @code{1}.
It may be necessary to disable it for remote displays.
It may be necessary to disable it for remote displays (legacy x11grab
only).
@end table
@end table
@section decklink
@section decklink
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment