QtGstreamer build under Windows

Christian Sell christian at gsvitec.com
Sat Jun 20 02:17:49 PDT 2015


QtGStreamer is a bad choice for that, as it is mostly outdated. I recommend
using out-of-the-box Qt (VideoOutput, QAbstractVideoSurface) as much as
possible. Maybe you can pull the videosink implementation from QtGStreamer and
use that. Meanwhile, I will check with my boss whether we can publish the Qt
videosink we have.
 
Chris

> Dmitri Afanasjev <adimas at gmail.com> hat am 19. Juni 2015 um 22:46 geschrieben:
> 
>  Hello!
>   
>  I want to develop Qt application to use with gstreamer1.0
>   
>  1. Gstreamer1.0 binaries are installed and PATH is updated works fine.
>  2. Downloaded QtGstremer sources from Git
> (https://github.com/detrout/qt-gstreamer) but unable to build it correctly.
> When I do: cmake .. -DCMAKE_INSTALL_PREFIX=e:/gstreamer/qt-gstreamer
> -DQT_VERSION=5 -Wno-dev I see this outpur:
>   
>  -- Building for: Visual Studio 12 2013
>  -- The C compiler identification is MSVC 18.0.31101.0
>  -- The CXX compiler identification is MSVC 18.0.31101.0
>  -- Check for working C compiler using: Visual Studio 12 2013
>  -- Check for working C compiler using: Visual Studio 12 2013 -- works
>  -- Detecting C compiler ABI info
>  -- Detecting C compiler ABI info - done
>  -- Check for working CXX compiler using: Visual Studio 12 2013
>  -- Check for working CXX compiler using: Visual Studio 12 2013 -- works
>  -- Detecting CXX compiler ABI info
>  -- Detecting CXX compiler ABI info - done
>  -- Detecting CXX compile features
>  -- Detecting CXX compile features - done
>  -- Using Qt5 (min: 5.0.0)
>  -- Found Qt4or5: 1  found components:  Core Gui Widgets OpenGL Quick1 Quick2
> Qml Test
>  -- Boost version: 1.58.0
>  -- Found PkgConfig: E:/gstreamer/gtk-bundle_3.6.4/bin/pkg-config.exe (found
> version "0.28")
>  -- checking for module 'gstreamer-1.0'
>  --   package 'gstreamer-1.0' not found
>  -- checking for module 'gstreamer-base-1.0'
>  --   package 'gstreamer-base-1.0' not found
>  -- Found GSTREAMER_BASE_LIBRARY: E:/gstreamer/1.0/x86_64/lib/gstbase-1.0.lib
>  -- Found GSTREAMER_BASE_INCLUDE_DIR:
> E:/gstreamer/1.0/x86_64/include/gstreamer-1.0
>  -- Found GStreamer: E:/gstreamer/1.0/x86_64/lib/gstreamer-1.0.lib (Required
> is at least version "1.2.0")
>  -- checking for module 'gstreamer-plugins-base-1.0'
>  --   package 'gstreamer-plugins-base-1.0' not found
>  -- checking for module 'gstreamer-app-1.0'
>  --   package 'gstreamer-app-1.0' not found
>  -- Found GSTREAMER_APP_LIBRARY: E:/gstreamer/1.0/x86_64/lib/gstapp-1.0.lib
>  -- Found GSTREAMER_APP_INCLUDE_DIR:
> E:/gstreamer/1.0/x86_64/include/gstreamer-1.0
>  -- checking for module 'gstreamer-audio-1.0'
>  --   package 'gstreamer-audio-1.0' not found
>  -- Found GSTREAMER_AUDIO_LIBRARY:
> E:/gstreamer/1.0/x86_64/lib/gstaudio-1.0.lib
>  -- Found GSTREAMER_AUDIO_INCLUDE_DIR:
> E:/gstreamer/1.0/x86_64/include/gstreamer-1.0
>  -- checking for module 'gstreamer-video-1.0'
>  --   package 'gstreamer-video-1.0' not found
>  -- Found GSTREAMER_VIDEO_LIBRARY:
> E:/gstreamer/1.0/x86_64/lib/gstvideo-1.0.lib
>  -- Found GSTREAMER_VIDEO_INCLUDE_DIR:
> E:/gstreamer/1.0/x86_64/include/gstreamer-1.0
>  -- checking for module 'gstreamer-pbutils-1.0'
>  --   package 'gstreamer-pbutils-1.0' not found
>  -- Found GSTREAMER_PBUTILS_LIBRARY:
> E:/gstreamer/1.0/x86_64/lib/gstpbutils-1.0.lib
>  -- Found GSTREAMER_PBUTILS_INCLUDE_DIR:
> E:/gstreamer/1.0/x86_64/include/gstreamer-1.0
>  -- Found GStreamerPluginsBase: TRUE (Required is at least version "1.2.0")
>  -- Found GLIB2: E:/gstreamer/OSSBuild/GStreamer/v0.10.6/sdk/lib/glib-2.0.lib
>  -- Found GObject:
> E:/gstreamer/OSSBuild/GStreamer/v0.10.6/sdk/include/glib-2.0
>  -- Performing Test USE_OPENGLES
>  -- Performing Test USE_OPENGLES - Failed
>  -- Found OpenGL: opengl32
>  -- Found Doxygen: E:/gstreamer/doxygen/bin/doxygen.exe (found version
> "1.8.9.1")
>  -- Found DOXYFILE_IN: E:/gstreamer/qt-gstreamer/Doxyfile.in
>   
>  -----------------------------------------------------------------------------
>  -- The following external packages were located on your system.
>  -- This installation will have the extra features provided by these packages.
>  -----------------------------------------------------------------------------
>     * Qt - Required for building everything
>     * QtOpenGL - Required for OpenGL acceleration in qtvideosink and
> QtGStreamerUi
>     * QtQuick1 (QtDeclarative) - Required for building QtQuick1 support
>     * QtQuick2 (QtQuick) - Required for building QtQuick2 support
>     * QtQml - Required for building QtQuick2 support
>     * Boost - Required for building QtGLib
>     * GStreamer - Required to build QtGStreamer
>     * GStreamer base library - Used for building the qt5videosink element
>     * GStreamer app library - Required to build QtGStreamerUtils
>     * GStreamer audio library - Required to build QtGStreamer
>     * GStreamer video library - Required to build QtGStreamer
>     * GStreamer pbutils library - Used for building the Discoverer API
>     * GLib - Required to build QtGLib
>     * GObject - Required to build QtGLib
>     * OpenGL - Required for OpenGL rendering support in qt5videosink
>     * Doxygen - Used to generate the API documentation
>   
>  -----------------------------------------------------------------------------
>  -- Congratulations! All external packages have been found.
>  -----------------------------------------------------------------------------
>   
>  -- Configuring done
>  -- Generating done
>  -- Build files have been written to: E:/gstreamer/qt-gstreamer/build
>  ===================================================
>  Seems like build is done well, but i see some warnings in the output. Using
> build procedure described in README i should do make. But i cannot do make
> without .makefile. Are these filed missing due to errors listed in output? Is
> is possible to build Gstreamer1.0 libs for Qt5? 
>   
>  I cannot find any working solution
>   
>  Please help!
>   
>  Regards, Dmitri
>   
>   
>  _______________________________________________
>  gstreamer-devel mailing list
>  gstreamer-devel at lists.freedesktop.org
>  http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150620/d704d1ad/attachment.html>


More information about the gstreamer-devel mailing list