The program:
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QString Url1 = "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4";
QWebView view1;
view1.show();
view1.setUrl(QUrl(Url1));
return a.exec();
}
When i run my qt program, qtapp launches and the video playback start .
But i observed my system becoming slow. I checked the resource usage using activity monitor. The free RAM size continue to decrease as the playback proceeds. After around 30-35 sec of playback free RAM as low as 6 MB. Before starting the QT application the Free RAM was around 2.1 GB. I am using QT 5.0.1.
Is there any issue with HTML 5 video tag playback in QT platform in MAC?
If there is any solution please let me know.
↧