| | 65 | |
| | 66 | == Mac == |
| | 67 | |
| | 68 | Mac users can use the "qtkit" input device for grabbing integrated iSight cameras as well as cameras connected via USB or !FireWire. |
| | 69 | QTKit is available on Mac OS X 10.4 (Tiger) and later. |
| | 70 | |
| | 71 | |
| | 72 | === QTKit === |
| | 73 | |
| | 74 | To list the supported capture devices, connected to the machine: |
| | 75 | {{{ |
| | 76 | ffmpeg -f qtkit -list_devices true -i "" |
| | 77 | }}} |
| | 78 | |
| | 79 | To use the default device which is usually the first device in the listing the user can either use an empty name string or "default": |
| | 80 | {{{ |
| | 81 | ffmpeg -f qtkit -i "" out.mpg |
| | 82 | }}} |
| | 83 | or |
| | 84 | {{{ |
| | 85 | ffmpeg -f qtkit -i "default" out.mpg |
| | 86 | }}} |
| | 87 | |
| | 88 | To use one of these devices for capturing the user has to specifiy either the name of the device or the index shown in the device listing. |
| | 89 | Abbreviations using just the beginning of the device name are possible. Thus, to capture form a device named "Integrated iSight-camera": |
| | 90 | {{{ |
| | 91 | ffmpeg -f qtkit -i "Integrated" out.mpg |
| | 92 | }}} |
| | 93 | |
| | 94 | To use the device's index provide the index either as the input or use the -video_device_index option that will override any given input name: |
| | 95 | So |
| | 96 | {{{ |
| | 97 | ffmpeg -f qtkit -i "2" out.mpg |
| | 98 | }}} |
| | 99 | and |
| | 100 | {{{ |
| | 101 | ffmpeg -f qtkit -video_device_index 2 -i "default" out.mpg |
| | 102 | }}} |
| | 103 | will use the device with the index 2 ignoring the default device in the second case. |