(-1).
</p>
</dd>
<dt>&lsquo;<samp>camera_index</samp>&rsquo;</dt>
<dd><p>Set the index of the camera to use. Default is 0.
</p>
</dd>
<dt>&lsquo;<samp>input_queue_size</samp>&rsquo;</dt>
<dd><p>Set the maximum number of frames to buffer. Default is 5.
</p>
</dd>
</dl>

<a name="avfoundation"></a>
<h2 class="section"><a href="ffmpeg-devices.html#toc-avfoundation">3.3 avfoundation</a></h2>

<p>AVFoundation input device.
</p>
<p>AVFoundation is the currently recommended framework by Apple for streamgrabbing on