Thiago Santos
e19a488bce
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
2011-06-23 00:05:13 -03:00
Thiago Santos
f1fa6c6531
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
2011-06-23 00:05:13 -03:00
Thiago Santos
f31554bc4f
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.
2011-06-23 00:05:13 -03:00
Thiago Santos
a33eae1a65
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.
2011-06-23 00:05:13 -03:00
Thiago Santos
b1b0082cdb
camerabin2: Use names for image and video encodebin
...
Naming encodebins as image-encodebin and video-encodebin to make
it easier for debugging camerabin2.
2011-06-23 00:05:13 -03:00
Thiago Santos
e23e5380d3
camerabin2: Remove unused variable
2011-06-23 00:05:13 -03:00
Thiago Santos
18f6859037
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
2011-06-23 00:05:13 -03:00
Thiago Santos
ac2d5821b3
camerabin2: Minor debug message fix
2011-06-23 00:05:13 -03:00
Thiago Santos
62c65a49f3
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.
2011-06-23 00:05:12 -03:00
Mark Nauwelaerts
eca1614f08
legacyh264parse: create correct avc codec-data
...
Fixes #653013 .
2011-06-22 10:13:55 +02:00
Mark Nauwelaerts
d631e1b348
legacyh264parse: fix output caps alignment for avc input
...
... particularly when splitting packetized input.
Fixes #652995 .
2011-06-21 12:46:41 +02:00
Mark Nauwelaerts
10bec5c08f
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 .
2011-06-21 12:46:37 +02:00
Mark Nauwelaerts
160207abb9
h264parse: avoid bogus frame parsing state
2011-06-21 12:46:35 +02:00
David Schleef
571e95cf10
decklink: update DeckLink API wrappers
2011-06-20 12:49:16 -07:00
David Schleef
16a49a3617
decklink: Add connection type
2011-06-20 12:49:16 -07:00
Rafael Diniz
bb4844b29e
decklinksink: Add audio support
...
Signed-off-by: David Schleef <ds@schleef.org>
2011-06-20 12:49:16 -07:00
David Schleef
1faf410ca3
decklink: Add various features
...
Better mode support, input source property, audio support.
2011-06-20 12:49:16 -07:00
David Schleef
69c930565f
decklink: remove unused code
2011-06-20 12:49:16 -07:00
David Schleef
1e1c16150b
decklink: reindent
2011-06-20 12:49:16 -07:00
Thiago Santos
ca8ea19cc3
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
2011-06-17 16:18:03 -03:00
Jan Schmidt
d04efbd735
update docs generated files
2011-06-18 01:11:05 +10:00
Jan Schmidt
38bf3169ff
RTMP: add rtmpsink element for output to an RTMP server
2011-06-18 01:09:51 +10:00
Mark Nauwelaerts
af1fca6d7d
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.
2011-06-17 12:26:15 +02:00
Mark Nauwelaerts
6429ead4bc
debugutils: add compare element
2011-06-17 12:10:06 +02:00
Mark Nauwelaerts
a1f5b2e0cc
colorspace: fix odd width and height handling in some fastpath cases
2011-06-17 12:07:34 +02:00
Olivier Crête
26f7a1ca66
shm: Improve documentation of internal shmpipe
2011-06-16 19:06:03 -04:00
Wim Taymans
af6d20d90a
Moved 'colorspace' from -bad to -base
2011-06-15 16:32:03 +02:00
Wim Taymans
a2b7a672b8
Merge branch 'master' into 0.11
...
Conflicts:
android/aacparse.mk
android/amrparse.mk
android/h264parse.mk
android/metadata.mk
android/qtmux.mk
android/sdpelem.mk
configure.ac
gst/qtmux/gstqtmux.c
win32/common/config.h
2011-06-15 16:06:36 +02:00
Tim-Philipp Müller
a6c4f3ed4e
wininetsrc: don't use G_CONST_RETURN
...
It's going to be deprecated really soon.
2011-06-13 11:12:36 +01:00
Edward Hervey
c27b16bfe3
videoparsers: Speed up the start code search algorithm
...
Based on 96a7f9c8b1
Makes it 3-4 times faster
2011-06-12 12:55:40 +02:00
Edward Hervey
7032cd12e7
videoparsers: Fix sink pad template
...
no wonder it was never picked up ...
2011-06-12 12:40:15 +02:00
Edward Hervey
b3ef72f2eb
tsdemux: Don't free unexistent PAT
...
And cleanup find_timestamps a bit
2011-06-12 11:27:30 +02:00
Edward Hervey
e1a7d71184
tsdemux: More fixes to handle non-188 byte packets
2011-06-07 20:50:35 +02:00
Edward Hervey
6c0254b84b
mpegts: Stop scanning for keyframes as early as possible
2011-06-07 20:50:35 +02:00
Janne Grunau
ae2e7624d6
mpegtsdemux: always try to seek for to a keyframe
...
keyframe is expected to lie in the the next ~2500 ms
2011-06-07 20:50:35 +02:00
Janne Grunau
9352cfc478
mpegtsdemux: fix timestamps in newsegement event after seeking
2011-06-07 20:50:34 +02:00
Janne Grunau
cde65d6d6e
mpegtsdemux: payload parsing for H.264
2011-06-07 20:50:34 +02:00
Janne Grunau
ff15d6fa80
mpegtsdemux: implement key_unit seeking for MPEG2 video
2011-06-07 20:50:34 +02:00
Janne Grunau
3ce1ec7c9c
mpegtsdemux: accurate seeking
...
* pes header parsing for pts is ugly, refactor
* timestamps/newsegment after seeking is still off
2011-06-07 20:50:34 +02:00
Janne Grunau
15391b29e1
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
2011-06-07 20:50:34 +02:00
Janne Grunau
f89a0abca0
mpegtsdemux: create function for pcr parsing
2011-06-07 20:50:34 +02:00
Janne Grunau
37f1decf78
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
2011-06-07 20:50:34 +02:00
Tim-Philipp Müller
eb2470fb9e
Add gst/invtelecine to CRUFT_DIRS
2011-06-07 14:14:36 +01:00
Tim-Philipp Müller
98ade69fcf
configure: require GLib >= 2.24
...
Make implicit requirement explicit.
2011-06-07 13:44:26 +01:00
Stefan Kost
b6844bc730
tests: add a test for baseaudiovisualizer
2011-06-06 15:25:14 +03:00
Stefan Kost
f7fe0c9e6f
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.
2011-06-06 15:25:14 +03:00
Stefan Kost
594134d139
audiovisualizers: add a README with comments and plans
2011-06-06 15:25:14 +03:00
Stefan Kost
30e2575e43
docs: update inspect files
2011-06-06 15:25:14 +03:00
Stefan Kost
bff846b76a
docs: add new audiovisualizers to the plugin docs
2011-06-06 15:25:14 +03:00
Stefan Kost
f66a88bc70
audiovisualizers: remove some not needed boilerplate
2011-06-06 15:25:14 +03:00