Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:14:08 +0000 (15:14 +0100)]
celvideosrc: update to new Celestial and MediaToolbox APIs
This means celvideosrc is no longer compatible with iOS 3.x.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:56 +0000 (15:08 +0100)]
celvideosrc: fix debug category description
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:02 +0000 (15:08 +0100)]
celapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:07:38 +0000 (15:07 +0100)]
mtapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
Sebastian Dröge [Fri, 5 Nov 2010 09:56:51 +0000 (10:56 +0100)]
colorspace: Update generated ORC sources
Thiago Santos [Thu, 26 Aug 2010 20:08:19 +0000 (17:08 -0300)]
camerabin: Adds 'idle' property
Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.
Lasse Laukkanen [Wed, 5 May 2010 10:58:07 +0000 (13:58 +0300)]
camerabin: Add "ready-for-capture" property
Add "ready-for-capture" property to indicate if preparing a new
capture is possible.
"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.
Tim-Philipp Müller [Fri, 5 Nov 2010 00:32:35 +0000 (00:32 +0000)]
configure: don't even check for Gtk+ if --disable-examples is specified
There are Gtk+-based examples in plugin dirs and tests/icles/ too, and
we want to disable those as well then.
Tim-Philipp Müller [Fri, 5 Nov 2010 00:24:31 +0000 (00:24 +0000)]
configure: add --with-gtk option and default to Gtk+ 2.0 while the 3.0 API is still in flux
https://bugzilla.gnome.org/show_bug.cgi?id=634014
Tim-Philipp Müller [Wed, 3 Nov 2010 00:04:27 +0000 (00:04 +0000)]
tests: add very simple zbar unit test
Not valgrind clean yet (could be zbar's fault though).
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:25:24 +0000 (19:25 +0100)]
applemedia: make video source element details consistent
Inspired by the v4l2src element details.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:11:04 +0000 (19:11 +0100)]
applemedia: consistently use gst_element_class_set_details_simple
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:02:50 +0000 (19:02 +0100)]
celvideosrc: update e-mail address
Ole André Vadla Ravnås [Thu, 4 Nov 2010 17:59:44 +0000 (18:59 +0100)]
applemedia: rename iphonecamerasrc to celvideosrc
This is in order to improve consistency with the other three sources.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:58:36 +0000 (17:58 +0100)]
avfvideosrc: don't explicitly empty the buffer queue
We're holding the only reference to it so there's no need to explicitly
empty it right before letting go of our reference.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:50:33 +0000 (17:50 +0100)]
avfvideosrc: make buffer offset start from zero
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:47:25 +0000 (17:47 +0100)]
qtkitvideosrc: implement zero-copy by using buffer-factory
This means we'll wrap each CoreVideo buffer inside a GstBuffer instead of
making a copy.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:44:12 +0000 (17:44 +0100)]
bufferfactory: add support for wrapping CVBuffer
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:24:03 +0000 (17:24 +0100)]
qtkitvideosrc: fix up refcounting
Should keep a strong reference to the device, but we don't need to manage
the reference count of elements of an NSMutableArray as it takes care of
that for us.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:16:05 +0000 (17:16 +0100)]
qtkitvideosrc: simplify timestamping algorithm
Aligning timestamps on duration boundaries, skipping frames and so forth
are clearly things that fall outside the scope of a video source.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:14:09 +0000 (14:14 +0100)]
applemedia: add new iOS video source based on AVFoundation
This element makes use of the documented AVFoundation framework made
available starting with iOS 4.0, and hence this means we can finally
capture video using a public API.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:24:36 +0000 (14:24 +0100)]
applemedia: fix stream-format caps used for H.264
The stream-format's "avc-sample" member is now called just "avc".
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:29:37 +0000 (14:29 +0100)]
applemedia: update e-mail addresses
Sebastian Dröge [Thu, 4 Nov 2010 13:18:29 +0000 (14:18 +0100)]
colorspace: Inverse -base version check logic to actually make sense
Olivier Crête [Wed, 3 Nov 2010 22:34:28 +0000 (18:34 -0400)]
pcapparse: Add support for Linux Cooked Capture (SLL) frames
Olivier Crête [Wed, 3 Nov 2010 22:23:27 +0000 (18:23 -0400)]
pcapparse: Fail on unknown version or linktype
The element only knows about major version 2 and only decodes linktype ethernet
Olivier Crête [Wed, 3 Nov 2010 22:02:49 +0000 (18:02 -0400)]
pcapparse: Send error GstMessage if stream doesn't have the expected magic
Andoni Morales Alastruey [Wed, 3 Nov 2010 15:16:24 +0000 (16:16 +0100)]
mpegtsparse: send TDT tables messages in a serialized event downstream
https://bugzilla.gnome.org/show_bug.cgi?id=633917
Sebastian Dröge [Wed, 3 Nov 2010 14:37:48 +0000 (15:37 +0100)]
colorspace: Add support for IYU1
Sebastian Dröge [Wed, 3 Nov 2010 14:12:42 +0000 (15:12 +0100)]
colorspace: First version of YUV9 and YVU9 implementation
Sebastian Dröge [Wed, 3 Nov 2010 08:20:15 +0000 (09:20 +0100)]
colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks
Thijs Vermeir [Mon, 18 Oct 2010 13:32:14 +0000 (15:32 +0200)]
mpegvideoparse: fix timestamp generation
Use information from the gop header and picture
header to calculate the picture timestamp. (time_code
and temporal_reference) and adapt to upstream timestamps if
provided.
https://bugzilla.gnome.org/show_bug.cgi?id=632222
Ole André Vadla Ravnås [Tue, 2 Nov 2010 22:08:30 +0000 (23:08 +0100)]
applemedia: switch vtapi to CFTypeRef style typedefs
Ole André Vadla Ravnås [Tue, 2 Nov 2010 21:53:33 +0000 (22:53 +0100)]
applemedia: support public version of CoreMedia
Also rename the relevant API so we mirror the public API more closely, and
switch to CoreFoundation CFTypeRef style typedefs. We still support the old
private CoreMedia in order to not break OS X support.
This means that vtenc and vtdec are now compatible with iOS 4.x, and in
theory also future versions of OS X, where this API may turn public like
it has on iOS.
Tim-Philipp Müller [Tue, 2 Nov 2010 17:46:11 +0000 (17:46 +0000)]
zbar: handle more formats that start with an 8-bit Y plane
We can handle most planar YUV layouts too, as long as we don't
tell zbar about the chroma planes.
Tim-Philipp Müller [Tue, 2 Nov 2010 17:18:52 +0000 (17:18 +0000)]
zbar: use correct stride
Fixes detection for images with a width that's not a multiple of four.
Based on patch by: Kaj-Michael Lang <milang@tal.org>
Based on patch by: Stefan Kost <ensonic@users.sf.net>
https://bugzilla.gnome.org/show_bug.cgi?id=630830
Tim-Philipp Müller [Tue, 2 Nov 2010 16:54:59 +0000 (16:54 +0000)]
colorspace: fix build with current git of gst-plugins-base
ifdef tests don't work so well if we define them in the code
above in case they aren't defined.
Tim-Philipp Müller [Tue, 2 Nov 2010 16:35:57 +0000 (16:35 +0000)]
zbar: minor clean-up
Fix typo and use DEFAULT_FOO define for property default.
Tim-Philipp Müller [Tue, 2 Nov 2010 16:32:55 +0000 (16:32 +0000)]
zbar: disable cache by default
Since it breaks still image bar code detection.
Sebastian Dröge [Tue, 2 Nov 2010 15:05:37 +0000 (16:05 +0100)]
colorspace: Add support for 8 bit paletted RGB
This needs the 8 bit paletted support from -base
which will be committed after release. Without this
the 8 bit parts are disabled.
Thiago Santos [Tue, 2 Nov 2010 13:24:49 +0000 (10:24 -0300)]
camerabin: Add missing change to previous commits
Forgot to add this change to the latest commits. This fixes the build.
Thiago Santos [Tue, 2 Nov 2010 12:39:49 +0000 (09:39 -0300)]
camerabin: Fix leaks in the preview handling
Remember to unref the bus after adding the watch.
Remember to unref the element after getting it with
gst_bin_get_by_name.
Lasse Laukkanen [Tue, 2 Nov 2010 12:38:20 +0000 (09:38 -0300)]
camerabin: Do not leak a caps
gst_caps_replace doesn't take ownership, but refs the caps. So we
unref the remaining caps.
Thiago Santos [Fri, 24 Sep 2010 19:28:13 +0000 (16:28 -0300)]
camerabin: Reset pre-night-mode stored fps when mode changes
When switching between video/still modes the pre-night-mode fps
should be reset to prevent it being used in the incorrect mode, causing
the videosource to fail configuring itself
Teemu Katajisto [Tue, 21 Sep 2010 13:23:47 +0000 (16:23 +0300)]
examples: camerabin: add support for setting many post-processing elements
Instead of taking a single element as input for the image post
processing option, take a list of comma separated elements
that will be used.
Thiago Santos [Mon, 20 Sep 2010 14:54:20 +0000 (11:54 -0300)]
camerabin: Store app preferred capture parameters separately
Store width/height/fps for video captures in a separate variable
than the one that stores the currently used value.
This prevents the user preferences to be lost when resetting
the currently used dimensions for night mode, for example
Thiago Santos [Mon, 20 Sep 2010 11:42:41 +0000 (08:42 -0300)]
camerabin: cleanup used caps when going to NULL
Resets used caps so that camerabin doesn't try to use them
when restarting, where elements/properties might have changed
and the old caps be incompatible
Teemu Katajisto [Thu, 9 Sep 2010 07:50:59 +0000 (10:50 +0300)]
camerabin: fix priority for idle_add function
Adds a higher priority to the idle_add function for when
the image bin finished the image capture. This reduces the
delay for the application to be notified about this.
Stefan Kost [Mon, 1 Nov 2010 21:04:44 +0000 (23:04 +0200)]
inputselector: log times in human readable form
Stefan Kost [Mon, 1 Nov 2010 20:40:36 +0000 (22:40 +0200)]
inputselector: move reoccuring logs to LOG and remove a double info
Less debug spew in DEBUG category. No need to log pad again if we use
GST_LOG_OBJECT(pad,...).
Tim-Philipp Müller [Mon, 1 Nov 2010 15:53:52 +0000 (15:53 +0000)]
cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
Tim-Philipp Müller [Mon, 1 Nov 2010 15:53:31 +0000 (15:53 +0000)]
po: update for new translations
Sebastian Dröge [Sun, 31 Oct 2010 22:46:27 +0000 (23:46 +0100)]
colorspace: Add support for RGB15 and BGR15
Sebastian Dröge [Sun, 31 Oct 2010 22:44:20 +0000 (23:44 +0100)]
colorspace: Add support for RGB16 and BGR16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:57 +0000 (23:25 +0100)]
colorspace: Add support for Y16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:40 +0000 (23:25 +0100)]
colorspace: Fix Y800 ORC getline implementation
Sebastian Dröge [Sun, 31 Oct 2010 22:07:43 +0000 (23:07 +0100)]
colorspace: Add support for A420
Sebastian Dröge [Sun, 31 Oct 2010 22:00:07 +0000 (23:00 +0100)]
colorspace: Add support for Y41B
Sebastian Dröge [Sun, 31 Oct 2010 21:39:38 +0000 (22:39 +0100)]
colorspace: Add support for SDTV/HDTV YUV conversions
Sebastian Dröge [Sun, 31 Oct 2010 21:21:35 +0000 (22:21 +0100)]
colorspace: Add comment for the A420 getline/putline table row
Sebastian Dröge [Sun, 31 Oct 2010 19:40:09 +0000 (20:40 +0100)]
colorspace: Add const to the source arrays and the getline/putline table
Sebastian Dröge [Sun, 31 Oct 2010 18:42:30 +0000 (19:42 +0100)]
colorspace: Make fast-path transform table const
Sebastian Dröge [Sun, 31 Oct 2010 18:39:33 +0000 (19:39 +0100)]
colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
Mark Nauwelaerts [Fri, 29 Oct 2010 12:08:58 +0000 (14:08 +0200)]
baseparse: use only upstream duration if it provides one
Mark Nauwelaerts [Mon, 25 Oct 2010 12:15:50 +0000 (14:15 +0200)]
baseparse: reflow update_bitrate code
... which makes local variables represent real state better, and avoids
triggering unneeded updates/actions.
Mark Nauwelaerts [Mon, 25 Oct 2010 12:13:51 +0000 (14:13 +0200)]
baseparse: add some debug statements
Sebastian Dröge [Thu, 28 Oct 2010 16:51:02 +0000 (18:51 +0200)]
gaudieffects: Include gstcontroller header and add the required CFLAGS
Luis de Bethencourt [Wed, 27 Oct 2010 12:57:36 +0000 (14:57 +0200)]
gaudieffects: made filter parameters dynamic and controllable
Ole André Vadla Ravnås [Thu, 1 Jul 2010 13:07:41 +0000 (15:07 +0200)]
winks: work around shutdown deadlock
GetOverlappedResult() might never return with some drivers. Time out
after 1000 ms. We cannot really fix this without either:
1) Controlling the streaming thread so we can do CancelIo() from that
thread.
2) Switch to using IO completion ports.
Ole André Vadla Ravnås [Fri, 11 Jun 2010 16:04:58 +0000 (18:04 +0200)]
winks: remove JPEG validation hack
This should clearly not be done in a video source.
Ole André Vadla Ravnås [Tue, 20 Apr 2010 10:05:45 +0000 (12:05 +0200)]
winks: set PrioritySubClass to KSPRIORITY_NORMAL instead of 1
In order to match the reference implementation.
Ole André Vadla Ravnås [Tue, 20 Apr 2010 09:59:23 +0000 (11:59 +0200)]
winks: retry when KsCreatePin fails with ERROR_NOT_READY
Turns out that the reference implementation does this, hence we need to
mirror this behaviour. This typically happens with hardware that takes
some time to initialize.
Ole André Vadla Ravnås [Mon, 26 Oct 2009 15:09:00 +0000 (16:09 +0100)]
winks: improve framerate fraction conversions
* For instance 7.5 fps should be represented as 15/2 instead of 7/1.
* Clamp AvgTimePerFrame and dwBitRate to account for rounding errors.
Ole André Vadla Ravnås [Mon, 12 Oct 2009 15:26:15 +0000 (17:26 +0200)]
winks: improve error-handling
Most important part here is special-casing "device busy" so the application
is able to provide better feedback when another application is using the
device.
Ole André Vadla Ravnås [Mon, 7 Sep 2009 14:45:57 +0000 (16:45 +0200)]
winks: performance improvements
* Make the driver write directly into each GstBuffer to avoid memcpy().
* Don't memset() the buffer before reusing it.
* Recycle memory by keeping two spare buffers. Two because the sink
downstream may keep a ref to the previous buffer.
Note that we align buffers on highest possible byte boundary (4096) so we
don't have to take into account what kind of alignment the driver requires.
Ole André Vadla Ravnås [Mon, 7 Sep 2009 14:09:34 +0000 (16:09 +0200)]
winks: store priv pointer instead of looking it up
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:33:30 +0000 (19:33 +0200)]
winks: post error message on flow-unexpected
Andres Colubri [Mon, 31 Aug 2009 17:28:50 +0000 (19:28 +0200)]
winks: add property probing support
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:26:36 +0000 (19:26 +0200)]
winks: sort devices that look like cameras first
Knut Inge Hvidsten [Mon, 31 Aug 2009 17:25:02 +0000 (19:25 +0200)]
winks: provide guessed pixel-aspect-ratio in caps
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:23:40 +0000 (19:23 +0200)]
winks: only try to change state when actually open
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:22:40 +0000 (19:22 +0200)]
winks: ignore unsupported formats
Ole André Vadla Ravnås [Thu, 28 Oct 2010 14:14:34 +0000 (16:14 +0200)]
winks: adjust a couple of logging severities
Should clearly not be considered warnings, as they're quite common.
Ole André Vadla Ravnås [Wed, 27 Oct 2010 17:30:11 +0000 (18:30 +0100)]
applemedia: New plugin for Apple multimedia APIs
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.
Sebastian Pölsterl [Thu, 28 Oct 2010 10:43:34 +0000 (11:43 +0100)]
mpegtsparse: Add tag event emission. Fixes #627253
Jan Schmidt [Wed, 27 Oct 2010 12:17:10 +0000 (13:17 +0100)]
Automatic update of common submodule
From 7bbd708 to 011bcc8
Thiago Santos [Thu, 21 Oct 2010 19:06:08 +0000 (16:06 -0300)]
camerabin: Check the source scene mode when creating it
As camerabin only gets notified of the changes from the
video source element, it should query the initial value
once the source is created so it initializes itself
correctly.
Tim-Philipp Müller [Tue, 19 Oct 2010 23:07:01 +0000 (00:07 +0100)]
tests: fix distcheck a bit more
Dist elements/parser.h header file, which fixes the 'make check' build.
Tim-Philipp Müller [Tue, 19 Oct 2010 22:40:36 +0000 (23:40 +0100)]
tests: fix valve unit test
gst_buffer_pad_alloc() needs simple caps or NULL caps,
ANY caps are not allowed.
Tim-Philipp Müller [Tue, 19 Oct 2010 22:25:54 +0000 (23:25 +0100)]
dcaparse: init variable to make osx build bot happy
gstdcaparse.c: In function 'gst_dca_parse_check_valid_frame':
gstdcaparse.c:246: warning: 'best_sync' may be used uninitialized in this function
Tim-Philipp Müller [Mon, 18 Oct 2010 23:15:20 +0000 (00:15 +0100)]
audioparsers: add very basic dts/dca parser
Still some issues, e.g. with seekable queries in totem, but also
processing already-chunked input (created with matroskademux ! gdppay).
Stefan Kost [Tue, 19 Oct 2010 13:23:23 +0000 (16:23 +0300)]
various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Stefan Kost [Tue, 19 Oct 2010 13:24:12 +0000 (16:24 +0300)]
videoanalyse: fix copy'n'paste off by one for param spec flags change
Stefan Kost [Tue, 19 Oct 2010 10:43:14 +0000 (13:43 +0300)]
various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Stefan Kost [Tue, 19 Oct 2010 12:30:02 +0000 (15:30 +0300)]
various: wrap property registration and add a single fixme for long desc.
Stefan Kost [Tue, 19 Oct 2010 12:06:36 +0000 (15:06 +0300)]
pnmenc: remove stray " in doc comment
Stefan Kost [Tue, 19 Oct 2010 10:44:25 +0000 (13:44 +0300)]
dtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods
Thiago Santos [Fri, 8 Oct 2010 22:33:16 +0000 (19:33 -0300)]
tests: jifmux: Adds tests for the new tags
Adds tests for the new exif tags in -base
David Schleef [Sun, 10 Oct 2010 00:36:07 +0000 (17:36 -0700)]
basevideo: Move common fields/functions to basecodec
Kaj-Michael Lang [Tue, 28 Sep 2010 15:21:57 +0000 (18:21 +0300)]
zbar: Make scanner cache optional