Commit graph

2054 commits

Author SHA1 Message Date
Sebastian Dröge
e618365a19 gme: Post an error message on the bus for fatal errors
Also don't use GST_FLOW_IS_FATAL().
2010-09-21 12:26:36 +02:00
Sebastian Dröge
2137ae524d sfsink: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
David Schleef
62a9383527 basevideodecoder: add capture pattern handling
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Sebastian Dröge
c28c480eb9 cog: Allow compilation without orc
Also don't ignore --disable-orc. Fixes bug #629897.
2010-09-17 08:43:48 +02:00
Stefan Kost
bc1c9ac18e metadata: remove metadata plugin
This plugins functionality is replaced by utility libraries in base for exif
and xmp. Jpeg images can use this via jpegformat plugin.
Fixes #486659
2010-09-15 18:22:51 +03:00
Tristan Matthews
0f9a31880a jack: added translatable text for server not found error 2010-09-14 17:40:27 +03:00
Olivier Crête
3cb4a7aefd celtenc: Change bitrate to bits/sec 2010-09-13 17:22:40 -04:00
Tim-Philipp Müller
960ccc118f opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
41b9b76fa5 opencv: avoid 'unused' compiler warnings with inline functions in opencv headers
Override CV_INLINE to avoid 'unused' gcc warnings. GLib will take care of defining
'inline' sufficiently and OpenCV's define isn't good enough to avoid 'unused'
compiler warnings (at least in version 2.1.0).
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
e2b45f5155 opencv: update plugin source package name and origin 2010-09-09 15:29:31 +01:00
Thiago Santos
19ba4c8d19 facedetect: Add more parameters
Expose the parameters of cvHaarDetectObjects in facedetect
element.
2010-09-08 23:59:38 -03:00
Thiago Santos
27fedbb352 opencv: Refactor files structure
Remove internal folders and put all code inside the main plugin
folder. Also fixes some building warnings.
2010-09-08 17:15:51 -03:00
Thiago Santos
cf86df2d00 opencv: Adds new plugin opencv
Moves opencv plugin from http://github.com/Elleo/gst-opencv
into -bad module.
2010-09-08 17:15:51 -03:00
Thiago Santos
0c61434945 facedetect: Post an useful message
Add a message to be post when faces are found on a frame that
contains all faces on a single message and also has
timestamp/running/segment times for that buffer so it
can be identified.

This message is called 'facedetect' and has a 'faces' list
of structures with all faces.

The old 'face' message is still posted for each face found, but
it is not really useful as it doesn't have any reference to the
buffer that generated it.
2010-09-08 17:15:51 -03:00
Thiago Santos
77fe3e6a07 facedetect: Use GstOpencvVideoFilter as the base class
Port facedetect to use GstOpencvVideoFilter as the base class
to inherit all the goodness that GstBaseTransform/GstVideoFilter
already handles.
2010-09-08 17:15:51 -03:00
Thiago Santos
dcb97354bf opencvbasetrans: Use GstVideoFilter as the base class
Port from GstBaseTransform to GstVideoFilter as the base class.
2010-09-08 17:15:50 -03:00
Thiago Santos
4c03c980ce cvlaplace: adds new cvlaplace element
Adds new cvlaplace element.

Also adds a new opencvbasetransform function to be overriden
by children classes: the cv_set_caps, it allows children classes
to know what are they going to handle and prepare properly.
2010-09-08 17:15:50 -03:00
Thiago Santos
e17b555efd Adds new element cvsobel 2010-09-08 17:15:50 -03:00
Thiago Santos
8f5b32f764 Adds new element cvequalizehist 2010-09-08 17:15:50 -03:00
Thiago Santos
f38911209d Adds new elements cvdilate and cverode
Adds 2 similar elements (so similar they have their own baseclass),
cvdilate and cverode.
2010-09-08 17:15:50 -03:00
Thiago Santos
128091a1cc cvsmooth: Improve parameters docs 2010-09-08 17:15:50 -03:00
Thiago Santos
f770de8a8b cvsmooth: Deactivating blur-no-scale
Deactivate blur-no-scale because basetransform doesn't provide a way
to override getcaps for pads, always using templatecaps independent
of properties.
2010-09-08 17:15:50 -03:00
Thiago Santos
971fe3ae0c cvsmooth: Add support for video/x-raw-gray 2010-09-08 17:15:50 -03:00
Thiago Santos
824d69d5ad Adding gstopencvutils
Adds a file to keep utilitary functions together
2010-09-08 17:15:50 -03:00
Thiago Santos
f47c4d3905 cvsmooth: Adds new element cvsmooth
Adds new cvsmooth element
2010-09-08 17:15:50 -03:00
Thiago Santos
6fd5cb9b62 gstopencvbasetrans: Adds this new base class
Adds GstOpencvBaseTransform as base class for simple 1:1
opencv filters
2010-09-08 17:15:49 -03:00
Thiago Santos
b8b0c39a63 pyramidsegment: Allocate a new buffer for output
Use a newly allocated buffer for output, and release the intermediary
image used.

