I have to develop a UI for my new program and I want to play an animated wallpaper (mp4) as my background. Do somebody know how I can to that?
I tried to solve it with the qvideowidget and qmediaplayer but if I do it this way I cannot insert buttons or the like over the video so that the video would be my background.
Subsequently I converted my video in single images and tried to refresh a pixmap of a qlabel every iteration but my program crashed so this doesn't work neither.
With OpenCV, you can gain what you want.
Start timer and get pixmap whenever time clocks.
Re-implement paintEvent() function of QWidget.
For example...