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 it's too large to list the two files.
if anyone has an idea how to solve this that would be great.
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.