summaryrefslogtreecommitdiff
path: root/tests/examples
Commit message (Collapse)AuthorAgeFilesLines
* gl/examples/qt: restrict the GL API to opengl where neededMatthew Waters2016-03-173-0/+9
| | | | | Until the examples are ported to opengl3/gles2, they will not work with any other GL api.
* gl/examples/gtk: call XInitThreadsMatthew Waters2016-03-177-9/+48
| | | | Fixes some sporadic X11 threading assertions.
* gl/examples/cube*: choose opengl by defaultMatthew Waters2016-03-102-16/+16
| | | | | | The examples don't work with any other GL API. Also fix the yuv example to not translate the cube out of the clipping area.
* gl/examples/fxtest: add needed glupload to the pipelineMatthew Waters2016-03-101-3/+4
| | | | Fixes a negotiation failure in the example
* gtk: examples: #define GST_USE_UNSTABLE_API and link with X11_LIBSSebastian Dröge2016-03-051-4/+8
| | | | | X11_LIBS is needed for XInitThreads() and without the #define we get warnings about the GL API being still unstable.
* tests: fix warning in qml exampleHolger Kaelberer2016-02-011-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756082
* clutter: Fix compilation error in GL examplesSebastian Dröge2015-12-141-1/+1
| | | | | | | | | | | | | | | | | | | Include gst/gl.h instead of specific headers to prevent such problems also in the future. In file included from ../../../../gst-libs/gst/gl/gl.h:47:0, from ../../../../gst-libs/gst/gl/gstglbasememory.h:137, from ../../../../gst-libs/gst/gl/gstglmemory.h:29, from cluttershare.c:39: ../../../../gst-libs/gst/gl/gstglmemorypbo.h:51:20: error: field ‘mem’ has incomplete type GstGLMemory mem; ^ ../../../../gst-libs/gst/gl/gstglmemorypbo.h:124:24: error: field ‘parent’ has incomplete type GstGLMemoryAllocator parent; ^ ../../../../gst-libs/gst/gl/gstglmemorypbo.h:134:29: error: field ‘parent_class’ has incomplete type GstGLMemoryAllocatorClass parent_class; ^
* tests: put the waylandsink example window.ui file in EXTRA_DISTGeorge Kiagiadakis2015-11-221-0/+2
|
* tests: fix linking waylandsink example with the gstwayland libraryGeorge Kiagiadakis2015-11-221-1/+1
| | | | | | First, use top_builddir, otherwise it fails in out-of-source builds. Second, link to the libtool archive directly to let make understand the dependency.
* Remove unnecessary NULL checks before g_free()Reynaldo H. Verdejo Pinochet2015-11-181-2/+1
| | | | g_free() is NULL-safe
* tests/examples: add a waylandsink exampleGeorge Kiagiadakis2015-11-184-2/+400
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748322
* mxfdemux-structure: Sync fakesink state with the bin to make the application ↵Sebastian Dröge2015-10-211-1/+5
| | | | work at all
* glshaderelement: implement on-demand create-shader signallingMatthew Waters2015-10-171-29/+22
| | | | | | One may not have an GstGLContext available or current in the thread where one would need to update the shader. Support this by signalling create-shader whenever the one-shot 'update-shader' is set to TRUE.
* gl/examples: add a live shader demo using the new GstGLSLStageMatthew Waters2015-10-172-1/+367
| | | | | | | Implemented with videotestsrc ! glshader ! glupload ! gtkglsink Errors on an invalid shader compilation are ignored however any error provided by the glsl compiler is printed to stdout.
* gstreamer: bad: Fix memory leaks when context parse failsVineeth TM2015-10-026-7/+18
| | | | | | | | | | When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks. Free'ing the same. And replacing g_error_free with g_clear_error, which checks if the error being passed is not NULL and sets the variable to NULL on free'ing. https://bugzilla.gnome.org/show_bug.cgi?id=753854
* configure.ac: fix build when the uvch264 plugin is not selectedArnaud Vrac2015-08-191-3/+1
| | | | | | | | | | Instead of checking for the gstreamer-video-1.0 package is installed, just assume it is since we already check for the -base dependency. With this replace the GST_VIDEO_* variables in makefiles and directly link with libgstvideo. https://bugzilla.gnome.org/show_bug.cgi?id=753820
* examples: facedetect: add silent optionLuis de Bethencourt2015-08-171-11/+17
| | | | | By default the example floods the screen with the detected face values. Add an option to avoid this for frail terminals.
* examples: facedetect: only create variables when neededLuis de Bethencourt2015-08-101-10/+11
| | | | | | The variables to store face values are only needed if they will be used to control the volume. Which isn't the default to avoid potentially being very loud accidentally. Only create variables when needed.
* examples: facedetect: make volume control optionalLuis de Bethencourt2015-08-101-24/+45
|
* examples: facedetect: only set to playing when it's not alreadyLuis de Bethencourt2015-08-081-2/+10
|
* examples: opencv: remove unnecessary setting of a propertyLuis de Bethencourt2015-08-082-6/+0
| | | | | "/dev/video0" is the default device of v4l2src, setting it to this is redundant.
* facedetect: Add unit testVanessa Chipirrás2015-07-312-2/+211
| | | | | | | | | | | | I created four utilities of the detected features: 1- If you hide your mouth, the volume of video is low. 2- If you hide the nose, the volume of the video is up. 3- If you hide the full face, the video stops. You can see proof of this here: https://www.youtube.com/watch?v=pxzejNKV_WQ https://bugzilla.gnome.org/show_bug.cgi?id=748377
* new qt5 qml GL video sinkMatthew Waters2015-07-105-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | Very much in the same spirit as the Gtk GL sink Two things are provided 1. A QQuickItem subclass that renders out RGBA filled GstGLMemory buffers that is instantiated from qml. 2. A sink element that will push buffers into (1) To use 1. Declare the GstGLVideoItem in qml with an appropriate objectName property set. 2. Get the aforementioned GstGLVideoItem from qml using something like QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); QObject *rootObject = engine.rootObjects().first(); QQuickItem *videoItem = rootObject->findChild<QQuickItem *> ("videoItem"); 3. Set the videoItem on the sink https://bugzilla.gnome.org/show_bug.cgi?id=752185
* examples: move vp8 parser test to codecparser example directoryTim-Philipp Müller2015-06-212-1/+403
|
* examples: add small jpeg codecparser testTim-Philipp Müller2015-06-213-3/+317
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673925
* 3dvideo: Add simple gtk example stereoscopic video playerJan Schmidt2015-06-197-1/+1047
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=611157
* gl/examples: update qt examples for api changesMatthew Waters2015-06-1512-43/+39
|
* examples: playout: Add better help textNirbheek Chauhan2015-06-121-8/+12
| | | | This should help people figure out how to use the example a bit better
* examples: playout: Decrement the currently-playing counter correctlyNirbheek Chauhan2015-06-121-2/+3
| | | | | Only do that when we're removing an item that was playing, otherwise we'll mess things up while trying to edit the play queue (playlist).
* playout: New example for seamless audio/video playbackNirbheek Chauhan2015-06-122-0/+1109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An example app that takes video URIs as command line arguments and switches between them seamlessly one after the other using compositor and audiomixer. Both audio-video and video-only media files are valid inputs, but mixing files of both types in a single invocation is cumbersome to support, and hence does not work. The example attempts to keep the audio stream moving along perfectly, and duplicates video frames where necessary to cover gaps in the video timestamps using the 'ignore-eos' videoaggregator pad property. Ensuring seamless (and mostly-glitch-free) switching is harder than it sounds, and hence the example contains plenty of pad probes and running time calculations to make things work. The GPtrArray play_queue contains items that are being played back, have been prepared for playback, and will be played back in the future. The queue itself is mutable besides the first two items (playing and prepared). The item that has been prepared should not be edited or removed since it has been prepared in advance to be activated immediately on the current item's EOS. The example also has support for switching to the next item in the queue prematurely; see the --switch-after/-s flag to the application. Note: the output video is hard-coded at 1280x720, and input video is scaled as needed to fit this size. Set OUTPUT_VIDEO_WIDTH/HEIGHT to change this. https://bugzilla.gnome.org/show_bug.cgi?id=748947
* gstgtk: No need to realize the widgetNicolas Dufresne2015-06-111-2/+0
| | | | The widget already does that.
* gstgtk: Don't leak the widgetNicolas Dufresne2015-06-112-0/+2
| | | | | | g_object_get() returns a ref, gtk_container_add() only ref_sink(). That mean we still need to unref afterward. This leak was hiding a reference bug previously present.
* gtk: Add missing CFLAGS to exampleSebastian Dröge2015-06-111-0/+2
|
* Implement gtk sinksMatthew Waters2015-06-114-2/+415
| | | | | two sinks are provided. gtksink which is a cairo/software based renderer and gtkglsink which utilises the GL support in gtk and gstreamer.
* gl/example: fix build error when compiling cocoa-videooverlayJulien Isorce2015-06-041-5/+5
| | | | | | libtool: error: ignoring unknown tag OBJC and clang: error: argument unused during compilation: '-pthread'
* examples: gst-camerabin2-test: protect from division by zeroLuis de Bethencourt2015-06-031-2/+4
| | | | | Highly unlikely to have 0 captures, but protect from crashes in the future by doing none of the math if there is no data.
* examples: Fix gl usage without wayland supportEdward Hervey2015-06-011-1/+6
| | | | | Not all platforms have wayland support. Handle that gracefully at compile time
* gl/examples: update gtk examples for gluploadMatthew Waters2015-05-312-10/+10
|
* gl/examples: update gtk examples for waylandMatthew Waters2015-05-312-16/+100
|
* tests/gl/gtk: implement setting a wayland display/surfaceMatthew Waters2015-05-312-0/+53
|
* Fix flags order in GL examples for uninstalled buildJan Schmidt2015-05-213-7/+6
|
* examples: gst-camera: add zoom property to UIThiago Santos2015-04-273-0/+46
| | | | Add a slider to modify the zoom in camerabin
* examples: gst-camera: remove widgets deprecated in GTK3.0Thiago Santos2015-04-271-11/+12
| | | | VBox and HBox are now simply Box
* examples: gst-camera: update to GTK3Thiago Santos2015-04-273-19/+7
| | | | | | When opening the .ui file it complains about being for GTK 2 and automatically updates it to GTK3. Commit this version and update the makefile
* examples: motioncells: remove GPL3 code we don't needTim-Philipp Müller2015-04-255-685/+60
| | | | | | | | If 95% of the code of an example app consists of GObject code, maybe that's defeating the point a little. So just remove a lot of that and trim down the example to the absolute minimum. Also removes the last remaining GPL3 licensed code in -bad.
* examples: motioncells: simplify property settingTim-Philipp Müller2015-04-251-105/+2
|
* examples: motioncells: port to 1.xTim-Philipp Müller2015-04-251-85/+55
|
* examples: motioncells: relicense opencv example to LGPLv2Robert Jobbagy2015-04-252-20/+24
|
* gl/examples: fixup generic cube example for NDCMatthew Waters2015-03-141-1/+4
| | | | translating outside the clip region doesn't work
* gl/examples: add sdlshare2 that uses glimagesink to output texturesJulien Isorce2015-03-143-1/+408
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=739681