How to get all frames from a video, while video is play as QMediaplayer??
I have try to grab all frames from a video using videoprobe but I am struggling to get it.Any suggestions to solve this??
Here is my code:
QVideoWidget *videoWidget = new QVideoWidget(this);
QMediaPlayer *player=new QMediaPlayer;
QVideoProbe *probe = new QVideoProbe;
connect(probe, SIGNAL(videoFrameProbed(QVideoFrame)), this, SLOT(processFrame(QVideoFrame)));