Unsolved Best way to update UI for 6 channel video stream and dozens buttons
-
Hi,
I am trying to show 4 video stream channel in the UI with buttons, config and some editing section on the UI.
What I am doing now :qApp->processEvents();
each stream channel process call processEvents(); after doing some preprocess.
UI looks getting slower . Machine is i7 2.3 Ghz.
What is the smooth and the fastest way to show all stream on th gu realtime while all other buttons etc responsive and not laggy ?
NOTE: I am using QLabel to show video streams with :
ui->QLabel->setPixmap(QPixmap::fromImage(qimg));
Thanks in advance.
Beatrix -
Hi and welcome to devnet,
Where are your video stream coming from ?
What version of Qt are you using ?
What OS are you running ? -
-
Qt 5.11
streams coming from IP Cameras 1080px
OS is Ubuntu
OpenCV 3.4Yes I am using threads signal slots to connect all 6 stream(6 threads) to the main UI.
The question is about the OpenCV is good enough to handle streams 24 hours.
Or I should try someting else ?
I donw know is I can get stream and the frames directly from the Qt without openCV
Just need advise to direction or may be examples for to be in the right track
Best
-
It depends on what generates the stream. You have to give more details about your hardware.
-
intel i7 2.4 Ghz 8 cores 32 gig ram.
stream is rtsp 1080p
-
So you have 6 network inputs ?