Also add a TODO for performance improvement
2010-09-08 17:15:49 -03:00
Thiago Santos
5a9d9a8ae0 faceblur: facedetect: templatematch: textwrite: Set buffer to writable
These elements operates in place, set buffer to writable before
operating.
2010-09-08 17:15:49 -03:00
Thiago Santos
42984056db edgedetect: Fix chain buffer handling
Allocate a new output buffer instead of using the input buffer
pointing to the internal cvCEdge opencv's IplImage data, which
might change, consequently changing the buffer.
2010-09-08 17:15:49 -03:00
Thiago Santos
069c1369a2 configure: enable -Werror to improve code
-Werror on git version is useful to keep code clean.
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
a33e117af7 Added the property for setting the RGB colours.
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
6d4f9ceeb5 Added the property for setting the "thickness" of font
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
ce5eb639cd Added the property for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
d962551fb7 added the propery for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Mike Sheldon
96a769dc28 Apply Stefan's faceblur fixes to facedetect 2010-09-08 17:15:48 -03:00
Sreerenj Balachandran
fa8210fe94 Add simple text overlay plugin 2010-09-08 17:15:48 -03:00
Stefan Kost
af83f0afd7 faceblur: fix handling of profile property.
Dup and free the string. Fixes leaking new values and avoids crashing
gst-inspect.
2010-09-08 17:15:48 -03:00
Mike Sheldon
f35f701996 Fix includes in template matching element 2010-09-08 17:15:48 -03:00
Mike Sheldon
babe97ca50 Bring code in to line with general Gstreamer standards 2010-09-08 17:15:48 -03:00
Mike Sheldon
0961dbefd4 Fix segfault in template match element if no template has been set
Add template matching python example
Add autotool, libtool and pkgconfig dependencies to debian control file
2010-09-08 17:15:48 -03:00
Mike Sheldon
f8a49aeabd Add a plugin for automatically blurring faces in videos and images 2010-09-08 17:15:48 -03:00
Noam
6bb2bbd9c3 Added control for changing method 2010-09-08 17:15:48 -03:00
Noam
2195e2b123 Added templatematch element 2010-09-08 17:15:48 -03:00
kapil
cf9d13bb4c Registering all elements under opencv plugin 2010-09-08 17:15:48 -03:00
Mike Sheldon
2f77a06d23 Fix the profile parameter in the facedetect element to accept a string correctly 2010-09-08 17:15:47 -03:00
Mike Sheldon
4b9ae0088b Release OpenCV images when finalizing elements 2010-09-08 17:15:47 -03:00
kapil
046ca445b8 Fixed compile errors 2010-09-08 17:15:47 -03:00
Mike Sheldon
aae2576679 Make face detect send a bus message when a face is detected
Write a simple python example for face detection
2010-09-08 17:15:47 -03:00
Mike Sheldon
7408e5393e Add face detection element
Clean up some generated files
Update a few old comments
2010-09-08 17:15:47 -03:00
Mike Sheldon
b96c01f29a * Remove some autotools generated files 2010-09-08 17:15:47 -03:00
Mike Sheldon
1af8fa1066 * Make it possible to set threshold2 at runtime
* Implement pyramid segmentation element
* Make masking optional on edgedetect
* Clean up edgedetect, add element details
* Implemented edge detect element
2010-09-08 17:15:47 -03:00
Tristan Matthews
716fffb098 jack: added client property 2010-09-06 23:22:33 +03:00
Tristan Matthews
d8ee7f01de jack: removed unused file gstjackbin.c
This is a 0.8 leftover.
2010-09-06 22:33:24 +03:00
Jonathan Rosser
62ae33d3d6 cog: Fix cog_virt_frame_new_convert_u8()
Conversion was using uninitialized data instead of source frame.
Fixes #626425.
2010-09-05 15:37:17 -07:00
David Schleef
eea40e46e2 cog: Fix generated Orc code
Also drop required Orc back down to 0.4.7.
2010-09-05 12:08:10 -07:00
Edward Hervey
a80165d23b timidity: Fix unitialized variables (gcc 4.4.4) 2010-09-05 11:28:16 +02:00
David Schleef
acad667e43 cog: update disted Orc files 2010-09-04 11:35:16 -07:00
David Schleef
7d28505c4e sdlvideosink: Re-enable YVYU and UYVY
YVYU on my machine appears to be doing software conversion
(and doing it incorrectly).
2010-09-04 11:22:26 -07:00
David Schleef
135908dfe1 cog: Add fast paths for colorspace conversion 2010-09-04 11:22:25 -07:00
David Schleef
05992323b6 cog: Improvements in colorspace and scaler
Add fast paths for YUV->YUV conversions and Orc code for all.
Use Orc for horizontal resampling.
2010-09-04 11:22:23 -07:00
David Schleef
785fb87caf cog: minor cleanups
Improve element descriptions, remove unused files, code cleanup.
2010-09-04 11:15:20 -07:00
Sebastian Dröge
8af858cf8f cogcolorspace: Classify as Filter/Converter/Video instead of effect
Fixes bug #628570.
2010-09-04 15:01:30 +02:00
Tim-Philipp Müller
18b0375241 Release 0.10.20 2010-09-03 00:23:02 +01:00
Tim-Philipp Müller
d6c908ea59 rtmpsrc: fix wrong use of GST_ELEMENT_ERROR 2010-09-02 22:39:33 +01:00
Sebastian Dröge
315c690347 0.10.19.5 pre-release 2010-08-30 16:01:36 +02:00
Sebastian Dröge
4d7ce8c506 0.10.19.4 pre-release 2010-08-21 21:42:04 +02:00
Philip Jägenstedt
e72574124f vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible
This fixes an infinite loop if an EOS event is received before
GstBaseVideoDecoder::start() is called, e.g. immediately when the
pads are activated.

