Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Preview image on slider of videoPlayer



  • 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.
    alt text

    Request to suggest some approach!!
    I tried, mouse hover event on the qslider n displaying a qlabel with the particular frame.

    Regards,
    Sayan


  • Moderators

    @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).