[Qt-interest] Phonon Video player problem

Keshava Krishna keshavkrishna88 at gmail.com
Thu Apr 30 16:04:09 CEST 2009


hello again ,

can anyone please help me with the above thing?

Regards,
Keshava.

On Wed, Apr 29, 2009 at 3:55 PM, Keshava Krishna
<keshavkrishna88 at gmail.com>wrote:

> hello everyone,
> 'm using Qt 4.5.0 and ubuntu 9.04...
> i was trying to build  a video player
> here is the code i used
> window::window()
> {
>     this->resize(1000,1000);
>     Phonon::VideoPlayer *player = new
> Phonon::VideoPlayer(Phonon::VideoCategory, this);
>     connect(player, SIGNAL(finished()), player, SLOT(deleteLater()));
>     Phonon::MediaSource *source = new
> Phonon::MediaSource("home/keshava/SDCARD/video.avi");
>     player->load(*source);
>     player->resize(1000,1000);
>     player->play();
> }
>
> the code is getting compiled and it displays the widgets but  it does not
> play the video file...
> i get following error in the terminal
>
> keshava at keshava-desktop:~/videotest$ ./videotest
>
> (<unknown>:4048): GStreamer-CRITICAL **: gst_element_make_from_uri:
> assertion `gst_uri_is_valid (uri)' failed
>
> can anyone please help me ??
> --
> Regards,
> Keshava.
>



-- 
Regards,
Keshava.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090430/1196735a/attachment.html 


More information about the Qt-interest-old mailing list