Error about pipeline use
-
Hi,
First point, the QtGstreamer module is not an official Qt module, it comes from the GStreamer folks. Second thing, the QtGstreamer module is unmaintained. See here for more information.
That said, for your current issue, the first thing I would do is remove that subclass of QCoreApplication. There's rarely a need to do that, and IIRC, your doing it wrong with passing asking
argc
as a copy, it should be a reference.Also if you want to handle options in your application, use QCommandLineParser.
One last thing, what errors are you getting ?
-
Hi !
Sorry @SGaist I didnt receive the notification of your answer, thx for it
There are errors I get :
/Bureau/Qt Clement/QtGsttest/player.cpp:16: erreur : undefined reference toQGst::Ui::VideoWidget::VideoWidget(QWidget*, QFlags<Qt::WindowType>)' /Bureau/Qt Clement/QtGsttest/player.cpp:16: erreur : undefined reference to
QGst::Ui::VideoWidget::~VideoWidget()'
/Bureau/Qt Clement/build-QtGsttest-Desktop-Debug/player.o:-1: In functionPlayer::~Player()': /Bureau/Qt Clement/QtGsttest/player.cpp:25: erreur : undefined reference to
QGst::Element::setState(QGst::State)'etc...
I have the same error for each line including "QGst::..."
-
I actually, I took my code from this link :
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/examples_2recorder_2main_8cpp-example.htmlI dont understand why it doesn't work if I juste change my link that's why I am quite lost