Fixes bug #626815.
2010-08-19 11:17:06 +02:00
Tim-Philipp Müller
fd4437ad90 gsettings: fix make distcheck
Clean up file we generated at build time.
2010-08-11 17:19:57 +01:00
Tim-Philipp Müller
61f7a1e12b 0.10.19.2 pre-release
This commit is out of sequence, it really belongs between commits
1509833141 (Automatic update of
common submodule) and dd26f378b0
(configure: Fix the CELT checks to ...)
2010-08-11 11:35:23 +01:00
David Hoyt
f724428e07 neonhttpsrc: add connect-timeout and read-timeout properties
https://bugzilla.gnome.org/show_bug.cgi?id=625076
2010-08-06 11:07:13 +01:00
Tim-Philipp Müller
640a1ff0e8 neonhttpsrc: add "cookies" property
Based on patch by: Sameer Naik

https://bugzilla.gnome.org/show_bug.cgi?id=625174
2010-08-06 10:44:24 +01:00
Alessandro Decina
fc9cfb0c00 rtmpsrc: fix warning on osx. 2010-07-30 23:59:10 +02:00
Sebastian Dröge
e245709f96 alsaspdifsink: Use new gst_audio_clock_new_full() 2010-07-16 17:59:09 +02:00
Thiago Santos
8d5755a5e2 gsettings: Fix maintainer-clean when it is not available
Do not use @GSETTINGS_RULES@ if gsettings is not available
to avoid maintainer-clean failing.
2010-07-13 00:41:35 -03:00
Sebastian Dröge
2dba63a19c vp8enc: Add support for enabling automatic insertion of alt-ref frames by the encoder 2010-07-10 16:52:10 +02:00
Sebastian Dröge
98048829b0 vp8enc: Fix handling of invisible/alt ref frames 2010-07-10 16:51:53 +02:00
Sebastian Dröge
c15b64a515 wildmidi: Correctly initialize properties with the default values again 2010-07-08 15:07:25 +02:00
Sebastian Dröge
82c408a6d5 wildmidi: Use PROP_ instead of ARG_ for property enums and use G_PARAM_STATIC_STRINGS
Also don't use G_PARAM_CONSTRUCT, it does not make sense for elements.
2010-07-08 07:58:48 +02:00
Sebastian Dröge
191c2d38ea wildmidi: Add support for wildmidi 0.2.3
Fixes bug #623722.
2010-07-07 08:37:12 +02:00
Sebastian Dröge
3e4eacce3c celt: Improve debugging 2010-07-05 10:09:36 +02:00
Sebastian Dröge
042419baa1 celtenc: Add support for setting the prediction mode and the start band 2010-07-05 10:08:30 +02:00
Sebastian Dröge
ab439a95bb celt: Remove support for celt < 0.5
celt 0.5 was released more than a year ago and the bitstream is
incompatible with the current one anyway.
2010-07-05 09:52:18 +02:00
Sebastian Dröge
3018802bda celt: Fix compilation with celt 0.8
Fixes bug #623550.
2010-07-05 09:48:20 +02:00
Alessandro Decina
01dae19624 gsettings: fix some more warnings 2010-07-05 09:32:30 +02:00
Alessandro Decina
c71e8a9341 gsettings: fix a compiler warning 2010-07-05 09:28:49 +02:00
Sebastian Dröge
0d2fc6a730 gsettings: Initial version of GSettings plugin
This provides audio/video sources and sinks.

