QMP Widget fails to load video in Qt5.3
-
Below is the code I'm using to display the video however when the program starts all that is seen is a black screen. Hopefully someone on stackies has used GMP Widget before, as completely lost what to do now
@#include "mainwindow.h"
#include <QApplication>
#include "qmpwidget.h"int main(int argc, char *argv[])
{
QApplication a(argc, argv);QMPwidget widget;
widget.setMPlayerPath("C:/MPlayer/Mplayer.exe");
widget.show();
widget.start(QStringList("-benchmark"));
widget.load("BigBuckBunny_320x180.mp4");return a.exec();
}@I have also linked the repo for this module as the two files are too large.
"Link to qmpwidget repo":https://github.com/jgehring/qmpwidget
if anyone has an idea how to solve this that would be great, currently running in windows but want to make it as cross platform as I can.
Also if anyone has any better solution to creating an RTSP client I am all ears as really struggling to find a decent method of producing this RTSP client.