Results 1 to 10 of 10

Thread: how to use gstreamer with Qt

  1. #1
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question how to use gstreamer with Qt

    Hi,,

    I would like to use gstreamer with Qt.. and I know that gstreamer uses it's own loop.. and Qt uses it's loop.. so how would i integrate gstreamer in Qt..

    any sample code would be very helpful..

    Thank u

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to use gstreamer with Qt

    How about using Phonon which uses a gstreamer backend on X11, but other backends on other platforms? This way you're not tied to any specific platform.
    J-P Nurmi

  3. #3
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to use gstreamer with Qt

    but j p, i want to use gstreamer in Qt, I have made use of phonon(for media application)...


    still waiting...

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to use gstreamer with Qt

    So what's the problem? Are we talking about the same gstreamer? Why can't you use gstreamer through Phonon?

  5. #5
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to use gstreamer with Qt

    now can i create a chat application with phonon ?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to use gstreamer with Qt

    A chat application? You mean a videophone? If you provide a media source to operate upon then why not...

  7. #7
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to use gstreamer with Qt

    wysota,

    could u be more elaborate on what u said before, if i could stream videos it would be perfect.. please provide some good pointers this time and don't just wrap up in a line.. it's really not helping me....:0)

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to use gstreamer with Qt

    If you try to describe what you are having problems with, maybe the answer to the question will be a bit longer as well. Read about Phonon in Qt Assistant and when you have specific questions about it, come back and ask them.

  9. #9
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to use gstreamer with Qt

    ok .. this is what i have in mind, i am trying to integrate a SIP based client on to Qt and that client makes use of gstreamer.. so that was why i asked about the gstreamer onto Qt support.. I knew that phonon provides a gst, ds, xine .. support .. but what if i want to go with gstreamer and Qt alone with no phonon(i am not against phonon )...
    just a simple gstreamer + Qt usage.. that's it..

    now since u asked me to go thru assistant. for phonon.. i would also like to put forth another question..
    I am unable to play mp3 and .... http://mail.kde.org/pipermail/phonon...st/000231.html on Nokia N810 device and it's because of dspmp3sink and dsppcmsink.. any idea how to get that working...

    thanks for responding..

  10. #10
    Join Date
    Aug 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to use gstreamer with Qt

    Take a look at this lib: http://gitorious.org/projects/dlib

    It has a media component that uses GStreamer. It should at least give you an idea of how to integrate Qt and GStreamer in you app.

Similar Threads

  1. phonon-compilation error
    By qwakaw in forum Qt Programming
    Replies: 3
    Last Post: 3rd February 2012, 06:52

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.