Take a screenshot of the first frame of Qml Video component
-
Hi to all, i need to take a screenshot of the first frame of Qml Video component. I dont't understand how to realize it.
By this moment I can take a screenshot of the last frame. Like that:
onStatusChanged: { if(status == MediaPlayer.EndOfMedia) { rootVideo.grabToImage(function(result) { snapshotUrl = result.url }, Qt.size(rootVideo.width, rootVideo.height)); } }
Could you help me, please?
-
QVideoProbe may help you.