Joined: 26 Feb 2019
|Posted: Thu Feb 28, 2019 2:01 pm Post subject: QVideoWidget extreme slow on RPi3
I use a QVideoWidget in Qt to play mpeg4 files - On a Windows or a Linux on Intel machine this words fine.
I ported the program to Raspberry Pi-3 and the video plays extremely slow.
If i use mplayer to play the same video the stream is smooth.
I Integrated both methods in my program and the difference is terrible.
The QVideoWidget version:
| QVideoWidget* videoWidget;
The mplayer version:
| QProcess process;
process.start(QString("mplayer -fs -nosound -vo gl -cache 16000 %2").arg(filename));
Someone has an idea how to solve it