David Schleef [Mon, 27 Jun 2011 02:29:24 +0000 (19:29 -0700)]
y4mdec: Fix buffer duration
Alexey Fisher [Sun, 26 Jun 2011 13:15:54 +0000 (15:15 +0200)]
vp8enc: generate a timestamp for alt-ref frames.
It will fix handling of altref/invisible frames since matroska-mux
drop any fram with no timestamp.
see also:
http://www.webmproject.org/code/specs/container/
The encoder will currently set the AR's timestamp as close as possible
to the previous frame while attempting to provide a timestamp that is
strictly increasing. In cases where the time base given to the encoder
at configure time is not granular enough to allow for this the AR
will share the same timestamp as D, but should be
treated as having no duration.
Fixes bug #652951
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Raimo Järvi [Sat, 25 Jun 2011 20:55:28 +0000 (23:55 +0300)]
wininet: Fix configure check by including windows.h
Fixes bug #653161.
Raimo Järvi [Tue, 7 Jun 2011 10:55:38 +0000 (13:55 +0300)]
d3dvideosink: Fix configure check and makefiles
Fixes bug #652035.
David Schleef [Sat, 25 Jun 2011 22:12:45 +0000 (15:12 -0700)]
tta: decrease rank to NONE
Appears to be utterly incapable of parsing and decoding TTA streams.
Hasn't been updated to do TTA2. If you want this element to work,
fix the bloody thing. The gst-ffmpeg decoder works fine.
Also fixed an obvious endianness issue along the way.
Fixes: #652924
Alexey Fisher [Sat, 18 Jun 2011 15:47:36 +0000 (17:47 +0200)]
vp8dec: add check if we have legal aspect-ratio before reset it.
the commit
f9b552f0494e (vp8dec: set par to 1/1)
will fix situation where no aspect-ratio is set, but it brake
stream with available aspect-ratio. This patch fix it.
Fixes: #652902.
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Tim-Philipp Müller [Thu, 23 Jun 2011 19:11:55 +0000 (20:11 +0100)]
camerabin2: don't use GLib 2.28 API
Don't use GLib 2.28 API, we still only require >= 2.24.
David Schleef [Thu, 23 Jun 2011 18:28:53 +0000 (11:28 -0700)]
Automatic update of common submodule
From
69b981f to
605cd9a
Thiago Santos [Thu, 23 Jun 2011 01:25:18 +0000 (22:25 -0300)]
camerabin2: Set tagsetters to merge replace mode
The default for tagsetters is to use merge keep mode, so tags
would never be replaced and all captures would have the same tags.
This commit watches all elements added into encodebin and sets
all tagsetters to merge replace mode
Thiago Santos [Wed, 22 Jun 2011 21:58:29 +0000 (18:58 -0300)]
camerabin2: Use a single location for both modes
Implement the location property just like it works in camerabin, the
same location is used for both images and videos
Thiago Santos [Wed, 22 Jun 2011 19:27:00 +0000 (16:27 -0300)]
camerabin2: Send serialized custom events for filename changes in image sink
Using serialized custom events for switching image capture saving
location makes camerabin2 save each capture correctly to the location
that was set during the moment start-capture was called, and not
the moment the filesink was writing to disk.
This prevents captures to be overwriten by racyness among start-capture
and setting location for images.
Thiago Santos [Wed, 22 Jun 2011 18:56:26 +0000 (15:56 -0300)]
camerabin2: No need to change state of the whole image branch
We only need to change the state of the filesink to switch its
saving location. This might still cause some problems of dropping
captured buffers, but it is better than changing the state of
the whole branch.
Thiago Santos [Wed, 22 Jun 2011 18:37:44 +0000 (15:37 -0300)]
camerabin2: Use names for image and video encodebin
Naming encodebins as image-encodebin and video-encodebin to make
it easier for debugging camerabin2.
Thiago Santos [Fri, 17 Jun 2011 20:26:37 +0000 (17:26 -0300)]
camerabin2: Remove unused variable
Thiago Santos [Fri, 17 Jun 2011 17:32:35 +0000 (14:32 -0300)]
tests: camerabin2: Adds new test to check image location correctness
This new test checks that images are saved with the filename setting
on location on the moment of the start-capture
Thiago Santos [Wed, 15 Jun 2011 11:20:31 +0000 (08:20 -0300)]
camerabin2: Minor debug message fix
Thiago Santos [Fri, 13 May 2011 14:25:18 +0000 (11:25 -0300)]
examples: camerabin2: Adds performance measurement to gst-camerabin2-test
Adds performance (timing) measure feature to gst-camerabin2-test, it allows
users to specify some target values for commonly measured times and the
application will print out a table of values at the end of its execution
with the measured times and averages of them.
Mark Nauwelaerts [Wed, 22 Jun 2011 08:13:38 +0000 (10:13 +0200)]
legacyh264parse: create correct avc codec-data
Fixes #653013.
Mark Nauwelaerts [Tue, 21 Jun 2011 10:45:31 +0000 (12:45 +0200)]
legacyh264parse: fix output caps alignment for avc input
... particularly when splitting packetized input.
Fixes #652995.
Mark Nauwelaerts [Tue, 21 Jun 2011 10:43:41 +0000 (12:43 +0200)]
h264parse: avc input must either pass-through or be split into bytestream chunks
... since parsing code is not meant to receive avc data.
Fixes #653087.
Mark Nauwelaerts [Tue, 21 Jun 2011 10:41:47 +0000 (12:41 +0200)]
h264parse: avoid bogus frame parsing state
David Schleef [Mon, 20 Jun 2011 19:47:39 +0000 (12:47 -0700)]
decklink: update DeckLink API wrappers
David Schleef [Mon, 20 Jun 2011 07:38:05 +0000 (00:38 -0700)]
decklink: Add connection type
Rafael Diniz [Mon, 6 Jun 2011 04:19:58 +0000 (21:19 -0700)]
decklinksink: Add audio support
Signed-off-by: David Schleef <ds@schleef.org>
David Schleef [Mon, 6 Jun 2011 04:24:58 +0000 (21:24 -0700)]
decklink: Add various features
Better mode support, input source property, audio support.
David Schleef [Mon, 6 Jun 2011 04:24:39 +0000 (21:24 -0700)]
decklink: remove unused code
David Schleef [Mon, 6 Jun 2011 04:17:04 +0000 (21:17 -0700)]
decklink: reindent
Thiago Santos [Fri, 17 Jun 2011 19:12:00 +0000 (16:12 -0300)]
tsdemux: only free the index array if it exists
Only free the array if it exists.
Contains an unrelated indentation fix, courtesy of gst-indent
Jan Schmidt [Fri, 17 Jun 2011 15:11:05 +0000 (01:11 +1000)]
update docs generated files
Jan Schmidt [Fri, 17 Jun 2011 15:09:51 +0000 (01:09 +1000)]
RTMP: add rtmpsink element for output to an RTMP server
Mark Nauwelaerts [Thu, 16 Jun 2011 15:17:07 +0000 (17:17 +0200)]
tests: add colorspace unit test
Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.
Mark Nauwelaerts [Fri, 17 Jun 2011 10:10:06 +0000 (12:10 +0200)]
debugutils: add compare element
Mark Nauwelaerts [Wed, 15 Jun 2011 16:20:48 +0000 (18:20 +0200)]
colorspace: fix odd width and height handling in some fastpath cases
Olivier Crête [Thu, 16 Jun 2011 23:06:03 +0000 (19:06 -0400)]
shm: Improve documentation of internal shmpipe
Tim-Philipp Müller [Mon, 13 Jun 2011 10:12:36 +0000 (11:12 +0100)]
wininetsrc: don't use G_CONST_RETURN
It's going to be deprecated really soon.
Edward Hervey [Sun, 12 Jun 2011 10:55:40 +0000 (12:55 +0200)]
videoparsers: Speed up the start code search algorithm
Based on
96a7f9c8b1195129f0c2157cbbcbaa6cab45056e
Makes it 3-4 times faster
Edward Hervey [Sun, 12 Jun 2011 10:40:15 +0000 (12:40 +0200)]
videoparsers: Fix sink pad template
no wonder it was never picked up ...
Edward Hervey [Sun, 12 Jun 2011 09:27:30 +0000 (11:27 +0200)]
tsdemux: Don't free unexistent PAT
And cleanup find_timestamps a bit
Edward Hervey [Wed, 18 May 2011 17:33:45 +0000 (19:33 +0200)]
tsdemux: More fixes to handle non-188 byte packets
Edward Hervey [Sun, 15 May 2011 12:04:45 +0000 (14:04 +0200)]
mpegts: Stop scanning for keyframes as early as possible
Janne Grunau [Thu, 31 Mar 2011 12:36:02 +0000 (14:36 +0200)]
mpegtsdemux: always try to seek for to a keyframe
keyframe is expected to lie in the the next ~2500 ms
Janne Grunau [Wed, 23 Mar 2011 17:50:25 +0000 (18:50 +0100)]
mpegtsdemux: fix timestamps in newsegement event after seeking
Janne Grunau [Wed, 30 Mar 2011 09:26:18 +0000 (11:26 +0200)]
mpegtsdemux: payload parsing for H.264
Janne Grunau [Mon, 28 Mar 2011 08:20:43 +0000 (10:20 +0200)]
mpegtsdemux: implement key_unit seeking for MPEG2 video
Janne Grunau [Tue, 22 Mar 2011 15:49:13 +0000 (16:49 +0100)]
mpegtsdemux: accurate seeking
* pes header parsing for pts is ugly, refactor
* timestamps/newsegment after seeking is still off
Janne Grunau [Tue, 22 Feb 2011 11:33:56 +0000 (12:33 +0100)]
mpegtsdemux: push based seeking based on PCR
buffer timestamps are converted to GstClockTime to cover pcr/pts wraps.
multiple pcr/pts wraps are handled with an index which ensures at most
a single pcr wraparound between two entries.
the last seen pcr is recorded to have a nearby index point for short seeks
resuming playback might be delayed if the postion is not a keyframe
TODO: replace manual packet scanning and parsing in the initial duration estimation
Janne Grunau [Wed, 23 Feb 2011 14:21:22 +0000 (15:21 +0100)]
mpegtsdemux: create function for pcr parsing
Janne Grunau [Mon, 11 Apr 2011 12:53:28 +0000 (14:53 +0200)]
mpegtsdemux: adaptation field length == 0 is valid
it can be used to insert a single stuffing byte
do not parse the following payload as adaptation field
Tim-Philipp Müller [Tue, 7 Jun 2011 13:14:36 +0000 (14:14 +0100)]
Add gst/invtelecine to CRUFT_DIRS
Tim-Philipp Müller [Tue, 7 Jun 2011 12:44:08 +0000 (13:44 +0100)]
configure: require GLib >= 2.24
Make implicit requirement explicit.
Stefan Kost [Mon, 6 Jun 2011 12:23:22 +0000 (15:23 +0300)]
tests: add a test for baseaudiovisualizer
Stefan Kost [Mon, 6 Jun 2011 12:20:30 +0000 (15:20 +0300)]
baseaudiovisualizer: fix last block condition
Also push out the last frame if we have exact amount of samples. Fix the adapter
flushing to not cause endless loops. Drop a redundant avail() check.
Stefan Kost [Sat, 4 Jun 2011 17:41:49 +0000 (20:41 +0300)]
audiovisualizers: add a README with comments and plans
Stefan Kost [Sat, 4 Jun 2011 17:34:20 +0000 (20:34 +0300)]
docs: update inspect files
Stefan Kost [Sat, 4 Jun 2011 13:12:40 +0000 (16:12 +0300)]
docs: add new audiovisualizers to the plugin docs
Stefan Kost [Sat, 4 Jun 2011 12:56:15 +0000 (15:56 +0300)]
audiovisualizers: remove some not needed boilerplate
Stefan Kost [Sat, 4 Jun 2011 12:52:44 +0000 (15:52 +0300)]
audiovisualizers: add a spacescope element
Add another element that maps left/right channel to x,y coordinates.
Stefan Kost [Sat, 4 Jun 2011 12:38:46 +0000 (15:38 +0300)]
synaescope: tweak the algorithm
Speed-up the calculation a bit. Keep a few values as doubles. Tune the scaling
to get nices colors.
Stefan Kost [Sat, 4 Jun 2011 11:37:04 +0000 (14:37 +0300)]
audiovisualizers: doc-blob and comment updates
Stefan Kost [Sat, 4 Jun 2011 11:33:29 +0000 (14:33 +0300)]
audiovisualizers: rename baseclass from basescope to baseaudiovisualizer
Stefan Kost [Sat, 4 Jun 2011 11:25:57 +0000 (14:25 +0300)]
audiovisualizers: rename scopes plugin to audiovisualizers
Stefan Kost [Tue, 31 May 2011 11:42:55 +0000 (14:42 +0300)]
scopes: fix elements descriptions
Stefan Kost [Mon, 30 May 2011 20:45:17 +0000 (23:45 +0300)]
spectrascope: use add_pixel for non-white pixels
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Mon, 30 May 2011 20:36:42 +0000 (23:36 +0300)]
scopes: add a new element similar to synaesthesia
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Sat, 28 May 2011 20:22:59 +0000 (23:22 +0300)]
scopes: draw pixels with signle 32bit writes
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Sat, 28 May 2011 11:36:51 +0000 (14:36 +0300)]
basescope: add more shading effects
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Sat, 28 May 2011 11:08:05 +0000 (14:08 +0300)]
basescope: add a property to modify the ammount of shading
Add another property to specify the shading per color channel. Fix endianess
issues in the shading code.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Fri, 27 May 2011 20:25:00 +0000 (23:25 +0300)]
basescope: add a backbuffer and apply shading effects
Keep the last frame and apply shade and geometry effects. Expose the shading
effects as a controllable gobject property on the baseclass.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Fri, 27 May 2011 20:12:00 +0000 (23:12 +0300)]
basescope: allow subclasses telling how many sample they need per frame
This allows e.g. FFT based elements to require enough data. If they need more
data than what we get, we flush less from the adapter.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Fri, 27 May 2011 19:53:10 +0000 (22:53 +0300)]
basescope: remove some comments
Those comments where pointing to example calls that we do in the subclass.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Fri, 27 May 2011 11:43:51 +0000 (14:43 +0300)]
scopes: add a simple fft based scope
Add a 2nd demo scope that uses a fft.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Stefan Kost [Fri, 27 May 2011 08:14:19 +0000 (11:14 +0300)]
scopes: first version of a scopes plugin using a new baseclass
Add a new baseclass for writing visualisation plugins. Provide a simple wave
oscilloscope as a first subclass.
https://bugzilla.gnome.org/show_bug.cgi?id=651536
Edward Hervey [Fri, 29 Apr 2011 11:33:43 +0000 (13:33 +0200)]
mpegvideoparse: Avoid double scanning of pictures
The incoming data has already been scanned in mpeg_packetizer_add_buf.
We can therefore stop scanning for picture data as soon as we've parsed
the header. Makes mpegvideoparse 2 times faster.
https://bugzilla.gnome.org/show_bug.cgi?id=648933
Levente Farkas [Sun, 5 Jun 2011 20:56:08 +0000 (13:56 -0700)]
directdrawsink: lower rank to secondary
Signed-off-by: David Schleef <ds@schleef.org>
Levente Farkas [Sun, 5 Jun 2011 20:38:46 +0000 (13:38 -0700)]
d3dvideosink: compile fix
Signed-off-by: David Schleef <ds@schleef.org>
David Schleef [Sun, 5 Jun 2011 17:34:28 +0000 (10:34 -0700)]
invtelecine: Remove in favor of fieldanalysis
David Schleef [Sun, 5 Jun 2011 01:54:16 +0000 (18:54 -0700)]
directdrawsink: Handle pixel-aspect-ratio
Fixes: #651779. From Raimo Järvi.
David Schleef [Sun, 5 Jun 2011 01:43:45 +0000 (18:43 -0700)]
d3dvideosink: Add plugin
Fixes #651782. Patch from various authors, by way of ossbuild.
David Schleef [Sat, 4 Jun 2011 21:04:44 +0000 (14:04 -0700)]
Work around changes in g_atomic API
See #651514 for details.
David Schleef [Sat, 4 Jun 2011 20:51:20 +0000 (13:51 -0700)]
vdpau: remove old glib compatibility code
David Schleef [Sat, 4 Jun 2011 02:36:59 +0000 (19:36 -0700)]
vp8dec: set par to 1/1
David Schleef [Sat, 4 Jun 2011 02:36:12 +0000 (19:36 -0700)]
basevideodecoder: Better handling of invalid par
David Schleef [Tue, 31 May 2011 00:03:14 +0000 (17:03 -0700)]
videofilter2: Fix copyright
Tim-Philipp Müller [Sat, 4 Jun 2011 19:35:03 +0000 (20:35 +0100)]
gst: some more unused-but-set-variable warning fixes
Debarshi Ray [Mon, 30 May 2011 12:24:26 +0000 (17:54 +0530)]
Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
Luciana Fujii Pontello [Mon, 9 May 2011 17:35:42 +0000 (14:35 -0300)]
camerabin2: Adding a filter to wrappercamerabinsrc
Camerabin2 allows setting a filter for image, video or viewfinder, but
not one filter for all three at the same time. I added a filter to
wrappercamerabinsrc to allow setting a global filter when using this
source.
https://bugzilla.gnome.org/show_bug.cgi?id=649822
Thiago Santos [Thu, 26 May 2011 03:09:28 +0000 (00:09 -0300)]
tests: camerabin2: remove unused var
Thiago Santos [Thu, 26 May 2011 02:29:25 +0000 (23:29 -0300)]
camerabin2: Use full names in properties
Improve API by using source instead of src in properties
Teemu Katajisto [Mon, 23 May 2011 10:36:27 +0000 (13:36 +0300)]
camerabin2: do not unref pad template
Alessandro Decina [Sun, 29 May 2011 11:16:21 +0000 (13:16 +0200)]
configure.ac: fix avc check so that it tries to link to AVCVideoServices
Avoids avc plugin from being built when AVCVideoServices is not installed
Lasse Laukkanen [Thu, 26 May 2011 09:23:01 +0000 (12:23 +0300)]
examples: camerabin: Add --image-formatter command-line option
Add command-line option to gst-camerabin-test for configuring camerabin
metadata formatter element.
Sebastian Dröge [Tue, 31 May 2011 11:08:00 +0000 (13:08 +0200)]
faac: Fix unit test after latest faac changes
Edward Hervey [Tue, 31 May 2011 10:55:45 +0000 (12:55 +0200)]
tsdemux: Fix scanning on small files
We were previously:
* Stopping early in the initial PCR scan
* Giving a negative offset for the second PCR scan
Edward Hervey [Tue, 31 May 2011 10:54:43 +0000 (12:54 +0200)]
mpegtsbase: Don't call program_stopped with a NULL program
Edward Hervey [Thu, 19 May 2011 10:55:30 +0000 (12:55 +0200)]
legacyh264parse: Delay pushing buffers until we have width/height
Stefan Kost [Fri, 27 May 2011 08:13:08 +0000 (11:13 +0300)]
zbar: remove template stamp comment
David Schleef [Tue, 31 May 2011 06:43:39 +0000 (23:43 -0700)]
bayer2rgb: Convert to Orc
Seriously faster. Algorithm is nearly the same as bilinear, which
given the speed of this code, should be considered the baseline of
quality. Speed appears to be limited by memory bandwidth, so I
didn't bother trying to make it any faster.
David Schleef [Mon, 30 May 2011 23:56:33 +0000 (16:56 -0700)]
bayer2rgb: Rewrite signal processing. Much faster.
Debarshi Ray [Mon, 30 May 2011 12:24:26 +0000 (17:54 +0530)]
Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
Edward Hervey [Mon, 30 May 2011 11:01:54 +0000 (13:01 +0200)]
Revert "dvdspu: Fix pad templates"
This reverts commit
732828e31cbace59e6ce4f262b8339e43ed0c631.
It was in fact an issue in core