Mark Nauwelaerts [Thu, 14 Jul 2011 15:06:38 +0000 (17:06 +0200)]
pcapparse: properly apply ts offset
Mark Nauwelaerts [Thu, 14 Jul 2011 14:50:29 +0000 (16:50 +0200)]
pcapparse: optionally output relative timestamps, possibly shifted by offset
That is, output timestamps can then either be the absolute capture time,
or the relative capture time (w.r.t. to first output buffer), or the relative
capture time incremented by some offset.
Mark Nauwelaerts [Thu, 14 Jul 2011 14:40:14 +0000 (16:40 +0200)]
pcapparse: also support extracting tcp data
Tim-Philipp Müller [Thu, 14 Jul 2011 13:37:14 +0000 (14:37 +0100)]
tests: add some more unit test binaries to .gitignore
Olivier Crête [Wed, 13 Jul 2011 17:44:41 +0000 (13:44 -0400)]
docs: Revert wrongly committed changes to .args/.hierarchy
Olivier Crête [Wed, 13 Jul 2011 17:42:09 +0000 (13:42 -0400)]
mpegvideoparse: Restore some unused variables as comments
Olivier Crête [Wed, 13 Jul 2011 17:39:46 +0000 (13:39 -0400)]
mpegtsdemux: Restore erroneously removed data++
Also, put back some unused code in comment and replace // comments by /* */
Olivier Crête [Wed, 13 Jul 2011 17:38:31 +0000 (13:38 -0400)]
mpegdemux: Restore erroneously removed data++
Also, put back some unused code in comment and replace // comments by /* */
Sebastian Dröge [Wed, 13 Jul 2011 08:42:36 +0000 (10:42 +0200)]
schroedinger: Fix compilation and set-but-not-used compiler warnings
Sebastian Dröge [Wed, 13 Jul 2011 08:33:58 +0000 (10:33 +0200)]
diracenc: Fix compilation by including the new gstbasevideoutils.h header and fixing some set but not used compiler warnings
Olivier Crête [Tue, 12 Jul 2011 22:22:35 +0000 (18:22 -0400)]
examples/camerabin: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:20:23 +0000 (18:20 -0400)]
jp2k: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:18:30 +0000 (18:18 -0400)]
resindvd: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:16:54 +0000 (18:16 -0400)]
cog: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:13:56 +0000 (18:13 -0400)]
dvb: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:10:42 +0000 (18:10 -0400)]
videomeasure: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:09:26 +0000 (18:09 -0400)]
tta: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:08:21 +0000 (18:08 -0400)]
sdi: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:05:25 +0000 (18:05 -0400)]
vp8: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:03:53 +0000 (18:03 -0400)]
rtpvp8: Reject unknown bitstream versions
Olivier Crête [Tue, 12 Jul 2011 21:59:56 +0000 (17:59 -0400)]
videoparsers: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:57:45 +0000 (17:57 -0400)]
pcapparse: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:56:25 +0000 (17:56 -0400)]
mpegvideoparse: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:53:33 +0000 (17:53 -0400)]
mpegdemux: Fix unused-but-set warnings
Olivier Crête [Tue, 12 Jul 2011 21:50:27 +0000 (17:50 -0400)]
mpegtsdemux: Fix unused-but-set warnings
Sameer Naik [Mon, 11 Jul 2011 19:48:16 +0000 (01:18 +0530)]
mpegtsmux: fix segfault if gst_collect_pads_pop () returns no buffer
In mpegtsmux_choose_best_stream () call if the gst_collect_pads_pop () call
returns no buffer (NULL), the plugin SegFaults in the gst_buffer_unref call.
To fix this we check if a valid buffer is returned before calling
gst_buffer_unref ().
Fixes bug #654416.
Sebastian Dröge [Mon, 11 Jul 2011 10:59:07 +0000 (12:59 +0200)]
basevideodecoder: First inform subclass about resetting before resetting/freeing all internal state
The subclass might want to access the old state.
Sebastian Dröge [Mon, 11 Jul 2011 10:36:42 +0000 (12:36 +0200)]
basevideodecoder: Track present position on discont before resetting it
Sebastian Dröge [Mon, 11 Jul 2011 09:52:33 +0000 (11:52 +0200)]
basevideodecoder: Also protect the list of pending frames from concurrent access when pushing all pendings events
Sebastian Dröge [Mon, 11 Jul 2011 09:28:40 +0000 (11:28 +0200)]
basevideocodec: Protect access to the list of pending frames with the object lock
This is required if ::finish_frame() and all buffer output happens
on a different thread than the sinkpad streaming thread.
Sebastian Dröge [Mon, 11 Jul 2011 07:35:25 +0000 (09:35 +0200)]
basevideodecoder: Set the correct lists to NULL after freeing
Sebastian Dröge [Mon, 11 Jul 2011 06:54:53 +0000 (08:54 +0200)]
basevideodecoder: Work with a copy of the GstVideoState in setcaps until the caps are accepted
Also fix a refcount problem with the codec_data.
Sebastian Dröge [Sat, 9 Jul 2011 09:40:17 +0000 (11:40 +0200)]
basevideo: Move the utils from the codec header to its own header
Sebastian Dröge [Sat, 9 Jul 2011 09:31:02 +0000 (11:31 +0200)]
vp8enc: Use destroy notify to free the coder hook
Sebastian Dröge [Sat, 9 Jul 2011 09:09:12 +0000 (11:09 +0200)]
basevideo: Use GSlice for allocating GstVideoFrame and don't duplicate code in the decoder base class
Sebastian Dröge [Tue, 28 Jun 2011 09:47:25 +0000 (11:47 +0200)]
basevideodecoder: Don't reorder serialized src events
And allow to drop EOS by the subclass if ::finish returns
DROPPED. This requires that the subclass sends EOS manually later.
Fixes bug #653544.
Sebastian Dröge [Mon, 27 Jun 2011 07:41:40 +0000 (09:41 +0200)]
basevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly
Having access to the caps in ::set_format can be useful if
non-standard caps fields like the h264 alignment must be accessed.
Sebastian Dröge [Sat, 9 Jul 2011 08:57:52 +0000 (10:57 +0200)]
basevideo: Add destroy notify for the coder_hook to prevent memory leaks
Fixes bug #654293.
Sebastian Dröge [Fri, 8 Jul 2011 09:52:17 +0000 (11:52 +0200)]
mxfdemux: Properly return seeking errors if the requested position can't be found
Stefan Kost [Thu, 7 Jul 2011 23:00:44 +0000 (16:00 -0700)]
inter: add ignore file for intermediate files
Stefan Kost [Thu, 7 Jul 2011 22:59:05 +0000 (15:59 -0700)]
docs: add camerabin2 to the docs and update the doc files
Stefan Kost [Thu, 7 Jul 2011 22:55:59 +0000 (15:55 -0700)]
camerabin2: don't mess with camerabin (1) namespace
Use an extra '2' to stay out of the old namespace.
Stefan Kost [Thu, 7 Jul 2011 18:11:42 +0000 (11:11 -0700)]
docs: keep section file sorted
Stefan Kost [Thu, 7 Jul 2011 17:52:50 +0000 (10:52 -0700)]
scaletempo: improve the docs
Fix the syntax, add more explanation and xref the properties.
David Schleef [Sun, 5 Jun 2011 07:54:19 +0000 (00:54 -0700)]
opus: duplicate from CELT
Copy the celt plugin and convert it to Opus. Mostly works.
David Schleef [Wed, 6 Jul 2011 22:56:32 +0000 (15:56 -0700)]
decklink: HD modes are square pixels
David Schleef [Mon, 4 Jul 2011 23:18:18 +0000 (16:18 -0700)]
diracparse: make diracparse work correctly
David Schleef [Mon, 4 Jul 2011 01:32:37 +0000 (18:32 -0700)]
decklink: properly set up analog input
David Schleef [Wed, 29 Jun 2011 06:47:18 +0000 (23:47 -0700)]
decklink: Add more modes
David Schleef [Sat, 4 Jun 2011 02:41:33 +0000 (19:41 -0700)]
inter: new intermediate surface plugin
This set of elements allows easily rendering audio and video to
an intermediate surface that is then used as a source in a different
pipeline.
David Schleef [Sat, 18 Jun 2011 22:51:54 +0000 (15:51 -0700)]
colorspace: Add JPEG YCbCr matrix
David Schleef [Sat, 18 Jun 2011 22:56:49 +0000 (15:56 -0700)]
vp8enc: update for new libvpx api
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