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

Slowness cv2



  • hi all,
    i build mediaPlayer in python and i using Pyqt5 and cv2
    i showing the video on label with QPixmap.
    i do a loop and inset them i showing the video, but i using cv2.CAP_PROP_POS_MSEC because i whant show some miliseconds.
    and i running video (20 sec) and after 7 second the video starting up Slowness ! what i need to do?
    tnx


  • Lifetime Qt Champion

    Hi,

    First post your PyQt5 version, Qt version and OpenCV version.

    The show the code you are using, the video specification. Explain exactly what your application does while the video is playing.

    Try the same using OpenCV's highgui library to see if the bottleneck's also there.


Log in to reply