Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Play video using GStreamer

Play video using GStreamer

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 4 Posters 4.3k Views
  • 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.
  • G Offline
    G Offline
    goli
    wrote on last edited by
    #1

    I am trying to build a projet for playing video using Gstreamer on linux embedded system from "How to play video in Qt on MeeGo using GStreamer":http://www.developer.nokia.com/Community/Wiki/How_to_play_video_in_Qt_on_MeeGo_using_GStreamer
    I have the Gstreamer package on my device, but when I try to compile the project it failed because of the lines :
    @
    CONFIG += link_pkgconfig
    PKGCONFIG += gstreamer-0.10 gstreamer-interfaces-0.10
    @

    in the .pro file

    The output error:
    Project ERROR: Package gstreamer-0.10 not found
    make: *** [Makefile] Error 2

    Any idea how to use link_pkgconfig correctly?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      davem
      wrote on last edited by
      #2

      I found the gstreamer-0.10 packages need to be deployed on development system. Pointing to pkgconfig in arm angstrom sysroot path did not work even though gstreamer-0.10 was present.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Morix Dev
        wrote on last edited by
        #3

        It's quite an old discussion thread, but anyway...
        I've the same problem here while cross-compiling Qt 5.2.1 for TI AM335x (Starter kit)... does anybody can propose a solution?

        /Morix

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Thiagoms15
          wrote on last edited by
          #4

          In my terminal I did:
          $ pkg-config --cflags gstreamer-0.10
          -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2

          $ pkg-config --libs gstreamer-0.10
          -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0


          In my .pro I did:

          INCLUDEPATH += $$SYSROOT/usr/include/gstreamer-0.10 $$SYSROOT/usr/include/glib-2.0 $$SYSROOT/usr/lib/glib-2.0/include $$SYSROOT/usr/include/libxml2

          LIBS += -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0

          It works for me.

          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