Changes between Version 13 and Version 14 of Capture/Webcam


Ignore:
Timestamp:
Apr 12, 2014, 5:51:14 PM (6 years ago)
Author:
thilo.borgmann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Webcam

    v13 v14  
    6666== Mac ==
    6767
    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.
     68Mac users can use the "qtkit" and "avfoundation" input devices for grabbing integrated iSight cameras as well as cameras connected via USB or !FireWire.
     69QTKit is available on Mac OS X 10.4 (Tiger) and later. QTKit has been marked depricated since OS X 10.7 (Lion) and may not be available anymore on future releases of OS X.
     70AVFoundation is available on Mac OS X 10.7 (Lion) and later. Since then, Apple recommends AVFoundation for stream grabbing on OS X and iOS devices.
    7071
    7172 
     
    102103}}}
    103104will use the device with the index 2 ignoring the default device in the second case.
     105
     106=== AVFoundation ===
     107
     108To list the supported capture devices, connected to the machine:
     109{{{
     110ffmpeg -f avfoundation -list_devices true -i ""
     111}}}
     112
     113To use the default device which is usually the first device in the listing the user can either use an empty name string or "default":
     114{{{
     115ffmpeg -f avfoundation -i "" out.mpg
     116}}}
     117or
     118{{{
     119ffmpeg -f avfoundation -i "default" out.mpg
     120}}}
     121
     122To 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.
     123Abbreviations using just the beginning of the device name are possible. Thus, to capture form a device named "Integrated iSight-camera":
     124{{{
     125ffmpeg -f avfoundation -i "Integrated" out.mpg
     126}}}
     127
     128To 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:
     129So
     130{{{
     131ffmpeg -f avfoundation -i "2" out.mpg
     132}}}
     133and
     134{{{
     135ffmpeg -f avfoundation -video_device_index 2 -i "default" out.mpg
     136}}}
     137will use the device with the index 2 ignoring the default device in the second case.