[FFmpeg-devel] iSight camera support

Thilo Borgmann thilo.borgmann at mail.de
Mon Mar 24 13:55:20 CET 2014


Am 24.03.14 12:52, schrieb Lukasz Marek:
> On 24 March 2014 10:55, Thilo Borgmann <thilo.borgmann at mail.de> wrote:
> 
>> Am 24.03.14 02:40, schrieb Michael Niedermayer:
>>> On Sun, Mar 16, 2014 at 01:08:28PM +0100, Thilo Borgmann wrote:
>>> Am 16.03.14 00:19, schrieb Peter Ross:
>>>>>> On Sat, Mar 15, 2014 at 07:34:47PM +0100, Thilo Borgmann wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> Am 31.10.13 09:02, schrieb Stefano Sabatini:
>>>>>>>> On date Tuesday 2013-10-29 22:53:11 -0400, Vadim Kalinsky encoded:
>>>>>>>>>
>>>>>>>
>>>>>>> tested and improved with Stefano's latest remarks, except...
>>>>>>>
>>>>>>
>>>>>> isight is the name given to the camera bundled with most mac
>> computers. can
>>>>>> the qtkit framework access other capture devices? if this is the
>> case, i
>>>>>> suggest using qtkit for AVInputFormat.name and --enable-qtkit in
>>>>>> configure.
>>>
>>> Indeed it can. Renamed accordingly.
>>>
>>>>>> here is some more review inline.
>>>
>>> Thanks, updated patch attached.
>>>
>>> -Thilo
>>>
>>>
>>>>  MAINTAINERS              |    1
>>>>  common.mak               |    3
>>>>  configure                |    4
>>>>  doc/indevs.texi          |   10 +
>>>>  libavdevice/Makefile     |    1
>>>>  libavdevice/alldevices.c |    1
>>>>  libavdevice/qtkit.m      |  306
>> +++++++++++++++++++++++++++++++++++++++++++++++
>>>>  7 files changed, 326 insertions(+)
>>>> 1130ac778b975c6ffae28acfc01265ceac8c6f10
>>  0001-lavd-Add-QTKit-input-device.patch
>>>> From fb73d0f372551f8433c8b0390a6c914e2a520196 Mon Sep 17 00:00:00 2001
>>>> From: Vadim Kalinsky <vadim at kalinsky.ru>
>>>> Date: Sun, 16 Mar 2014 13:04:06 +0100
>>>> Subject: [PATCH] lavd: Add QTKit input device.
>>>>
>>>> Signed-off-by: Thilo Borgmann <thilo.borgmann at mail.de>
>>>> ---
>>>>  MAINTAINERS              |   1 +
>>>>  common.mak               |   3 +
>>>>  configure                |   4 +
>>>>  doc/indevs.texi          |  10 ++
>>>>  libavdevice/Makefile     |   1 +
>>>>  libavdevice/alldevices.c |   1 +
>>>>  libavdevice/qtkit.m      | 306
>> +++++++++++++++++++++++++++++++++++++++++++++++
>>>>  7 files changed, 326 insertions(+)
>>>>  create mode 100644 libavdevice/qtkit.m
>>>
>>> missing changelog entry otherwise
>>>
>>> should be ok
>>
>> Updated patch attached. Thanks.
>>
> 
> you can add AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT category to qtkit_class
> It will make iterators to return this device too.

I scheduled iterating for devices and let the user select a device later. For
the time being, choosing the first device should be sufficient.

-Thilo



More information about the ffmpeg-devel mailing list