mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
0e4e351b83
Provides the following elements: qtkitvideosrc: OS X video source relying on the QTKit API. Comes with hard-coded caps as the API does not provide any way of querying for formats supported by the hardware. Hasn't been tested a lot, but seems to work. miovideosrc: OS X video source which uses the undocumented/private CoreMediaIOServices API, which is also the one used by iChat. Present on latest version of Leopard and all versions of Snow Leopard. Has been tested extensively with built-in cameras and TANDBERG's PrecisionHD USB camera. vtenc, vtdec: Generic codec wrappers which make use of the undocumented/ private VideoToolbox API on OS X and iOS. List of codecs are currently hard-coded to H.264 for vtenc, and H.264 + JPEG for vtdec. Can easily be expanded by adding new entries to the lists, but haven't yet had time to do that. Should probably also implement probing as available codecs depend on the OS and its version, and there doesn't seem to be any way to enumerate the available codecs. vth264decbin, vth264encbin: Wrapper bins to make it easier to use vtdec_h264/vtenc_h264 in live scenarios. iphonecamerasrc: iPhone camera source relying on the undocumented/private Celestial API. Tested on iOS 3.1 running on an iPhone 3GS. Stops working after a few minutes, presumably because of a resource leak. Needs some love. Note that the iOS parts haven't yet been ported to iOS 4.x.
85 lines
1.6 KiB
Makefile
85 lines
1.6 KiB
Makefile
plugin_LTLIBRARIES = libgstapplemedia.la
|
|
|
|
libgstapplemedia_la_SOURCES = \
|
|
plugin.m \
|
|
vth264decbin.c \
|
|
vth264encbin.c \
|
|
vtenc.c \
|
|
vtdec.c \
|
|
vtutil.c \
|
|
corevideobuffer.c \
|
|
coremediabuffer.c \
|
|
coremediactx.c \
|
|
cvapi.c \
|
|
cmapi.c \
|
|
vtapi.c \
|
|
dynapi.c
|
|
|
|
libgstapplemedia_la_CFLAGS = \
|
|
$(GST_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
libgstapplemedia_la_OBJCFLAGS = \
|
|
$(GST_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
libgstapplemedia_la_LIBADD = \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstinterfaces-$(GST_MAJORMINOR) \
|
|
-lgstvideo-$(GST_MAJORMINOR)
|
|
|
|
libgstapplemedia_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
libgstapplemedia_la_LDFLAGS = \
|
|
$(GST_PLUGIN_LDFLAGS) \
|
|
$(GST_BASE_LDFLAGS) \
|
|
$(GST_PLUGINS_BASE_LDFLAGS) \
|
|
-Wl,-framework -Wl,CoreFoundation
|
|
|
|
noinst_HEADERS = \
|
|
qtkitvideosrc.h \
|
|
miovideosrc.h \
|
|
miovideodevice.h \
|
|
iphonecamerasrc.h \
|
|
vth264decbin.h \
|
|
vth264encbin.h \
|
|
vtenc.h \
|
|
vtdec.h \
|
|
vtutil.h \
|
|
corevideobuffer.h \
|
|
coremediabuffer.h \
|
|
coremediactx.h \
|
|
cvapi.h \
|
|
cmapi.h \
|
|
mioapi.h \
|
|
mtapi.h \
|
|
celapi.h \
|
|
vtapi.h \
|
|
dynapi.h \
|
|
dynapi-internal.h
|
|
|
|
if HAVE_IOS
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
iphonecamerasrc.c \
|
|
mtapi.c \
|
|
celapi.c
|
|
|
|
else
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
qtkitvideosrc.m \
|
|
miovideosrc.c \
|
|
miovideodevice.c \
|
|
mioapi.c
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
-Wl,-framework -Wl,Cocoa \
|
|
-Wl,-framework -Wl,CoreVideo \
|
|
-Wl,-framework -Wl,QTKit
|
|
|
|
endif
|
|
|