[Interest] Performance Issues with vlc and QImage painting inside QML

Daniel Kreuter daniel.kreuter85 at googlemail.com
Mon Jul 16 12:48:59 CEST 2012


Hi,

I'm painting my videos in QImage with the vlc api. On modern hardware
like notebooks or desktops everything's fine, but when I run the
program on a slower hardware, the video's get really slow.
Because I'm using QML my only choice so far is to subclass
QDeclarativeItem and paint each Image of the video on a QImage instead
of using QWidget and QFrame for vlc playback, which will not work in
QML.

My first thought was, to subclass QThread as well and let the video
player run in an own thread, but you can't subclass QDeclarativeItem
and QThread in the same class.

Any suggestions?

So long

-- 
Mit freundlichen Grüßen

Greetings

Daniel Kreuter



More information about the Interest mailing list