how to get controls in gstreamer

173 views Asked by At

I want to play a video in gstreamer using playbin. I am using QT framework. After playing a video through qwebview(using webview),not able to play the video from http url using gstreamer(using gstreamer).Is it possible to stop or control the gstreamer pipeline.

using webview:
                m_view = new QWebView(this);
                //view->setGeometry(50,140, 600,345);
                m_view->load(QUrl("http://www.youtube.com/embed/"+youtube_id+"?autoplay=1"));


using gstreamer:
                 QString url ="http://203.79.103.221/16Wishes.mp4";


                 url = url.mid(0,url.length()-4);
                 url = url.append(".mp4");
                 QByteArray ba = url.toLocal8Bit();
                 char *c_url = ba.data();

                 load_elements (c_url);
                 qDebug() << c_url;
                mplayer_play();
0

There are 0 answers