Hi,<div><br></div><div>just with the following tips you should get it working</div><div><br></div><div><div>#include <QtGui></div><div>#include <QApplication></div><div>#include <QCoreApplication></div><div>
<br></div><div>int main(int argc, char *argv[])</div><div>{</div><div>    QApplication a(argc, argv);</div><div>    QCoreApplication::setAttribute(Qt::AA_NativeWindows,true);</div></div><div>.</div><div>.</div><div>.</div>
<div><br></div><div>and</div><div><br></div><div>QApplication::syncX();</div><div><div>gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(sink), widget->winId());</div></div><div><br></div><div>and</div><div><br></div><div>gst_element_set_state(v_pipeline, GST_STATE_PLAYING);</div>
<div><br></div><div style="text-align:left"><font face="Consolas, Bitstream Vera Sans Mono, Courier New, Courier, monospace"><span style="line-height:14px">Ref:</span></font></div><div><a href="http://stackoverflow.com/questions/2250169/to-connect-gstreamer-with-qt-in-order-to-play-a-gstreamer-video-in-the-qt-widget">http://stackoverflow.com/questions/2250169/to-connect-gstreamer-with-qt-in-order-to-play-a-gstreamer-video-in-the-qt-widget</a></div>
<div><br></div><div>Best</div><div><br><br><div class="gmail_quote">2012/10/3 Riccardo Arena <span dir="ltr"><<a href="mailto:banane.more@gmail.com" target="_blank">banane.more@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everybody,<br>
i started today developing a QT4 application, using gstreamer as<br>
backend for Phonon.<br>
The application will play a rtmp stream from a red5 server.<br>
I installed the rtmp plugin from the bad repository (gst-plugins-rtmp).<br>
In qt, i created a simple Phonon::VideoPlayer, set it's source to<br>
rtmp://localhost/oflaDemo/prometheus.mp4.<br>
<br>
The VideoPlayer then starts playing only the audio channel. How can i<br>
make it play the video too?<br>
<br>
Thanks and sorry for the dumb question.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>