summaryrefslogtreecommitdiff
path: root/tests/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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
* glimagesink: provide GstSample in client-draw signalJulien Isorce2015-03-148-45/+98
| | | | | | | Instead of prividing texture and size directly. And apply changes to examples. https://bugzilla.gnome.org/show_bug.cgi?id=739681
* sdlshare: use glupload and unmap frameJulien Isorce2015-03-141-1/+3
|
* examples: initialize NSApp at the beginningJulien Isorce2015-03-141-3/+3
|
* applemedia: new AVSampleBufferLayerSinkMatthew Waters2015-02-244-2/+152
| | | | | Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer which can be placed inside a Core Animation render tree.
* mxf-example: don't quit on WarningLuis de Bethencourt2015-02-211-3/+20
| | | | | Don't quit on Warning. Print out a message when there is an Error or Warning.
* mxf-example: always show gtk windowLuis de Bethencourt2015-02-211-0/+1
| | | | | Show gtk window even when there are no tags, to always have visual feedback about the pipeline running.
* mxf-example: merge returns in g_value_to_string()Luis de Bethencourt2015-02-211-12/+6
|
* mxf-example: make bus_callback consistentLuis de Bethencourt2015-02-211-4/+4
| | | | Simplify the bus_callback to make it consisten with other examples.
* mxf-example: fix usage of argc and argvLuis de Bethencourt2015-02-211-4/+4
|
* camerabin examples: remove unneeded variableLuis de Bethencourt2015-02-211-4/+4
| | | | ret is only used once, we don't need to store it in a variable for that.
* camerabin examples: memory leak in camerabin examples codeSong Bing2015-02-101-19/+34
| | | | | | should unref caps after set to profile. profile will ref it. https://bugzilla.gnome.org/show_bug.cgi?id=744219
* camerabin examples: memory leak in camerabin examples codeSong Bing2015-02-101-2/+8
| | | | | | | should unref after set object. The object will be refed when set property. https://bugzilla.gnome.org/show_bug.cgi?id=744219
* gl/qt/examples: update for NSOpenGL -> CGL changeMatthew Waters2015-01-231-1/+1
|
* gl/examples: fixup sdl example for gluPerspective removalMatthew Waters2014-12-111-10/+10
|
* gl/cocoa: Fix example on Mac OS X 10.10Thijs Vermeir2014-12-011-2/+2
| | | | | | | | | Using NSApp directly seems to confuse something, as the compiler was expecting an id<NSFileManagerDelegate>. Switched to using [NSApplication sharedApplication], and specified the delegate protocol on the window class as well. Similar to https://bugzilla.gnome.org/show_bug.cgi?id=738740