[Phonon-Mplayer] No video shown when using with QGraphicsProxyWidget

Martin Sandsmark sandsmark at samfundet.no
Wed Oct 14 19:43:51 CEST 2009


On Thu, Oct 15, 2009 at 01:39:46AM +0800, Ben Lau wrote:
>   Then the video will be shown , but not on top , it is covered by the
> QGraphicsView itself . I can only see the border is changing. I have
> no idea how to solve it yet.. (See attached screenshot and source
> code)

The VideoWidget requires direct rendering to get any kind of performance. The
right way to solve your problem would be to use Experimental::VideoDataOutput
to get the video frames and display them in the QGraphicsView, AFAIK.

Unfortunately, I don't think Phonon-MPlayer has any support for
VideoDataOutput (and the support in Phonon-Xine is kind of broken. I'm poking
a bit at it to get Quasar working again, but I haven't really found out why
yet).

Sorry, but I don't really have any good answers. :-(

-- 
Martin Sandsmark 


More information about the Phonon-backends mailing list