Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer (dsengine.dll) problem.

QMediaPlayer (dsengine.dll) problem.

Scheduled Pinned Locked Moved Solved General and Desktop
qt5.8qmediaplayer
5 Posts 2 Posters 4.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • someoneintheboxS Offline
    someoneintheboxS Offline
    someoneinthebox
    wrote on last edited by A Former User
    #1

    Hello everyone!

    I hope someone can help me. I've got problem with a new version of Qt (5.8) in QMediaPlayer work. I run RTSP via IP-Camera. In case when I run application through Qt Creator (debug or release - nevermind) and start my QMediaPlayer realisation, it starts OK without issues. But if I build my project, install it on other machine (dynamic link) - video not starts.

    Error log said: The QMediaPlayer object does not have a valid service or QMediaPlayer::ServiceMissingError wich means the same.

    I build on Windows platform and start application on Windows 7 and higher with LAV Filters 0.69 on it.

    Actually, before Qt 5.8, I built on 5.7 and earlier and it works fine. Problem causes dsengine.dll. If I change it to library from 5.7 version or earlier - application runs RTSP correctly.

    So, can anybody offer any solution? Just use older versions of library?

    Some code of player realisation class:

    RtspPlayer::RtspPlayer(QVideoWidget *out, const QString &host, int port, const QString &path,
                           const QString &login, const QString &password, QObject *parent) : Transport(parent)
    {
        _player = new QMediaPlayer;
        QUrl url(QString("rtsp://%1:%2@%3:%4%5").arg(login, password, host, QString::number(port), path));
        connect(_player, SIGNAL(error(QMediaPlayer::Error)), this, SLOT(catchErr(QMediaPlayer::Error)));
        connect(_player, &QMediaPlayer::mediaStatusChanged, this, &RtspPlayer::restartVideo);
        _player->setVideoOutput(out);
        _player->setMedia(url);
    }
    
    bool RtspPlayer::start()
    {
        _player->play();
        emit success();
        return true;
    }
    

    Thanks for advance!

    Mom said I am special.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you check the bug report system ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • someoneintheboxS Offline
        someoneintheboxS Offline
        someoneinthebox
        wrote on last edited by
        #3

        Cheked. Not found anything about 5.8. Created own bug: https://bugreports.qt.io/browse/QTBUG-59589

        Mom said I am special.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Thanks !

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • someoneintheboxS Offline
            someoneintheboxS Offline
            someoneinthebox
            wrote on last edited by
            #5

            Problem solved. It was bug in Inno setup, which corruped Qt5Multimedia.dll somehow.

            Mom said I am special.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved