Gstreamer application using Qt

Cedric Hombourger chombourger at gmail.com
Mon Sep 3 23:07:01 PDT 2012


QtGstreamer is a project aiming at creating a C++ API (with a Qt style) for GStreamer allowing full control of the pipeline(s) created. It is not part of Qt per se. If using an embedded Linux distribution, QtGStreamer may not be included or enabled by default...

QtMultimedia/QtMobility is a high level multimedia framework part of the Qt toolkit. It provides a (very) high level API and (AFAIK) does not allow tweaking of the pipeline(s)

Direct use of regular GStreamer APIs is also possible. In your .pro file, you would add something like:

unix {
    CONFIG += link_pkgconfig
    PKGCONFIG += gstreamer-0.10
}
You can then add the following to your C++ files:

#include <gst/gst.h>
and I suggest something like below as your first experiment:

guint major, minor, micro, nano;
gst_init (&argc, &argv);
gst_version (&major, &minor, &micro, &nano);
Print (or check in your debugger) major, minor, micro values. They should match your GStreamer installation.

Hope this helps!
Cedric

On Sep 4, 2012, at 7:43 AM, pushpa <pushpalatha.sg at mistralsolutions.com> wrote:

> Hi Cedric,
> 
>    Thanks for your response.
> 
> I am new to Qt, so i dont know much about it. I dont know what is the
> difference between QtGstreamer, .QtMultimedia/QtMobility...
> 
> 
> If i want to execute using regular 'C' Gstreamer API's how do i have to ?
> 
> 
> Regards,
> Pushpa
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-application-using-Qt-tp4656142p4656144.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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/20120904/6f7f877a/attachment.html>


More information about the gstreamer-devel mailing list