Arun Raghavan
88c1e42567
audioparsers: Add bitrate calculation to baseparse
...
This makes baseparse keep a running average of the stream bitrate, as
well as the minimum and maximum bitrates. Subclasses can override a
vfunc to make sure that per-frame overhead from the container is not
accounted for in the bitrate calculation.
We take care not to override the bitrate, minimum-bitrate, and
maximum-bitrate tags if they have been posted upstream. We also
rate-limit the emission of bitrate so that it is only triggered by a
change of >10 kbps.
2010-03-25 16:57:36 +01:00
Tim-Philipp Müller
0c97f9a9be
qtmux: init debug category before using it
2010-03-25 00:20:54 +00:00
Stefan Kost
4a87fee780
jpegformat: add blank line to fix generated xml
2010-03-24 16:25:43 +02:00
Tristan Matthews
552cd26b43
osx: more compiler warning fixes
...
Avoid new warnings.
Fixes #613758 .
2010-03-24 00:19:02 +00:00
Benjamin Otte
a9a7b8e372
Fixes for -Waggregate-return
...
The flag wasn't added due to libexif using aggregate return values.
2010-03-23 01:16:25 +01:00
Stefan Kost
5ebf6444cb
i18n: build fixes: #if -> #ifdef for ENABLE_NLS
2010-03-22 18:07:45 +02:00
Benjamin Otte
240f494aa7
Add -Wold-style-definition
...
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
647cf64c01
Add -Wformat-nonliteral -Wformat-security flags
...
and fix the warnings
2010-03-22 16:22:22 +01:00
Arun Raghavan
8144fee47c
mpegvideoparse: Parse bitrate and emit as tag
...
This patch picks up the bitrate for the stream from the MPEG sequence
header and emits it as a tag on the source pad.
Fixes #599298 .
2010-03-22 12:44:54 +00:00
Benjamin Otte
33c2f5fb01
Add -Wwrite-strings
...
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
010789159d
Add -Wundef
...
and fix the warnings
2010-03-22 12:30:01 +01:00
Benjamin Otte
b7655bbd2e
Add -Wredundant-decls flag
...
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
f96e4f1581
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
46f4c7a6c1
siren: Run gst-indent script
...
Includes running dos2unix on decoder.c
2010-03-21 21:37:37 +01:00
Benjamin Otte
27b3e53d5d
legacyresample: remove unused file
2010-03-21 18:59:30 +01:00
Wim Taymans
e30f38531c
sdpdemux: disable loop and auto multicast join
...
Disable loopback of packets.
Disable autojoin of multicast groups in the sink because the source already
does that on the shared socket.
2010-03-19 11:13:30 +01:00
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01:00
Benjamin Otte
5258d372be
virtualdub: Remove
...
THe plugin is so hopelessly outdated, it's just not worth keeping.
2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
cadb0526d5
mpegtsdemux: fix minor memory leak in property getter
...
Don't leak the string returned by g_strjoinv(). While we're at it,
use GString to assemble the string to be returned.
2010-03-15 19:21:52 +00:00
Sebastian Dröge
5fe85915be
imagefreeze: Only start the task after a seek if a buffer was received already
2010-03-15 11:54:33 +01:00
Tim-Philipp Müller
e0175a40a2
asfmux: fix typo in property description
2010-03-13 18:55:22 +00:00
Raimo Järvi
46abe733c6
mpegvideoparse: Update caps when the sequence header changes
...
Fixes bug #612687 .
2010-03-13 06:03:32 +01:00
Mark Nauwelaerts
6631f50d59
camerabin: activate video bin before feeding data to it
...
Fixes #612615 .
2010-03-12 19:30:48 +01:00
Thiago Santos
ca30c1d915
qtmux: Use xmp on mp4mux and gppmux too
...
Do not restrict xmp to qtmux, but use it too
on mp4mux and gppmux
2010-03-12 11:50:48 -03:00
Edward Hervey
69a40a1591
jpegparse: Fix unitialized variable on macosx 10.5
2010-03-12 09:52:57 +01:00
Stefan Kost
3b78cc5eca
jpegformat: add xmp reading and writing support
...
Bump needed base version for new xmp helper library. Use xmp helpers in
jpegparse and jifmux.
2010-03-12 10:35:15 +02:00
Sebastian Dröge
7efecfc961
segmentclip: Add audio/video buffer segment clip elements
...
These elements clip the audio/video buffers to the configured segment
for the case when the upstream elements don't do this correctly.
2010-03-12 07:29:58 +00:00
Sebastian Dröge
93c938835c
imagefreeze: Set undefined framerate in sink getcaps function
2010-03-12 07:29:57 +00:00
Sebastian Dröge
0c170d9107
imagefreeze: Implement reverse playback and set buffer offsets
2010-03-12 07:29:57 +00:00
Sebastian Dröge
b0590069ec
imagefreeze: Add still frame stream generator element
2010-03-12 07:29:57 +00:00
Thiago Santos
5e88363430
qtmux: add xmp support
...
Adds xmp metatags adding to qtmux.
Fixes #609539
2010-03-11 16:42:31 -03:00
Tim-Philipp Müller
af5565a62b
qtmux: fix GST_ELEMENT_ERROR usage
...
We need to pass (NULL) rather than NULL for empty arguments.
2010-03-11 17:21:52 +00:00
Edward Hervey
5050967766
jpegformat: Fix unitialized variables
2010-03-11 17:58:25 +01:00
Rob Clark
c3156f0663
fix compile error with trace macro
...
Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:03 +01:00
Rob Clark
79faa0b9fa
mpeg4videoparse: fix compile error
...
gst/mpeg4videoparse/mpeg4videoparse.c:689: warning: comparison is always true due to limited range of data type
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:01 +01:00
Rob Clark
71d0e513fa
qtmux: fix compile error
...
gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:00 +01:00
Stefan Kost
da3a8fe0fc
invtelecine: inlcude stdlib.h for abs()
2010-03-11 11:14:53 +02:00
Lasse Laukkanen
190d54b096
camerabin: refactor cropping and adapting captured images
2010-03-11 10:36:27 +02:00
Teemu Katajisto
341d91520a
camerabin: fix NULL -> READY state change failure handling.
...
In some error situations the NULL -> READY state change failed
and camerabin elements were not destroyed.
2010-03-11 10:36:26 +02:00
Lasse Laukkanen
58bf3be730
camerabin: don't use gst_bus_poll() when creating preview image
...
Avoid using gst_bus_poll() as the docs recommend. Use
gst_bus_timed_pop_filtered() instead.
2010-03-11 10:36:26 +02:00
Víctor Manuel Jáquez Leal
f968ae6e72
inputselector: fix the LDFLAGS
2010-03-09 21:58:52 +00:00
Sebastian Dröge
31f4ac7b30
frei0r: Sync properties to the controller if one was set
2010-03-09 21:05:50 +00:00
Sebastian Dröge
125efbffcc
frei0r: Protect set/get property and processing functions from concurrent access
...
The frei0r documentation says that these functions must not be called
on the same instance from different threads at the same time. All
other functions are guaranteed to be threadsafe.
2010-03-09 21:05:50 +00:00
David Schleef
e98fc783c8
invtelecine: Add invtelecine element
...
Automatic inverse telecine element. Right now, it clumsily attempts
to rearrange video fields into frames that don't have combing effects,
and only works with 60i/24p content at 720x480. Later, it will handle
other pulldown variations, change caps and smooth timestamps
appropriately.
2010-03-09 12:34:36 -08:00
Benjamin Otte
87dbb0ab9d
wmnc: Update description
2010-03-09 19:16:30 +01:00
Benjamin Otte
2bc4626f73
nuvdemux: Update plugin description
2010-03-09 19:16:30 +01:00
Benjamin Otte
1982ca6e51
nsf: Name the plugin nsf, not nsfdec
...
The plugin in gstnsf.so should be named nsf, not nsfdec.
2010-03-09 19:16:30 +01:00
Thiago Santos
4a629eea25
qtmux: Rename 'avc-sample' to 'avc' in caps
...
Fixes #606662
2010-03-01 17:59:13 -03:00
Thiago Santos
55e2adda37
h264parse: Replace 'avc-sample' with 'avc' in caps
...
Fixes #606662
2010-03-01 17:59:10 -03:00
Michael Smith
bcdb7d4851
qtmux: Take lock around use of (non-threadsafe) tagsetter interface.
2010-02-26 11:50:25 -08:00
Thiago Santos
0922dbc22e
qtmux: write all udta children atoms
...
UDTA might have META and other children atoms
together, write them all.
2010-02-22 16:51:00 -03:00
Thiago Santos
ca136fe76b
qtmux: Use internal sink pads list
...
Due to GstCollectPads sink pads list being not reliably
iteratable (when not inside the collected function) this
patch adds a sink pads list to qtmux to be used when iterating
sink pads on reset function.
Fixes #609055
2010-02-22 10:50:49 -03:00
Tim-Philipp Müller
7c890c0b91
fpsdisplaysink: fix NULL ref and error handling if no video sink is found
...
If no video sink is set and autovideosink is not available for some
reason, post a proper error message on the bus when failing to
change state, and don't try to gst_object_ref() NULL pointers. Fixes
generic/states unit test when distchecking.
2010-02-19 10:35:10 +00:00
Stefan Kost
caf2be2115
jpegparse: return offset+length from _get_image_length().
...
_find_end_marker() find the position of the marker. EOI has a fixed length of 2
bytes that where missing. Fixes #608998
2010-02-17 13:12:00 +02:00
Tim-Philipp Müller
3e45e6ba9f
jpegparse: fix invalid memory access
...
See bug #608998 .
2010-02-17 01:32:12 +00:00
Mark Nauwelaerts
1da893ba68
qtmux: prevent leaking hdlr name
2010-02-16 17:13:09 +01:00
Mark Nauwelaerts
eed915a6fb
qtmux: support for ALAC
...
Fixes #580731 .
2010-02-16 16:26:48 +01:00
Mark Nauwelaerts
fdfdda8f09
qtmux: refactor building stsd entry 'wave' extension
2010-02-16 16:26:45 +01:00
Edward Hervey
31d3ec392f
hdvparse: Fix field error.
...
Spotted by Burkhard Plaum
2010-02-15 09:36:35 +01:00
Sebastian Dröge
f79842e308
Moved 'shapewipe' from -bad to -good
...
Fixes bug #584536 .
2010-02-12 11:35:17 +01:00
Sebastian Dröge
88af663e86
shapewipe: Preserve the input color values in all cases
2010-02-10 10:52:53 +01:00
Sebastian Dröge
dc551ed30f
shapewipe: Scale mask alpha values by the source alpha values
2010-02-10 10:50:49 +01:00
Sebastian Dröge
6ef01b3c59
shapewipe: Fix ARGB processing
2010-02-10 10:42:32 +01:00
Sebastian Dröge
e1c1a6c874
mpegtsdemux: Never flush more bytes than available
...
This could happen if the input doesn't contain any MPEG TS
data and the complete adapter content should be skipped.
2010-02-09 15:24:28 +01:00
Thiago Santos
bcbdd12fb3
qtmux: atomsrecovery: Fix compilation problem
...
Fixes a compilation error due to unused function result.
2010-02-08 11:51:52 -03:00
Sebastian Dröge
ad7eff41a8
shapewipe: Improve/add debug output
2010-02-08 08:26:33 +01:00
Sebastian Dröge
364c53fd61
shapewipe: Always hold the mask mutex before signalling the GCond
2010-02-08 08:20:44 +01:00
Sebastian Dröge
d875dce9bb
shapewipe: Move chain function error cases at the end of the function and add useful debug output
2010-02-08 08:19:48 +01:00
Sebastian Dröge
8d213d51f6
shapewipe: Fix race condition during shutdown that can lead to a deadlock
2010-02-08 08:12:11 +01:00
Sebastian Dröge
2d1f06103a
shapewipe: Drop mask buffer on FLUSH events
2010-02-08 08:11:33 +01:00
Sebastian Dröge
6df5795651
shapewipe: Update copyright year
2010-02-08 08:09:55 +01:00
Sebastian Dröge
87216b83b9
shapewipe: Don't reset properties when going PAUSED->READY
...
Also use defines for the default values of the properties.
2010-02-08 08:08:44 +01:00
Tim-Philipp Müller
a60d54c4e2
jpegparse: lower rank to NONE so it is not autoplugged for decoding
...
This element is too new and too untested to have it autoplugged.
2010-02-07 10:19:06 +01:00
Julien Moutte
d8117471f6
mpegtsmux: Fix a potential unref of a NULL pointer.
...
At first iteration we don't have any cached SPS/PPS buffer to free.
2010-02-04 19:45:42 +01:00
Marc-André Lureau
4d3a965476
mpegtsmux: add PAT/PMT in streamheader
...
The check for PAT/PMT buffers was suggested by
Zaheer Abbas Merali.
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:15 +00:00
Marc-André Lureau
1537023905
mpegtsmux: add pat-interval and pmt-interval properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:12 +00:00
Marc-André Lureau
130cf80752
mpegtsmux: fix PAT/PMT insertion frequency
...
The current code is comparing timestamps with different clock.
Let's use only the clock for PTS values.
Also rename frequency to interval, to avoid confusion. And remove
documentation about value 0, which won't work like documented.
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:09 +00:00
Marc-André Lureau
6d554a5560
mpegtsmux: marking non-delta unit, including pre-sections
...
This patch address the issue observed with KF timestamps
and delta flag. When a section is appended before the keyframe,
it is not marked as non-delta. It's preferable to mark the
first buffer non-delta.
This patch also simplify the initial patch written by thomas,
since it does not clutter tsmux/ with a delta flag passed
around only for GStreamer convenience.
https://bugzilla.gnome.org/show_bug.cgi?id=604908
2010-02-03 16:37:27 +00:00
Stefan Kost
6c6ea0b79b
jpegformat: add a basic jifmuxer
...
The new element can chop and reassemble the markers. I implements the tagsetter
and for now can serialize some tags to jpeg comments.
2010-02-03 15:13:30 +02:00
Thiago Santos
e1c1405396
qtmux: Adds moov recovery feature
...
Adds a new property to qtmux that sets a path to a file to write
and update data about the moov atom (that is not writen till the
end of the file). If the pipeline/app crashes during execution it
might be possible to recover the movie using the qtmoovrecover element.
qtmoovrecover is an element that is also a pipeline. It is not
meant to be used with other elements (it has no pads). It is merely
a tool/utilitary to recover unfinished qtmux files.
Fixes #601576
2010-02-02 14:03:38 -03:00
Stefan Kost
b9f8f5d281
jpegparse: improve parsing
...
Handle more app maker. Print app marker names to debug log. Remember last_marker
when parsing to avoid reparsing from the very begin.
2010-02-02 17:19:31 +02:00
Julien Moutte
6f1ee59df6
mpegtsmux: generate SPS/PPS header once and fix overflow
...
Some H264 packets can be as small as 5 bytes for repeated frames.
In such a situation the output buffer size was not big enough (5*2) to fit the
SPS/PPS header and the start codes. This corrupts the ES stream.
We now generate the SPS/PPS only once which is much more optimal and we now
know the size of the header to calculate the output buffer size more safely.
2010-02-02 12:23:24 +01:00
Michael Smith
80b3d80a58
qtmux: for fixed-sample size streams (PCM audio, etc) don't allocate an enormous
...
buffer that we then won't use at all.
2010-02-01 16:24:39 -08:00
Michael Smith
4b28a46bc7
qtmux: handle muxing adpcm correctly.
2010-02-01 16:23:48 -08:00
Michael Smith
e1fe7f357f
qtmux: Set the mdia hdlr name field to what quicktime uses. Fix writing it
...
since it's not null-terminated. Improves compatibility with some hardware
players.
2010-02-01 16:23:47 -08:00
Michael Smith
5753f8a3aa
qtmux: endianness in gstreamer is an int, not boolean.
2010-02-01 16:23:47 -08:00
Michael Smith
c2b1bebc02
mpeg4videoparse: parse more forms of codec_data
2010-02-01 16:23:47 -08:00
Stefan Kost
f3122f2b30
jpegparse: provide a getcaps function for src pad and improve setcaps
...
Previously jpegparse was failing in decodebin as the caps we were setting where not
setting all caps fields. We need the own getcaps function to report what we actualy
accept.
2010-02-01 17:46:29 +02:00
Stefan Kost
ab7e974dab
jpegparse: extract comment and post as metadata
2010-02-01 17:16:16 +02:00
Stefan Kost
e1dd998bd0
jpegformat: code cleanups
...
Move the jpeg marker defines to a header (to be used for jifmux). Rewrite some
comments. Use gst_element_class_set_details_simple(). Add more logging.
2010-02-01 17:15:38 +02:00
Stefan Kost
8bd0f42017
jpegformat: move plugin part to speparate file, so that we can add the jifmux
2010-01-29 12:25:08 +02:00
Arnout Vandecappelle
bb5331e272
jpegparse: new jpeg parser element. FIxes #583098
...
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
2010-01-29 11:41:15 +02:00
Stefan Kost
b0533bfdff
camerabin: don't log NULL caps, also downgrade to DEBUG as it is very verbose
...
This debug log entry was also not ment to be used in the failure case.
2010-01-28 14:57:50 +02:00
Tim-Philipp Müller
2cc409861c
dataurisrc: add start function so we can error out properly if no uri is set
...
Also save a set URI after it has been parsed successfully, so that _get_uri()
actually works.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
766c52766e
dataurisrc: don't post error message when setting the URI failed
...
There's a gboolean return for that, and the messages don't really
add anything useful.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
61c6c38bd0
dataurisrc: must release the object lock before using GST_ELEMENT_ERROR
2010-01-28 00:08:16 +00:00
Mark Nauwelaerts
a42e890470
qtmux: streamline moov data memory storage
...
In particular, use arrays rather than (double) linked lists.
2010-01-27 12:56:18 +01:00
Mark Nauwelaerts
87eb6333da
audioparsers: rename baseparse GType name to avoid possible conflicts
2010-01-27 12:45:57 +01:00
Mark Nauwelaerts
df4c4cc703
h264parse: use correct h264_parse prefix in function name
2010-01-27 12:41:57 +01:00
Thiago Santos
f815c46f5b
qtmux: g_free is NULL safe
2010-01-26 13:44:04 -03:00