I want to play YUV video sequence by using Qt. Now I am using QPixmap, by using DrawPixel on QPixmap pixel by pixel. However, it can't play the video in real-time. How can I do to improve the speed?
A:
Pixel by pixel is about the slowest method to create a picture. It would improve performance a lot if you processed the image data before and used QPixmap's loadFromData() method.
gre
2010-06-14 00:25:28
+1
A:
Did you try using the Phonon classes like VideoPlayer?
Take a look at this:
Vitor Py
2010-06-30 13:30:58