| 9 | | You can also possibly use the (now out dated) [[vfwcap]] device. |
| | 9 | Or you can also possibly use the (now out dated) '''[http://ffmpeg.org/ffmpeg.html#vfwcap vfwcap]''' input device, like this: |
| | 10 | |
| | 11 | To list the supported capture devices, connected to the machine: |
| | 12 | {{{ |
| | 13 | ffmpeg -y -f vfwcap -i list |
| | 14 | }}} |
| | 15 | |
| | 16 | That will give us the list like this: |
| | 17 | {{{ |
| | 18 | ... |
| | 19 | libavutil 50.36. 0 / 50.36. 0 |
| | 20 | libavcore 0.16. 1 / 0.16. 1 |
| | 21 | libavcodec 52.108. 0 / 52.108. 0 |
| | 22 | libavformat 52.93. 0 / 52.93. 0 |
| | 23 | libavdevice 52. 2. 3 / 52. 2. 3 |
| | 24 | libavfilter 1.74. 0 / 1.74. 0 |
| | 25 | libswscale 0.12. 0 / 0.12. 0 |
| | 26 | [vfwcap @ 01c6d150] Driver 0 |
| | 27 | [vfwcap @ 01c6d150] Microsoft WDM Image Capture (Win32) |
| | 28 | [vfwcap @ 01c6d150] Version: 5.1.2600.5512 |
| | 29 | list: Input/output error |
| | 30 | }}} |
| | 31 | |
| | 32 | So, we can try to grab something from our camera: |
| | 33 | {{{ |
| | 34 | ffmpeg -y -f vfwcap -r 25 -i 0 out.mp4 |
| | 35 | }}} |
| | 36 | |
| | 37 | Where "'''-i 0'''" is the index (zero based) in the list of present capture devices ("'''Driver 0'''"). |