Extracting image from QMediaPlayer Video
-
Hello!! I am using Qt Creator to implement an application that reads a video and by clicking on a button i will save the frame that is being showed. Then i will process that frame with Opencv.
Having a video being displayed with QmediaPlayer, how can i extract a frame from the video? I should then be able to convert that frame to a Mat image in Matlab.
Thanks
-
-
@raven-worx Thanks for the help!! But..where do i get the image? I don't get that from the example
Thanks
-
@giuBRIT
from the QVideoFrame, which is passed by the signal. -
@raven-worx Thanks a lot!!!!