<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>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...<div><br><div>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)</div><div><br></div><div>Direct use of regular GStreamer APIs is also possible. In your .pro file, you would add something like:</div><div><br></div><div><pre style="margin-top: 0px; margin-bottom: 12px; padding: 10px 15px !important; border: 1px solid rgb(202, 201, 201) !important; font: inherit; vertical-align: baseline; border-bottom-left-radius: 8px; background-color: rgb(250, 250, 250); overflow-x: auto; overflow-y: hidden; font-family: 'Courier New', Courier, monospace; color: rgb(85, 85, 85); line-height: 18px; text-align: left; ">unix {
    CONFIG += link_pkgconfig
    PKGCONFIG += gstreamer-0.10
}</pre><div>You can then add the following to your C++ files:</div><div><br></div><div><pre style="margin-top: 0px; margin-bottom: 12px; padding: 10px 15px !important; border: 1px solid rgb(202, 201, 201) !important; font: inherit; vertical-align: baseline; border-bottom-left-radius: 8px; background-color: rgb(250, 250, 250); overflow-x: auto; overflow-y: hidden; font-family: 'Courier New', Courier, monospace; color: rgb(85, 85, 85); line-height: 18px; text-align: left; ">#include <gst/gst.h></pre></div><div>and I suggest something like below as your first experiment:</div><div><br></div><div><pre style="margin-top: 0px; margin-bottom: 12px; padding: 10px 15px !important; border: 1px solid rgb(202, 201, 201) !important; font: inherit; vertical-align: baseline; border-bottom-left-radius: 8px; background-color: rgb(250, 250, 250); overflow-x: auto; overflow-y: hidden; text-align: left; "><div><font color="#555555" face="Courier New, Courier, monospace"><span style="line-height: 18px;">guint major, minor, micro, nano;</span></font></div><div><span style="color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; line-height: 18px; ">gst_init (&argc, &argv);</span></div><div><span style="line-height: 18px; color: rgb(85, 85, 85); font-family: 'Courier New', Courier, monospace; ">gst_version (&major, &minor, &micro, &nano);</span></div></pre></div><div>Print (or check in your debugger) major, minor, micro values. They should match your GStreamer installation.</div><div><br></div><div>Hope this helps!</div><div>Cedric</div><div><br></div><div><div>On Sep 4, 2012, at 7:43 AM, pushpa <<a href="mailto:pushpalatha.sg@mistralsolutions.com">pushpalatha.sg@mistralsolutions.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Cedric,<br><br>    Thanks for your response.<br><br> I am new to Qt, so i dont know much about it. I dont know what is the<br>difference between QtGstreamer, .QtMultimedia/QtMobility...<br><br><br>If i want to execute using regular 'C' Gstreamer API's how do i have to ?<br><br><br>Regards,<br>Pushpa<br><br><br><br>--<br>View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-application-using-Qt-tp4656142p4656144.html">http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-application-using-Qt-tp4656142p4656144.html</a><br>Sent from the GStreamer-devel mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote></div><br></div></div></body></html>