path: root/examples/multimedia/video/
diff options
authorVal Doroshchuk <>2019-05-16 14:35:16 +0200
committerVaL Doroshchuk <>2019-10-18 12:56:41 +0200
commit033bc3e0c5c2fc81fae157bea84469676575941b (patch)
treea057d39d5a1a6d9beca1f34ae505242545ccafcd /examples/multimedia/video/
parent0a7482b97a9247f728730c1a2cf222f8a24a88c4 (diff)
GStreamer: Add support of Androidv5.14.0-beta2
Since for Android GStreamer is distributed in archives, and should be staticlly linked, so by default it is not built and should be explicitly enabled within configuring by -gstreamer option. (currently it is auto and enabled if gstreamer exists) ("libs" of the gstreamer library in configure.json is empty to prevent any libs to be added while building any code that uses gstreamer library) Some base gst archives are fully included to Qt5MultimediaGstTools. Users would need to just use: QT += multimediagsttools-private Before building, GSTREAMER_ROOT_ANDROID env var should be set to point to gst binaries. Also all necessary plugins must be registered in user's code by GST_PLUGIN_STATIC_DECLARE/GST_PLUGIN_STATIC_REGISTER macros after QGstUtils::initializeGst(). and e.g. project file might contain: INCLUDEPATH += $$(GSTREAMER_ROOT_ANDROID)/armv7/include/ \ $(GSTREAMER_ROOT_ANDROID)/armv7/include/gstreamer-1.0 \ $(GSTREAMER_ROOT_ANDROID)/armv7/include/glib-2.0 \ $(GSTREAMER_ROOT_ANDROID)/armv7/lib/glib-2.0/include LIBS += -L$$(GSTREAMER_ROOT_ANDROID)/armv7/lib/ \ -L$$(GSTREAMER_ROOT_ANDROID)/armv7/lib/gstreamer-1.0 \ __here_list_of_plugins__ See video/android/gstreamer example Change-Id: Ie4e586fa8489f1bd23622763f5578abed1729272 Task-number: QTBUG-72125 Reviewed-by: Andy Shaw <> Reviewed-by: Ville Voutilainen <>
Diffstat (limited to 'examples/multimedia/video/')
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/multimedia/video/ b/examples/multimedia/video/
index f38cbc124..ef5bc849d 100644
--- a/examples/multimedia/video/
+++ b/examples/multimedia/video/
@@ -5,3 +5,5 @@ SUBDIRS += qmlvideo qmlvideofx
qmlvideofilter_opencl \ # FIXME: this one should use a configure check instead
+android: SUBDIRS += android