| OLD | NEW |
| 1 @chapter Input Devices | 1 @chapter Input Devices |
| 2 @c man begin INPUT DEVICES | 2 @c man begin INPUT DEVICES |
| 3 | 3 |
| 4 Input devices are configured elements in FFmpeg which allow to access | 4 Input devices are configured elements in FFmpeg which allow to access |
| 5 the data coming from a multimedia device attached to your system. | 5 the data coming from a multimedia device attached to your system. |
| 6 | 6 |
| 7 When you configure your FFmpeg build, all the supported input devices | 7 When you configure your FFmpeg build, all the supported input devices |
| 8 are enabled by default. You can list all available ones using the | 8 are enabled by default. You can list all available ones using the |
| 9 configure option "--list-indevs". | 9 configure option "--list-indevs". |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ffplay -f video4linux2 /dev/video0 | 160 ffplay -f video4linux2 /dev/video0 |
| 161 | 161 |
| 162 # Grab and record the input of a video4linux2 device, autoadjust size. | 162 # Grab and record the input of a video4linux2 device, autoadjust size. |
| 163 ffmpeg -f video4linux2 -i /dev/video0 out.mpeg | 163 ffmpeg -f video4linux2 -i /dev/video0 out.mpeg |
| 164 @end example | 164 @end example |
| 165 | 165 |
| 166 @section vfwcap | 166 @section vfwcap |
| 167 | 167 |
| 168 VfW (Video for Windows) capture input device. | 168 VfW (Video for Windows) capture input device. |
| 169 | 169 |
| 170 The filename passed as input is the capture driver number, ranging from |
| 171 0 to 9. You may use "list" as filename to print a list of drivers. Any |
| 172 other filename will be interpreted as device number 0. |
| 173 |
| 170 @section x11grab | 174 @section x11grab |
| 171 | 175 |
| 172 X11 video input device. | 176 X11 video input device. |
| 173 | 177 |
| 174 This device allows to capture a region of an X11 display. | 178 This device allows to capture a region of an X11 display. |
| 175 | 179 |
| 176 The filename passed as input has the syntax: | 180 The filename passed as input has the syntax: |
| 177 @example | 181 @example |
| 178 [@var{hostname}]:@var{display_number}.@var{screen_number}[+@var{x_offset},@var{y
_offset}] | 182 [@var{hostname}]:@var{display_number}.@var{screen_number}[+@var{x_offset},@var{y
_offset}] |
| 179 @end example | 183 @end example |
| (...skipping 14 matching lines...) Expand all Loading... |
| 194 | 198 |
| 195 For example to grab from @file{:0.0} using @file{ffmpeg}: | 199 For example to grab from @file{:0.0} using @file{ffmpeg}: |
| 196 @example | 200 @example |
| 197 ffmpeg -f x11grab -r 25 -s cif -i :0.0 out.mpg | 201 ffmpeg -f x11grab -r 25 -s cif -i :0.0 out.mpg |
| 198 | 202 |
| 199 # Grab at position 10,20. | 203 # Grab at position 10,20. |
| 200 ffmpeg -f x11grab -25 -s cif -i :0.0+10,20 out.mpg | 204 ffmpeg -f x11grab -25 -s cif -i :0.0+10,20 out.mpg |
| 201 @end example | 205 @end example |
| 202 | 206 |
| 203 @c man end INPUT DEVICES | 207 @c man end INPUT DEVICES |
| OLD | NEW |