Results 1 to 5 of 5

Thread: Qt Configuration option to use GStreamer from inside QtApplication

  1. #1
    Join Date
    Jun 2011
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question Qt Configuration option to use GStreamer from inside QtApplication

    I'm trying to build Qt framework from sources.

    And I need the configuration options which will enable me to use GStreamer from inside Qt application (QCoreApplication & QThread).

    I prefer not to include phonon (due to size & speed constraints, we don't want to include modules which we won't be using).

    We already have a mediaplayer(C++) which uses Gstreamer, just want to include that into Qt.


    Thanks in Advance...!

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Qt Configuration option to use GStreamer from inside QtApplication

    First hit in Google

  3. #3
    Join Date
    Jun 2011
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Configuration option to use GStreamer from inside QtApplication

    Thanks for the reply.

    But that was not what I was looking for. The link you specified allows me to know how to write an application in Qt to use GStreamer.

    My need was to know the configuration options to build Qt (when you run ./configure inside Qt source folder), which enables the applications using GStreamer to run in Qt.

    The link didn't provide me any such configuration options.

    I already have the application(source code & project file), i'm also able to build it properly.

    But unable to run and I doubt that I've done something wrong while building Qt itself(i've disabled phonon).

    Hence please suggest me the options that should be included...

    Thanks...

  4. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Qt Configuration option to use GStreamer from inside QtApplication

    Do you want to use Phonon with GStreamer as backend?

    What is the platform being used?

    Also see if this link helps
    Last edited by Santosh Reddy; 23rd June 2011 at 09:43.

  5. #5
    Join Date
    Jun 2011
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Configuration option to use GStreamer from inside QtApplication

    Hi Santosh,

    We can't use phonon.

    As I've said, we already have a C++ appilcation(mediaplayer) which uses GStreamer framework to do audio & video playback.

    When we integrated this application and ran it as a thread in QCoreApplication, we are able to create the pipeline, do pause, play, seek etc. but we are not getting any sort of notifications in function which we register to GStreamer Bus using gst_bus_add_watch();

    So, I needed the configuration options for Qt.

    I went throught the Qt configuration options. I got some like -gstreamer, -glib, -phonon.

    I tried with -glib, -gstreamer. Yet I don't seem to get the notifications..

Similar Threads

  1. Replies: 1
    Last Post: 6th April 2011, 00:23
  2. GStreamer, Qt4, QDevelop and C++
    By midiangr in forum Qt Programming
    Replies: 5
    Last Post: 28th April 2009, 20:46
  3. Can we use Phonon without GStreamer?
    By learning_qt in forum Qt Programming
    Replies: 5
    Last Post: 8th September 2008, 14:02
  4. how to use gstreamer with Qt
    By qwakaw in forum Qt Programming
    Replies: 9
    Last Post: 27th August 2008, 15:41
  5. Adding nonQt classes to QtApplication
    By codebehind in forum Newbie
    Replies: 11
    Last Post: 23rd April 2007, 22:08

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.