Teemu Katajisto [Mon, 7 Feb 2011 07:50:22 +0000 (09:50 +0200)]
examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.
https://bugzilla.gnome.org/show_bug.cgi?id=641712
Mark Nauwelaerts [Mon, 6 Sep 2010 12:10:11 +0000 (14:10 +0200)]
amrparse: a valid amr-wb frame should not have reserved frame type index
See #639715.
Mark Nauwelaerts [Mon, 7 Feb 2011 13:05:34 +0000 (14:05 +0100)]
configure.ac: set GST_LIB_LDFLAGS
Aligns GST_LIB_LDFLAGS with e.g. -base to arrange for proper exports in libs.
Stefan Kost [Wed, 12 Jan 2011 15:13:07 +0000 (17:13 +0200)]
camerabin-tests: fix lookup of UI files
These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.
Alexey Fisher [Fri, 4 Feb 2011 08:08:26 +0000 (09:08 +0100)]
vp8enc: Add description for bitrate units.
Thiago Santos [Thu, 3 Feb 2011 18:22:51 +0000 (15:22 -0300)]
imagecapturebin: Fix property setting
Set the property on the child and not on itself causing infinite
looping
Thiago Santos [Tue, 1 Feb 2011 14:20:25 +0000 (11:20 -0300)]
tests: camerabin2: Improve preview checking
Thiago Santos [Tue, 1 Feb 2011 14:19:53 +0000 (11:19 -0300)]
wrappercamerabinsrc: Fix preview messages
Image previews where being posted in sync with the buffers
timestamps, this makes no sense as previews should be posted ASAP.
Also adds some debugging messages.
Thiago Santos [Tue, 1 Feb 2011 14:19:29 +0000 (11:19 -0300)]
wrappercamerabinsrc: Handle src state change to avoid losing timestamps
Camerabin2 uses state changes to force the source to renegotiate its
caps to the capture formats. The state changes makes the source lose
its clock and base_time, causing it to stop timestamping the buffers.
We still need a proper way to make sources renegotiate its caps, so this
patch is a hack to make the source continue timestamping buffers even
after changing state. The patch works by getting the clock and base
time before doing the state change to NULL and setting them back
after putting it to PLAYING again. It also cares to drop the first
new segment after this state change.
Thiago Santos [Thu, 27 Jan 2011 18:35:14 +0000 (15:35 -0300)]
tests: camerabin2: preview filter tests
Adds tests to the preview-filter property of camerabin2
Thiago Santos [Thu, 27 Jan 2011 17:39:19 +0000 (14:39 -0300)]
camerabin2: Add preview-filter property
Adds a property to select a custom element for preview pipeline
buffers processing
Thiago Santos [Thu, 27 Jan 2011 13:19:42 +0000 (10:19 -0300)]
tests: camerabin2: Add tests for custom filters
Adds tests to check that custom filters elements receive buffers
Thiago Santos [Wed, 26 Jan 2011 18:27:19 +0000 (15:27 -0300)]
camerabin2: Add custom filter properties
Adds custom filter properties for camerabin2. Custom filters
can be added to video/image/preview branches.
Edward Hervey [Thu, 3 Feb 2011 15:24:24 +0000 (16:24 +0100)]
camerabin: Initialize variables
Makes compilers happy
Tim-Philipp Müller [Wed, 2 Feb 2011 18:41:39 +0000 (18:41 +0000)]
dvbsrc: fix up enum nick names
https://bugzilla.gnome.org/show_bug.cgi?id=591651
Mark Nauwelaerts [Mon, 31 Jan 2011 16:24:24 +0000 (17:24 +0100)]
dccp: use socklen_t where appropriate rather than specific type
In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.
Tim-Philipp Müller [Tue, 1 Feb 2011 20:01:13 +0000 (20:01 +0000)]
rtpvp8: also link against libgstbase-0.10 for adapter and bit reader API
https://bugzilla.gnome.org/show_bug.cgi?id=641178
Tim-Philipp Müller [Tue, 1 Feb 2011 14:40:54 +0000 (14:40 +0000)]
id3mux: map new GST_TAG_ENCODED_BY to ID3v2 TENC frame
https://bugzilla.gnome.org/show_bug.cgi?id=627268
Tim-Philipp Müller [Mon, 31 Jan 2011 17:45:19 +0000 (17:45 +0000)]
videoparsers: dist h264parse.h, fixing make distcheck
Spotted by Nathanael D. Noblet
Teemu Katajisto [Fri, 14 Jan 2011 08:19:28 +0000 (10:19 +0200)]
camerabin: optimize setting new caps for preview image pipeline
Avoid re-creating and linking of preview image pipeline when
setting new preview image caps. Backported from camerabin2.
https://bugzilla.gnome.org/show_bug.cgi?id=639502
Tim-Philipp Müller [Sun, 30 Jan 2011 17:08:11 +0000 (17:08 +0000)]
rtpvp8: fix LIBS and CFLAGS order in Makefile.am
Sjoerd Simons [Sun, 23 Jan 2011 17:02:38 +0000 (17:02 +0000)]
rtpvp8depay: Accept packets with only one byte of data
When fragmenting partions it can happen that an RTP packet only caries 1
byte of RTP data.
Sjoerd Simons [Sun, 23 Jan 2011 16:42:17 +0000 (16:42 +0000)]
rtpvp8pay: Treat the frame header just like any other partition
When setting up the initial mapping just act as if the global frame
information is another partition. This saves special-casing it later in
the actual packetizing code.
Sjoerd Simons [Sun, 16 May 2010 16:23:17 +0000 (17:23 +0100)]
rtpvp8: Add simple payloaders and depayloaders for VP8
Minimal implementation of http://www.webmproject.org/code/specs/rtp/,
version 0.3.2
Mark Nauwelaerts [Fri, 28 Jan 2011 11:38:19 +0000 (12:38 +0100)]
videoparsers: add h264parse
Functionally equivalent to (legacy)h264parse and re-uses the latter's low
level NAL parsing, but otherwise based on GstBaseParse, and replacing
some property configuration with caps negotiation.
Mark Nauwelaerts [Thu, 27 Jan 2011 17:20:13 +0000 (18:20 +0100)]
h264parse: rename to legacyh264parse
Mark Nauwelaerts [Thu, 27 Jan 2011 17:16:14 +0000 (18:16 +0100)]
h263parse: move to videoparsers and separate plugin registration
Mark Nauwelaerts [Thu, 27 Jan 2011 17:03:50 +0000 (18:03 +0100)]
h263parse: update to latest baseparse
Mark Nauwelaerts [Thu, 6 Jan 2011 11:29:34 +0000 (12:29 +0100)]
h263parse: shuffle code to untangle h263parse and parameter parsing
Mark Nauwelaerts [Thu, 6 Jan 2011 11:34:12 +0000 (12:34 +0100)]
h263parse: provide for proper debug category, min frame size and code style
Mark Nauwelaerts [Fri, 10 Dec 2010 15:40:44 +0000 (16:40 +0100)]
h263parse: remove redundant get_caps
.. as src pad already set to use fixed_caps
Mark Nauwelaerts [Fri, 10 Dec 2010 15:26:27 +0000 (16:26 +0100)]
h263parse: simplify valid_frame parsing
... considering that baseparse takes care of skipping etc
Arun Raghavan [Thu, 13 May 2010 20:38:03 +0000 (02:08 +0530)]
h263parse: Add an h263parse element
This adds an h263parse element for parsing H.263 streams, breaking them
up into frame-sized buffers, and exporting metadata such as profile and
level.
https://bugzilla.gnome.org/show_bug.cgi?id=622276
Mark Nauwelaerts [Thu, 27 Jan 2011 15:52:34 +0000 (16:52 +0100)]
ac3parse: improve handling of dependent substream frames
In particular, timestamps of these should track main-stream timestamps.
Mark Nauwelaerts [Fri, 21 Jan 2011 13:53:39 +0000 (14:53 +0100)]
baseparse: tune default duration estimate update interval
Rather than a fixed default frame count, estimate frame count to aim for
an interval duration depending on fps if available, otherwise use old
fixed default.
Mark Nauwelaerts [Fri, 14 Jan 2011 14:16:04 +0000 (15:16 +0100)]
baseparse: reverse playback; mind keyframes for fragment boundary
Mark Nauwelaerts [Thu, 13 Jan 2011 14:26:21 +0000 (15:26 +0100)]
amrparse: properly check for sufficient available data prior to access
Mark Nauwelaerts [Wed, 12 Jan 2011 13:40:37 +0000 (14:40 +0100)]
baseparse: ensure non-empty candidate frames
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:23 +0000 (15:24 +0100)]
baseparse: clarify some debug statements
Mark Nauwelaerts [Tue, 11 Jan 2011 14:24:02 +0000 (15:24 +0100)]
baseparse: properly track upstream timestamps
... rather than with a delay.
Mark Nauwelaerts [Tue, 11 Jan 2011 14:23:29 +0000 (15:23 +0100)]
baseparse: need proper frame duration to obtain sensible frame bitrate
Mark Nauwelaerts [Tue, 11 Jan 2011 14:22:51 +0000 (15:22 +0100)]
baseparse: proper initial values for index tracking variables
Mark Nauwelaerts [Tue, 11 Jan 2011 11:05:13 +0000 (12:05 +0100)]
baseparse: arrange for consistent event handling
Mark Nauwelaerts [Mon, 10 Jan 2011 15:59:59 +0000 (16:59 +0100)]
baseparse: header style cleaning
Mark Nauwelaerts [Mon, 10 Jan 2011 16:07:38 +0000 (17:07 +0100)]
baseparse: provide some more initial frame metadata in parse_frame
... and document accordingly.
Mark Nauwelaerts [Mon, 10 Jan 2011 15:56:36 +0000 (16:56 +0100)]
baseparse: refactor passthrough into format flags
Also add a format flag to signal baseparse that subclass/format can provide
(parsed) timestamp rather than an estimated one. In particular, such "strong"
timestamp then allows to e.g. determine duration.
Mark Nauwelaerts [Mon, 10 Jan 2011 14:34:48 +0000 (15:34 +0100)]
baseparse: introduce a baseparse frame to serve as context
... and adjust subclass parsers accordingly
Mark Nauwelaerts [Fri, 7 Jan 2011 15:39:51 +0000 (16:39 +0100)]
baseparse: restrict duration scanning to pull mode and avoid extra set_caps call
Mark Nauwelaerts [Fri, 7 Jan 2011 14:58:49 +0000 (15:58 +0100)]
baseparse: update some documentation
Also add some more debug.
Mark Nauwelaerts [Thu, 6 Jan 2011 10:41:44 +0000 (11:41 +0100)]
baseparse: allow increasing min_size for current frame parsing only
Also check that subclass actually either directs to skip bytes or
increases expected frame size to avoid going nowhere in bogus
indefinite looping.
Mark Nauwelaerts [Fri, 14 Jan 2011 14:26:37 +0000 (15:26 +0100)]
baesparse: fix refactor regression in loop based parsing
Mark Nauwelaerts [Thu, 6 Jan 2011 10:16:56 +0000 (11:16 +0100)]
baseparse: pass all available data to subclass rather than minimum
Also reduce some adapter calls and add a few debug statements.
Mark Nauwelaerts [Fri, 10 Dec 2010 14:59:49 +0000 (15:59 +0100)]
baseparse: fix reverse playback handling
Mark Nauwelaerts [Fri, 10 Dec 2010 13:56:13 +0000 (14:56 +0100)]
baseparse: minor typo and debug statement cleanup
Mark Nauwelaerts [Fri, 10 Dec 2010 13:40:05 +0000 (14:40 +0100)]
baseparse: reduce locking
... which is either already mute and/or implicitly handled by STREAM_LOCK.
Sebastian Dröge [Thu, 27 Jan 2011 16:32:49 +0000 (17:32 +0100)]
vdpau: Initialize some variables to make gcc 4.6 happy
Sebastian Dröge [Thu, 27 Jan 2011 16:29:12 +0000 (17:29 +0100)]
basevideodecoder: Initialize some variables to make gcc 4.6 happy
Tim-Philipp Müller [Wed, 26 Jan 2011 18:45:56 +0000 (18:45 +0000)]
jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
Thiago Santos [Wed, 26 Jan 2011 17:27:21 +0000 (14:27 -0300)]
tests: camerabin2: Use the correct for limit
There are 3 taglists to be tested, not 2
Thiago Santos [Wed, 26 Jan 2011 14:40:43 +0000 (11:40 -0300)]
camerabin2: Do not forget to unref some stuff
Cleanup properly by unrefing the encoding profile and preview caps
Thiago Santos [Wed, 26 Jan 2011 13:54:53 +0000 (10:54 -0300)]
camerabin2: Add names to some elements
Adds names to instances of some elements to make debugging easier
Thiago Santos [Tue, 25 Jan 2011 21:10:18 +0000 (18:10 -0300)]
camerabin2: Handle videosink states more carefully
When going to ready, camerabin2 could create an empty file
if the videosink was put to ready. This patch only puts videosink
to ready on the PAUSED_TO_READY state change if it is on PAUSED
or PLAYING.
Mark Nauwelaerts [Fri, 14 Jan 2011 13:08:38 +0000 (14:08 +0100)]
baseparse: avoid loop in frame locating interpolation
Thiago Santos [Tue, 25 Jan 2011 02:32:30 +0000 (23:32 -0300)]
rsvgoverlay: Do not segfault on unexistent files
When passing an unexistent file to rsvgoverlay it would
crash because the svg loading would fail without setting
an error.
This patch makes it check if the handle was actually created
and logs an error in case it didn't. Maybe it should post an
error to the bus, but the previous error handling didn't, so
I just followed the same logic.
Thiago Santos [Mon, 24 Jan 2011 21:37:12 +0000 (18:37 -0300)]
examples: camerabin: add timing printing for preview image
Measure and print the time taken to generate preview image. And
fix a typo
Thiago Santos [Mon, 24 Jan 2011 21:36:58 +0000 (18:36 -0300)]
wrappercamerabinsrc: Remove unused macro
Lasse Laukkanen [Wed, 12 Jan 2011 14:26:19 +0000 (16:26 +0200)]
examples: camerabin: Don't set default values for GstPhotography interface settings
Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.
https://bugzilla.gnome.org/show_bug.cgi?id=639841
Thiago Santos [Mon, 24 Jan 2011 20:46:49 +0000 (17:46 -0300)]
wrappercamerabinsrc: Check the start time of buffers
Be careful when trying to create a newsegment event to avoid
start times of -1 from invalid buffer timestamps
Vincent Penquerc'h [Tue, 11 Jan 2011 15:52:03 +0000 (15:52 +0000)]
dvdspu: don't write clipped lines to the output buffer
We may not increment the output pointer, but it'll still be just
off the end of the allocated area.
https://bugzilla.gnome.org/show_bug.cgi?id=602847
Thiago Santos [Wed, 19 Jan 2011 18:07:25 +0000 (15:07 -0300)]
camerabin2: Update porting file
Adds porting information about using encodebin on camerabin2
Thiago Santos [Fri, 14 Jan 2011 11:12:25 +0000 (08:12 -0300)]
camerabin2: Add image-done message
Post an image-done message when a new image is saved to disk
Thiago Santos [Tue, 11 Jan 2011 17:50:48 +0000 (14:50 -0300)]
camerabin2: Implement tagsetter interface
Thiago Santos [Tue, 11 Jan 2011 13:29:48 +0000 (10:29 -0300)]
tests: camerabin2: Add preview image to tests
Adds tests for checking that preview images are posted with
the correct caps on tests
Thiago Santos [Tue, 11 Jan 2011 12:12:24 +0000 (09:12 -0300)]
camerabin2: Add a property to select the encoding profile
Adds a video-profile to allow selecting which encoding profile
to use for video recordings
Thiago Santos [Tue, 11 Jan 2011 11:44:41 +0000 (08:44 -0300)]
camerabin2: Removing videorecordingbin
Removing videorecordingbin as we now use encodebin for it
Thiago Santos [Mon, 27 Dec 2010 14:29:42 +0000 (11:29 -0300)]
camerabin2: Move to encodebin
Thiago Santos [Mon, 10 Jan 2011 18:19:52 +0000 (15:19 -0300)]
wrappercamerabinsrc: Set output-selector pad-negotiation-mode to none
Use output-selector none negotiation mode as it was the default before
the last changes. This likely needs to be fixed to use 'active' on
camerabin2
Thiago Santos [Mon, 10 Jan 2011 18:19:04 +0000 (15:19 -0300)]
wrappercamerabinsrc: Handle state change failures
When its internal element fails to change state, don't act as
if succeeded.
Thiago Santos [Thu, 30 Dec 2010 03:27:03 +0000 (00:27 -0300)]
camerabin2: Implement previewing
Implement previewing functionality using 2 properties. A boolean
(post-previews) that indicates if previews should be posted, and a
GstCaps (preview-caps) to provide the desired preview caps.
wrappercamerabinsrc implements previewing by supplying the captured
image to a pipeline to adapt it to the required caps before posting.
Thiago Santos [Thu, 30 Dec 2010 03:26:07 +0000 (00:26 -0300)]
camerabin2: Add methods for preview image message posting
Adds a helper struct and functions for implementing a preview message
in camerabin2.
Thiago Santos [Thu, 30 Dec 2010 02:48:31 +0000 (23:48 -0300)]
camerabin2: tests: Use mainloops
Use mainloops instead of sleeps to read bus messages and catch
errors.
Thiago Santos [Wed, 29 Dec 2010 17:12:06 +0000 (14:12 -0300)]
wrappercamerabinsrc: Use drop_eos function from camerabingeneral
There was already a event probe function for dropping EOS on
camerabingenereal, so use that instead of replicating the code
Thiago Santos [Mon, 24 Jan 2011 14:55:41 +0000 (11:55 -0300)]
tests: camerabin2: imagecapturebin2: fix warnings
Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
Thiago Santos [Mon, 24 Jan 2011 14:05:41 +0000 (11:05 -0300)]
tests: camerabin2: Only run a test if -good 0.10.27 is present
A camerabin2 tests depends on the commit
dcbba0932dc579abd6aab4460fa1a416374eda1b for jpegenc on -good
that was released on 0.10.27.
This patch makes it check for this version before running the
test.
Thiago Santos [Mon, 24 Jan 2011 13:08:17 +0000 (10:08 -0300)]
tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer
One test on imagecapturebin requires
dcbba0932dc579abd6aab4460fa1a416374eda1b
on good that was released on 0.10.27.
https://bugzilla.gnome.org/show_bug.cgi?id=640286
Thiago Santos [Tue, 18 Jan 2011 20:31:06 +0000 (17:31 -0300)]
camerabin: add names for more elements
Tim-Philipp Müller [Mon, 24 Jan 2011 11:18:29 +0000 (11:18 +0000)]
Back to development
Tim-Philipp Müller [Fri, 21 Jan 2011 21:13:22 +0000 (21:13 +0000)]
Release 0.10.21
David Schleef [Thu, 20 Jan 2011 04:00:13 +0000 (20:00 -0800)]
element-maker: Fix handling of debug category
Mark Nauwelaerts [Wed, 19 Jan 2011 17:26:30 +0000 (18:26 +0100)]
flacparse: mind gst_buffer_unref not liking NULL
Fixes #639950.
Thiago Santos [Tue, 18 Jan 2011 21:18:03 +0000 (18:18 -0300)]
mxfdemux: Fix unitialized variable warning
Tim-Philipp Müller [Tue, 18 Jan 2011 13:00:11 +0000 (13:00 +0000)]
0.10.20.4 pre-release
Thiago Santos [Fri, 14 Jan 2011 19:30:11 +0000 (16:30 -0300)]
audioparsers: baseparse: Be careful to not lose the event ref
Don't unref the event if it hasn't been handled, because the caller
assumes it is still valid and might reuse it.
I ran into this problem when transcoding an AVI (with mp3 inside)
to gpp.
https://bugzilla.gnome.org/show_bug.cgi?id=639555
Thiago Santos [Thu, 13 Jan 2011 14:28:32 +0000 (11:28 -0300)]
test: qtmux: Tests qtmux reuse
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once
https://bugzilla.gnome.org/show_bug.cgi?id=639338
Mark Nauwelaerts [Thu, 13 Jan 2011 14:27:36 +0000 (15:27 +0100)]
qtmux: set src pads when starting file
... rather than at _init time, so they are also available following a
pad (de)activation cycle.
https://bugzilla.gnome.org/show_bug.cgi?id=639338
Vincent Penquerc'h [Wed, 12 Jan 2011 16:39:22 +0000 (16:39 +0000)]
kate: ensure the kate pad does not shoot ahead of the video pad
Sync both pads by waiting in the kate chain function.
Do not reset our internal segment from segment updates, in order
to be able to map video running time to kate running time, to
give libtiger the timestamp it expects. This allows us to use
running time to sync to video, which is The Right Way.
https://bugzilla.gnome.org/show_bug.cgi?id=600929
Luciana Fujii Pontello [Thu, 13 Jan 2011 20:35:15 +0000 (18:35 -0200)]
camerabin: Enable conversion flags
Camerabin default should just work, so we need to enable audio, image
and video conversions.
https://bugzilla.gnome.org/show_bug.cgi?id=639456
Tim-Philipp Müller [Thu, 13 Jan 2011 17:10:13 +0000 (17:10 +0000)]
dcaparse: fix sync word for 14-bit little endian coding
Fix copy'n'paste bug that made us look for the raw little endian
sync word twice instead of looking for the 14-bit LE sync word
as well. Fixes parsing of such streams (see #636234 for sample file).
Tim-Philipp Müller [Thu, 13 Jan 2011 16:27:04 +0000 (16:27 +0000)]
docs: minor baseparse docs/comment fixes
Remove copy'n'paste leftovers.
Teemu Katajisto [Thu, 13 Jan 2011 11:36:09 +0000 (13:36 +0200)]
camerabin: set pad-negotiation-mode to active for output-selector
Fixes #639413.