| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
By default the example floods the screen with the detected face values.
Add an option to avoid this for frail terminals.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
"/dev/video0" is the default device of v4l2src, setting it to this is
redundant.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673925
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=611157
|
| |
|
|
|
|
| |
This should help people figure out how to use the example a bit better
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
The widget already does that.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
two sinks are provided. gtksink which is a cairo/software based renderer
and gtkglsink which utilises the GL support in gtk and gstreamer.
|
|
|
|
|
|
| |
libtool: error: ignoring unknown tag OBJC
and
clang: error: argument unused during compilation: '-pthread'
|
|
|
|
|
| |
Highly unlikely to have 0 captures, but protect from crashes in the future by
doing none of the math if there is no data.
|
|
|
|
|
| |
Not all platforms have wayland support. Handle that gracefully at
compile time
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add a slider to modify the zoom in camerabin
|
|
|
|
| |
VBox and HBox are now simply Box
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
translating outside the clip region doesn't work
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=739681
|
|
|
|
|
|
|
| |
Instead of prividing texture and size directly.
And apply changes to examples.
https://bugzilla.gnome.org/show_bug.cgi?id=739681
|
| |
|
| |
|
|
|
|
|
| |
Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer
which can be placed inside a Core Animation render tree.
|
|
|
|
|
| |
Don't quit on Warning.
Print out a message when there is an Error or Warning.
|
|
|
|
|
| |
Show gtk window even when there are no tags, to always have visual feedback
about the pipeline running.
|
| |
|
|
|
|
| |
Simplify the bus_callback to make it consisten with other examples.
|
| |
|
|
|
|
| |
ret is only used once, we don't need to store it in a variable for that.
|
|
|
|
|
|
| |
should unref caps after set to profile. profile will ref it.
https://bugzilla.gnome.org/show_bug.cgi?id=744219
|
|
|
|
|
|
|
| |
should unref after set object. The object will be refed when set
property.
https://bugzilla.gnome.org/show_bug.cgi?id=744219
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|