Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.3.0 configuration problem: gstreamer can't be enabled
Forum Updated to NodeBB v4.3 + New Features

Qt5.3.0 configuration problem: gstreamer can't be enabled

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maatong
    wrote on last edited by
    #1

    Hi all:
    I'm working on build Qt projects on an arm board (imx6), I'm a beginner both on ARM embedded and Qt, and I met some problems here.
    Now my goal is to run QMediaPlayer or QSound in my program, just to make audio output for wav files.
    And when I tried to build cross compiler on my PC (ubuntu 12.04), I can't get either alsa or gstreamer enabled.

    My building step is as the following link:
    http://www.udoo.org/ProjectsAndTutorials/how-to-build-qt5-for-udoo/?portfolioID=1394

    the file system I download for my ARM is Ubuntu 12.04 v4.0 on this page:
    http://www.udoo.org/downloads/#tab2
    After downloading, I extracted it in my PC.

    When I run ./configure and make, gstreamer and alsa were not enabled.
    And when I tried add -gstreamer in my ./configure command, there's an error and the error reads:

    -gstreamer: invalid command-line switch

    If I deleted that option, after configuration, I can't find gstreamer information,
    So did 5.3.0 omit that option?

    The multimedia modules just drive me crazy these days.
    Sorry for posting so many questions here.
    And thanks for all your help.

    https://www.linkedin.com/pub/yini-guo/71/4b3/4a0

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maatong
      wrote on last edited by
      #2

      This is the configure summary I got after configuration:
      alsa disabled and there's no configure options for gstreamer:
      @
      Qt modules and options:
      Qt D-Bus ............... no
      Qt Concurrent .......... yes
      Qt GUI ................. yes
      Qt Widgets ............. yes
      Large File ............. no
      QML debugging .......... yes
      Use system proxies ..... no

      Support enabled for:
      Accessibility .......... yes
      ALSA ................... no
      CUPS ................... no
      Evdev .................. yes
      FontConfig ............. no
      FreeType ............... yes (bundled copy)
      Glib ................... no
      GTK theme .............. no
      HarfBuzz ............... no
      Iconv .................. yes
      ICU .................... no
      Image formats:
      GIF .................. yes (plugin, using bundled copy)
      JPEG ................. yes (plugin, using bundled copy)
      PNG .................. yes (in QtGui, using bundled copy)
      journald ............... no
      mtdev .................. no
      Networking:
      getaddrinfo .......... yes
      getifaddrs ........... yes
      IPv6 ifname .......... yes
      OpenSSL .............. no
      NIS .................... no
      OpenGL / OpenVG:
      EGL .................. yes
      OpenGL ............... yes (OpenGL ES 2.x)
      OpenVG ............... yes-auto
      PCRE ................... yes (bundled copy)
      pkg-config ............. yes
      PulseAudio ............. no
      QPA backends:
      DirectFB ............. no
      EGLFS ................ yes
      KMS .................. no
      LinuxFB .............. yes
      XCB .................. no
      Session management ..... yes
      SQL drivers:
      DB2 .................. no
      InterBase ............ no
      MySQL ................ no
      OCI .................. no
      ODBC ................. no
      PostgreSQL ........... no
      SQLite 2 ............. no
      SQLite ............... yes (plugin, using bundled copy)
      TDS .................. no
      udev ................... no
      xkbcommon .............. no
      zlib ................... yes (bundled copy)
      @
      So how can I enable the alsa and gstreamer?
      Or how can I use Qt modules to make audio output (wav files) under this configure?

      Thanks a lot.

      https://www.linkedin.com/pub/yini-guo/71/4b3/4a0

      1 Reply Last reply
      0
      • B Offline
        B Offline
        ben80
        wrote on last edited by
        #3

        Did you find any solution?
        I'd also like to compile gstreamer1.0 but don't know either how to enable it in ./configure.
        Which libraries do i need?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          Qt Multimedia framework does not support gstreamer1.0 yet.
          You can try to use "Qt-Gstreamer":http://gstreamer.freedesktop.org/modules/qt-gstreamer.html project.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            ben80
            wrote on last edited by
            #5

            bq. >Qt Multimedia framework does not support gstreamer1.0 yet.

            Ok, good to know.

            bq. You can try to use Qt-Gstreamer [gstreamer.freedesktop.org] project.

            Does it offer hardware acceleration on the RPI?

            Actually all i need from the qtmultimedia module is to show videos (kind of a screensafer, no sound). But i definitely want to have the hardware acceleration.
            Any other ideas about how to accomplish this on the RPI? I am using Qt5.3 QML to display images already.

            Ben

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #6

              [quote author="ben80" date="1411366455"]
              Does it offer hardware acceleration on the RPI?
              [/quote]
              It offers whatever gstreamer offers. Qt-Gstreamer is a Qt/C++ layer on top of gstreamer.

              [quote author="ben80" date="1411366455"]
              Any other ideas about how to accomplish this on the RPI?
              [/quote]
              It depends on what kind of video you need to display. For example you can use "QMovie":http://qt-project.org/doc/qt-5/QMovie.html#details to show "animated images":http://qt-project.org/doc/qt-5/qtwidgets-widgets-movie-example.html.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved