Preview image on slider of videoPlayer
-
wrote on 30 Mar 2018, 03:35 last edited by
Hi,
I have a video player which displays images in QgraphicsScene frame by frame. There's a play button, which shows frames by frames, like video. I want to show the preview image when mouse hover the qslider for the player, like in YouTube n other video players.
Request to suggest some approach!!
I tried, mouse hover event on the qslider n displaying a qlabel with the particular frame.Regards,
Sayan -
Hi,
I have a video player which displays images in QgraphicsScene frame by frame. There's a play button, which shows frames by frames, like video. I want to show the preview image when mouse hover the qslider for the player, like in YouTube n other video players.
Request to suggest some approach!!
I tried, mouse hover event on the qslider n displaying a qlabel with the particular frame.Regards,
Sayan@sayan275
i think you have to use another QMediaPlayer instance designated for the preview frames.There is an example application showing this (taken from here).
1/2