Hello to all, I have one problem.
My situation is the next:
- I can extract all frames of one video. (I can't use QMovie because I have another format)
- I would like to view these frames in a QLabel.
I did these things but when I probe, I only view the last frame of my video, I think that this is a problem of refresh ¿?
--> data is the bytes in unsigned char format. All the process is ok because I view the last frame perfect. Always I view the last frame perfect, but before this, I didn't see nothing...
I do the next instructions for each frame:
Label
->setPixmap
(QPixmap::fromImage(qimg
));
qimg = QImage(data, img_w, img_h, QImage::Format_RGB32);
Label->setPixmap(QPixmap::fromImage(qimg));
To copy to clipboard, switch view to plain text mode
Bookmarks