[FFmpeg-devel] iSight camera support

Vadim Kalinsky vadim at kalinsky.ru
Tue Oct 29 22:22:47 CET 2013


>>> linux:
>>> gcc: error trying to exec 'cc1obj': execvp: No such file or directory
>>> make: *** [libavdevice/isight.o] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> 
>>> mingw:
>>> x86_64-w64-mingw32-ar: libavdevice/isight.o: No such file or directory
>>> make: *** [libavdevice/libavdevice.a] Error 1
>>> 
>>> also please submit 1 patch per self contained feature, not 1 + fixes
>>> on top of it
>> 
>> 
>> Michael, it works only on OS X. The same way as v4l/alsa works only in Linux.
> 
> but v4l/alsa dont break build on windows
> note, above failures are from a ubuntu box unrelated to osx

I got you point. iSight was enabled by-default, even if QTKit is not available - that's the mistake.

AFAIK, there're two ways to disable it:
1. Make it "autodetectable" in configure script, i.e. check QTKit availability and conditionally disable it (like vp9 encoder):
enabled isight_indev && { check_header QTKit/QTKit.h || disable isight_indev; }

2. Make it disabled by-default, so users will have to explicitly enable it ("./configure --enable-isight").

What is the right way to do that?

Vadim













More information about the ffmpeg-devel mailing list