Suggestions for motion detection method

Resolved the QT issue by rebuilding opencv 4.10 from source with QT6.
I installed qt5 previously but I guess I didn’t compile opencv WITH_QT=ON last time.

Only remaining issue I have is the GStreamer: pipeline have not been created warnings. Any ideas?