On Thu, 2 Dec 2010 03:46:51 am ext Jason H wrote: > Please note. > > I'm looking for help on how to use a video element in QML and -opengl > option with QML viewer. >
Have you filled the bug report? This is supposed to work, probably OpenGL video rendering in QGraphicsVideoItem is broken with your video driver. Which video driver do you use? Regards Dmytro. > > > ----- Original Message ---- > From: Jason H <[email protected]> > To: Jason H <[email protected]>; Dmytro Poplavskiy > <[email protected]>; [email protected] > Sent: Wed, December 1, 2010 1:08:29 AM > Subject: Re: [Qt-mobility-feedback] gstreamer vs mplayer-vaapi > > Well no joy when using -opengl. I just get a blank screen, no video. > Running it in raster works, as it should. > > Curiously, my CPU shoots up when it should be playing, and only to 1/2 of > the raster engine's usage, which is encouraging. > > I'm on Ubuntu 10.10, With linux .35, qt 4.7.1, Mobility 1.1.0, gstreamer > 0.10.6-1 > > > > > ----- Original Message ---- > From: Jason H <[email protected]> > To: Dmytro Poplavskiy <[email protected]>; > [email protected] > Sent: Tue, November 30, 2010 11:33:00 PM > Subject: Re: [Qt-mobility-feedback] gstreamer vs mplayer-vaapi > > I'm using it on a NVidia ION platform. I've got the X accelerated drivers. > > I'm using the stock qmlviewer binary. Prompted by your reply, I looked at > the options, and added -opengl and wow, what a difference! My QML barely > breaks 5% now. (should opengl be the default?) > > I'll look again at video usage using an opengl-enabled viewer. > > > > > > ----- Original Message ---- > From: Dmytro Poplavskiy <[email protected]> > To: [email protected] > Cc: ext Jason H <[email protected]> > Sent: Tue, November 30, 2010 8:00:42 PM > Subject: Re: [Qt-mobility-feedback] gstreamer vs mplayer-vaapi > > On Wed, 1 Dec 2010 08:50:22 am ext Jason H wrote: > > I've been doing some research and it seems gstreamer is not accelerated. > > It can be accelerated, depending on elements installed on the system. > It's certainly accelerated on mobile devices. > > What platform are you asking about? > > > On more limited CPUs, video and QML will be a problem, as some of my QML > > spikes at 80-90% > > It may also be related to video rendering, are you using QGLWidget based > viewport? > > > I hear that mplayer has the VA-api, which is hardware accelerated. How > > hard is it to get the backend switched out? > > > > What are people doing on mobile CPUs for QML with video? > > It depends on platform capabilities, HW accelerated decoding + > rendering (using overlay or texture streaming/etc). > > Regards > Dmytro. > > > > > _______________________________________________ > Qt-mobility-feedback mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