Fixes bug #616265.
2010-07-04 17:00:35 +02:00
Sebastian Dröge
dcd0b3599c vp8: Add initial documentation, based on the theoradec/theoraenc documentation 2010-07-03 17:47:29 +02:00
Sebastian Dröge
8c85e1c0a0 vp8: Move structure definitions, etc to public header files for gtk-doc 2010-07-03 17:34:58 +02:00
Robert Swain
960deb823f cog: Use g_malloc() instead of malloc()
malloc() needs stdlib.h, which isn't included here and the
memory is freed later with g_free() anyway.
2010-06-27 17:48:50 +02:00
Tim-Philipp Müller
144d43bcef assrender, ivfparse, jpegformat: fix compiler warnings with debugging disabled in core 2010-06-27 11:25:20 +01:00
Thiago Santos
1e01bf6b20 metadata: Include config.h in metadata*.c files
Include config.h in metadataexif.c in metadata plugin so
that HAVE_EXIF gets defined and exif metadata is properly
generated.

Also adds config.h to all .c files missing it in metadata plugin

Fixes #622692
2010-06-25 11:42:14 -03:00
Sebastian Dröge
af4c066bc3 rtmp: All read return values smaller than zero are failures 2010-06-23 22:19:33 +02:00
Sebastian Dröge
c15487961b rtmpsrc: Do some sanity checks before accepting an URI
Fixes bug #622369.
2010-06-23 21:46:42 +02:00
Stefan Kost
4536c54469 wildmidi: fix previous commit
We were leaking the element refcount and not the pad one.
2010-06-21 23:50:54 +03:00
Stefan Kost
f876bd0658 wildmidi: don't leak the element refcount 2010-06-21 22:35:01 +03:00
Sebastian Dröge
351bb1bbb6 vp8enc: Implement multipass encoding
Fixes bug #621348.
2010-06-15 11:51:41 +02:00
Sebastian Dröge
0679c76b64 vp8enc: Set VP8E_SET_CPUUSED to 0
This setting controls how much CPU can be used by the encoder, specified
in fractions of 16. Negative values mean strict enforcement of this
while positive values are adaptive.

The default value is -4, which means that we're not running as fast
as possible and probably are wasting some quality. 0 is the recommended
default by libvpx upstream.
2010-06-14 15:56:24 +02:00
Sebastian Dröge
c2809e6843 vp8enc: Use VPX defines for REALTIME, GOOD/BEST quality deadlines instead of our own
These are the values used for the speed property.
2010-06-14 15:52:28 +02:00
Mark Nauwelaerts
268636c880 dtsdec: prevent compiler warning if orc not present 2010-06-14 15:48:34 +02:00