punkypogo
16th July 2010, 12:44
Hi,
I need to display videos streams (25 to 50Hz, 640x480) in my application.
I derived a class from a QWidget where I overloaded the paintEvent method for displaying the images (painter.drawImage()) but it is very slow.
I'm not sure of the reason of the slowness since I have a poor 2GHz, 736Mo on winxp computer, and a basic SiS650 gfx card.
Wil it be faster if I use QGraphicsScene/Item? Furthermore I don't have any skills in OpenGL things, so will it be hard to implement if it is the only way out?
Thanks in advance.
ps :for information, I use ffmpeg (libavcodec/libavformat) to decode video streams.
I need to display videos streams (25 to 50Hz, 640x480) in my application.
I derived a class from a QWidget where I overloaded the paintEvent method for displaying the images (painter.drawImage()) but it is very slow.
I'm not sure of the reason of the slowness since I have a poor 2GHz, 736Mo on winxp computer, and a basic SiS650 gfx card.
Wil it be faster if I use QGraphicsScene/Item? Furthermore I don't have any skills in OpenGL things, so will it be hard to implement if it is the only way out?
Thanks in advance.
ps :for information, I use ffmpeg (libavcodec/libavformat) to decode video streams.