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. No Mp4 Playback on Release Deployment
Forum Updated to NodeBB v4.3 + New Features

No Mp4 Playback on Release Deployment

Scheduled Pinned Locked Moved Solved General and Desktop
45 Posts 4 Posters 5.5k Views 3 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.
  • C celica

    @JKSH Thanks, I tried that. You're right dsengine.dll does not get loaded.
    In fact nothing does from the mediaservice folder.
    Both from the output window within visual studio after a release build and from the Listdll result when it is running.
    Is there any way of forcing it to load this file?

    I tried removing the files you mention to no avail.
    All the codecs were installed via the codec installer.

    JKSHJ Online
    JKSHJ Online
    JKSH
    Moderators
    wrote on last edited by JKSH
    #16

    @celica said in No Mp4 Playback on Release Deployment:

    In fact nothing does from the mediaservice folder.
    Both from the output window within visual studio after a release build

    Ah, this is an important clue.

    That means it's not a deployment issue. Rather, there's something broken in the Release build. Don't bother trying to deploy until the Release build works fine in Visual Studio.

    Try setting the environment variable QT_DEBUG_PLUGINS to 1 before running the app from Visual Studio OR from the command line. What messages do you see when it tries to load plugins?

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

    C 1 Reply Last reply
    1
    • JKSHJ JKSH

      @celica said in No Mp4 Playback on Release Deployment:

      In fact nothing does from the mediaservice folder.
      Both from the output window within visual studio after a release build

      Ah, this is an important clue.

      That means it's not a deployment issue. Rather, there's something broken in the Release build. Don't bother trying to deploy until the Release build works fine in Visual Studio.

      Try setting the environment variable QT_DEBUG_PLUGINS to 1 before running the app from Visual Studio OR from the command line. What messages do you see when it tries to load plugins?

      C Offline
      C Offline
      celica
      wrote on last edited by
      #17

      @JKSH said in No Mp4 Playback on Release Deployment:

      QT_DEBUG_PLUGINS

      Great, getting closer
      I'm not sure how to set that variable as I run the app from within Visual Studio 2017
      I tried and got this response does this look right?

      [9952] PPLE [Informational] LIFECYCLE: OnResuming
      [9952] PPLE [Informational] LIFECYCLE: OnSuspending
      [10420] VSMSOUI: Button 'Suspend' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:385) defined by package 'Visual Studio Debugger' ({C9DD4A57-47FB-11D2-83E7-00C04F9902C1}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button 'Resume' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:386) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button 'Suspend and shutdown' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:387) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button 'No Background Tasks' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:388) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:389) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:390) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:391) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:392) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:393) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:394) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:395) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:396) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:397) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:398) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:399) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:400) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:401) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:402) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:403) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:404) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:405) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:406) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:407) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:408) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:409) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:410) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:411) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:412) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:413) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:414) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:415) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
      [9952] PPLE [Informational] LIFECYCLE: OnResuming
      [9952] PPLE [Informational] LIFECYCLE: OnSuspending
      
      JKSHJ 1 Reply Last reply
      0
      • C celica

        @JKSH said in No Mp4 Playback on Release Deployment:

        QT_DEBUG_PLUGINS

        Great, getting closer
        I'm not sure how to set that variable as I run the app from within Visual Studio 2017
        I tried and got this response does this look right?

        [9952] PPLE [Informational] LIFECYCLE: OnResuming
        [9952] PPLE [Informational] LIFECYCLE: OnSuspending
        [10420] VSMSOUI: Button 'Suspend' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:385) defined by package 'Visual Studio Debugger' ({C9DD4A57-47FB-11D2-83E7-00C04F9902C1}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button 'Resume' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:386) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button 'Suspend and shutdown' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:387) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button 'No Background Tasks' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:388) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:389) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:390) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:391) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:392) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:393) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:394) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:395) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:396) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:397) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:398) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:399) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:400) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:401) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:402) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:403) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:404) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:405) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:406) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:407) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:408) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:409) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:410) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:411) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:412) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:413) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:414) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [10420] VSMSOUI: Button '' ({C9DD4A59-47FB-11D2-83E7-00C04F9902C1}:415) defined by package 'Unknown' ({No Match}) uses icon guidOfficeIcon:746, which is no longer supported 
        [9952] PPLE [Informational] LIFECYCLE: OnResuming
        [9952] PPLE [Informational] LIFECYCLE: OnSuspending
        
        JKSHJ Online
        JKSHJ Online
        JKSH
        Moderators
        wrote on last edited by JKSH
        #18

        @celica said in No Mp4 Playback on Release Deployment:

        I'm not sure how to set that variable as I run the app from within Visual Studio 2017

        You could temporarily set it in your PC's global environment. Just remember to un-set it after.

        I tried and got this response does this look right?

        Unfortunately not. It should look something like this:

        QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.14.1/msvc2017/plugins/mediaservice" ...
        QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll"
        Found metadata in lib C:/Qt/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll, metadata=
        {
            "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
            "MetaData": {
                "Keys": [
                    "directshow"
                ],
                "Services": [
                    "org.qt-project.qt.camera",
                    "org.qt-project.qt.mediaplayer"
                ]
            },
            "archreq": 0,
            "className": "DSServicePlugin",
            "debug": false,
            "version": 331264
        }
        
        "The plugin 'C:/Qt/Online/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
                 not a plugin
        

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        C 1 Reply Last reply
        1
        • JKSHJ JKSH

          @celica said in No Mp4 Playback on Release Deployment:

          I'm not sure how to set that variable as I run the app from within Visual Studio 2017

          You could temporarily set it in your PC's global environment. Just remember to un-set it after.

          I tried and got this response does this look right?

          Unfortunately not. It should look something like this:

          QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.14.1/msvc2017/plugins/mediaservice" ...
          QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll"
          Found metadata in lib C:/Qt/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll, metadata=
          {
              "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
              "MetaData": {
                  "Keys": [
                      "directshow"
                  ],
                  "Services": [
                      "org.qt-project.qt.camera",
                      "org.qt-project.qt.mediaplayer"
                  ]
              },
              "archreq": 0,
              "className": "DSServicePlugin",
              "debug": false,
              "version": 331264
          }
          
          "The plugin 'C:/Qt/Online/5.14.1/msvc2017/plugins/mediaservice/dsengine.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
                   not a plugin
          
          C Offline
          C Offline
          celica
          wrote on last edited by
          #19

          @JKSH Thanks
          I set it within my code using this: qputenv("QT_DEBUG_PLUGINS", QByteArray("1"));
          This is what I get:
          https://easyupload.io/11rf2k

          Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
          Not sure if this is relevant.

          JKSHJ 1 Reply Last reply
          1
          • C celica

            @JKSH Thanks
            I set it within my code using this: qputenv("QT_DEBUG_PLUGINS", QByteArray("1"));
            This is what I get:
            https://easyupload.io/11rf2k

            Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
            Not sure if this is relevant.

            JKSHJ Online
            JKSHJ Online
            JKSH
            Moderators
            wrote on last edited by JKSH
            #20

            @celica said in No Mp4 Playback on Release Deployment:

            Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
            Not sure if this is relevant.

            Yes, it's relevant -- it shows that your app has not loaded your mediaservice plugins.

            Your QFactoryLoader lines are:

            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/mediaservice" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platforms" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms" ... 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/qwindows.dll" 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platformthemes" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platformthemes" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/styles" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/styles" ... 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/styles/qwindowsvistastyle.dll" 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/bearer" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer" ... 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer/qgenericbearer.dll" 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/imageformats" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats" ... 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qgif.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qicns.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qico.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qjpeg.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qsvg.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtga.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtiff.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwbmp.dll" 
            QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwebp.dll" 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessible" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessible" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessiblebridge" ... 
            QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessiblebridge" ... 
            
            1. You have plugin folders in 2 places. How did this happen? (The folders should only be in 1 place, by the way)
              • C:/Users/USER/Documents/incommandnew/platforms/
              • C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/
            2. What's in C:/Users/USER/Documents/incommandnew/Win32/Release/mediaservice?

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            C 3 Replies Last reply
            1
            • JKSHJ JKSH

              @celica said in No Mp4 Playback on Release Deployment:

              Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
              Not sure if this is relevant.

              Yes, it's relevant -- it shows that your app has not loaded your mediaservice plugins.

              Your QFactoryLoader lines are:

              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/mediaservice" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platforms" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms" ... 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/qwindows.dll" 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platformthemes" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platformthemes" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/styles" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/styles" ... 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/styles/qwindowsvistastyle.dll" 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/bearer" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer" ... 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer/qgenericbearer.dll" 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/imageformats" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats" ... 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qgif.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qicns.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qico.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qjpeg.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qsvg.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtga.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtiff.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwbmp.dll" 
              QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwebp.dll" 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessible" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessible" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessiblebridge" ... 
              QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessiblebridge" ... 
              
              1. You have plugin folders in 2 places. How did this happen? (The folders should only be in 1 place, by the way)
                • C:/Users/USER/Documents/incommandnew/platforms/
                • C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/
              2. What's in C:/Users/USER/Documents/incommandnew/Win32/Release/mediaservice?
              C Offline
              C Offline
              celica
              wrote on last edited by
              #21

              @JKSH Based on your advice I have totally removed all versions of QT (I had two - 5.5 for a legacy project & 5.12.2 for this project)
              Now if I run the application from visual studio in release mode it works fine.
              Which was your advice to get that working first.
              So that's a good first step I think, thanks,
              Now I'll try and delpoy it.

              1 Reply Last reply
              0
              • JKSHJ JKSH

                @celica said in No Mp4 Playback on Release Deployment:

                Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
                Not sure if this is relevant.

                Yes, it's relevant -- it shows that your app has not loaded your mediaservice plugins.

                Your QFactoryLoader lines are:

                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/mediaservice" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platforms" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms" ... 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/qwindows.dll" 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platformthemes" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platformthemes" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/styles" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/styles" ... 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/styles/qwindowsvistastyle.dll" 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/bearer" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer" ... 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer/qgenericbearer.dll" 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/imageformats" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats" ... 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qgif.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qicns.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qico.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qjpeg.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qsvg.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtga.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtiff.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwbmp.dll" 
                QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwebp.dll" 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessible" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessible" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessiblebridge" ... 
                QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessiblebridge" ... 
                
                1. You have plugin folders in 2 places. How did this happen? (The folders should only be in 1 place, by the way)
                  • C:/Users/USER/Documents/incommandnew/platforms/
                  • C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/
                2. What's in C:/Users/USER/Documents/incommandnew/Win32/Release/mediaservice?
                C Offline
                C Offline
                celica
                wrote on last edited by celica
                #22
                This post is deleted!
                1 Reply Last reply
                0
                • JKSHJ JKSH

                  @celica said in No Mp4 Playback on Release Deployment:

                  Note it says defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
                  Not sure if this is relevant.

                  Yes, it's relevant -- it shows that your app has not loaded your mediaservice plugins.

                  Your QFactoryLoader lines are:

                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/mediaservice" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platforms" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms" ... 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/qwindows.dll" 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/platformthemes" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/platformthemes" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/styles" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/styles" ... 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/styles/qwindowsvistastyle.dll" 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/bearer" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer" ... 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/bearer/qgenericbearer.dll" 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/imageformats" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats" ... 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qgif.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qicns.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qico.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qjpeg.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qsvg.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtga.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qtiff.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwbmp.dll" 
                  QFactoryLoader::QFactoryLoader() looking at "C:/Users/USER/Documents/incommandnew/Win32/Release/imageformats/qwebp.dll" 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessible" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessible" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/InCommand/accessiblebridge" ... 
                  QFactoryLoader::QFactoryLoader() checking directory path "C:/Users/USER/Documents/incommandnew/Win32/Release/accessiblebridge" ... 
                  
                  1. You have plugin folders in 2 places. How did this happen? (The folders should only be in 1 place, by the way)
                    • C:/Users/USER/Documents/incommandnew/platforms/
                    • C:/Users/USER/Documents/incommandnew/Win32/Release/platforms/
                  2. What's in C:/Users/USER/Documents/incommandnew/Win32/Release/mediaservice?
                  C Offline
                  C Offline
                  celica
                  wrote on last edited by
                  #23

                  @JKSH
                  Hi, So now it works in release mode within VS.
                  Videos however still don't play if I deploy using -
                  windeployqt --qmldir C:\Users\me\Documents\incommand2017\InCommand\Resources\videos C:\Users\me\Documents\incommandCopy\Win32\Debug

                  Whats weird is if I run the above command then try and run a release build from within VS the videos will also no longer play.
                  I have to delete all files from the release folder then rebuild the project and then it works again.

                  JKSHJ 1 Reply Last reply
                  0
                  • C celica

                    @JKSH
                    Hi, So now it works in release mode within VS.
                    Videos however still don't play if I deploy using -
                    windeployqt --qmldir C:\Users\me\Documents\incommand2017\InCommand\Resources\videos C:\Users\me\Documents\incommandCopy\Win32\Debug

                    Whats weird is if I run the above command then try and run a release build from within VS the videos will also no longer play.
                    I have to delete all files from the release folder then rebuild the project and then it works again.

                    JKSHJ Online
                    JKSHJ Online
                    JKSH
                    Moderators
                    wrote on last edited by
                    #24

                    @celica said in No Mp4 Playback on Release Deployment:

                    C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release

                    Great!

                    windeployqt --qmldir C:\Users\me\Documents\incommand2017\InCommand\Resources\videos C:\Users\me\Documents\incommandCopy\Win32\Debug

                    Debug or Release?

                    Whats weird is if I run the above command then try and run a release build from within VS the videos will also no longer play.

                    • Before you run windeployqt, your app tries to load DLLs from C:\Qt\5.12.2\msvc2017.
                    • windeployqt copies DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release
                    • After you run windeployqt, your app won't try to load DLLs from C:\Qt\5.12.2\msvc2017 anymore.
                    • After you run windeployqt, your app tries to load DLLs from C:\Users\me\Documents\incommandCopy\Win32\Release

                    Here's the thing: If windeployqt "forgets" to copy some DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release, then your app won't work correctly. Yes, it can miss important DLLs; it is not perfect.

                    So, use QT_DEBUG_PLUGINS and ListDLLs again to find out which DLLs are missing. Manually copy the missing DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release.

                    IMPORTANT NOTE: You should only manually copy Qt DLLs. Do not touch non-Qt DLLs.

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    C 1 Reply Last reply
                    3
                    • JKSHJ JKSH

                      @celica said in No Mp4 Playback on Release Deployment:

                      C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release

                      Great!

                      windeployqt --qmldir C:\Users\me\Documents\incommand2017\InCommand\Resources\videos C:\Users\me\Documents\incommandCopy\Win32\Debug

                      Debug or Release?

                      Whats weird is if I run the above command then try and run a release build from within VS the videos will also no longer play.

                      • Before you run windeployqt, your app tries to load DLLs from C:\Qt\5.12.2\msvc2017.
                      • windeployqt copies DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release
                      • After you run windeployqt, your app won't try to load DLLs from C:\Qt\5.12.2\msvc2017 anymore.
                      • After you run windeployqt, your app tries to load DLLs from C:\Users\me\Documents\incommandCopy\Win32\Release

                      Here's the thing: If windeployqt "forgets" to copy some DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release, then your app won't work correctly. Yes, it can miss important DLLs; it is not perfect.

                      So, use QT_DEBUG_PLUGINS and ListDLLs again to find out which DLLs are missing. Manually copy the missing DLLs from C:\Qt\5.12.2\msvc2017 to C:\Users\me\Documents\incommandCopy\Win32\Release.

                      IMPORTANT NOTE: You should only manually copy Qt DLLs. Do not touch non-Qt DLLs.

                      C Offline
                      C Offline
                      celica
                      wrote on last edited by
                      #25

                      @JKSH Ah I see, that explains it
                      Ok I will bring the dlls over -

                      The Listdll when working - https://easyupload.io/afhf4h
                      The Listdll when not working - https://easyupload.io/h895eq

                      The QT_DEBUG_PLUGINS when working - https://easyupload.io/r293gd
                      The QT_DEBUG_PLUGINS when not working - https://easyupload.io/b97tcj

                      JKSHJ 1 Reply Last reply
                      0
                      • C celica

                        @JKSH Ah I see, that explains it
                        Ok I will bring the dlls over -

                        The Listdll when working - https://easyupload.io/afhf4h
                        The Listdll when not working - https://easyupload.io/h895eq

                        The QT_DEBUG_PLUGINS when working - https://easyupload.io/r293gd
                        The QT_DEBUG_PLUGINS when not working - https://easyupload.io/b97tcj

                        JKSHJ Online
                        JKSHJ Online
                        JKSH
                        Moderators
                        wrote on last edited by
                        #26

                        @celica said in No Mp4 Playback on Release Deployment:

                        Ok I will bring the dlls over

                        Which DLLs did you bring over? List them one-by-one.

                        Also, my earlier question still stands: What's inside C:\Users\me\Documents\incommand2017\Win32\Release\mediaservice\ ?

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        C 2 Replies Last reply
                        2
                        • JKSHJ JKSH

                          @celica said in No Mp4 Playback on Release Deployment:

                          Ok I will bring the dlls over

                          Which DLLs did you bring over? List them one-by-one.

                          Also, my earlier question still stands: What's inside C:\Users\me\Documents\incommand2017\Win32\Release\mediaservice\ ?

                          C Offline
                          C Offline
                          celica
                          wrote on last edited by
                          #27

                          @JKSH Ok, I'll do that.
                          Those files were the status before I brought anything over just to let you know

                          In C:\Users\me\Documents\incommand2017\Win32\Release\mediaservice\ are the following files:
                          dsengine.dll
                          qtmedia_audioengine.dll
                          wmfengine.dll

                          1 Reply Last reply
                          0
                          • JKSHJ JKSH

                            @celica said in No Mp4 Playback on Release Deployment:

                            Ok I will bring the dlls over

                            Which DLLs did you bring over? List them one-by-one.

                            Also, my earlier question still stands: What's inside C:\Users\me\Documents\incommand2017\Win32\Release\mediaservice\ ?

                            C Offline
                            C Offline
                            celica
                            wrote on last edited by
                            #28

                            @JKSH So the only difference between when it works and when it doesn't (in terms of the QT dlls, I have ignored all windows system files) are the following are omitted when it fails to work correctly but are included when it works.
                            I wonder why it fails to load anything located in the mediaservice folder

                            0x0000000079c20000  0x42000   C:\Qt\5.12.2\msvc2017\plugins\mediaservice\dsengine.dll
                            0x000000007a650000  0x8a000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVSplitter.ax
                            0x000000007a6e0000  0x23c000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avutil-lav-56.dll
                            0x000000007bcc0000  0x389000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avformat-lav-58.dll
                            0x000000007bc70000  0x49000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\libbluray.dll
                            0x0000000003f60000  0x1350000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avcodec-lav-58.dll
                            0x000000007c050000  0x2d000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avresample-lav-4.dll
                            0x000000007c090000  0x104000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVVideo.ax
                            0x000000007c1a0000  0x37000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avfilter-lav-7.dll
                            0x000000007c1e0000  0x94000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\swscale-lav-5.dll
                            0x000000007c280000  0x1d2000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\DirectVobSub\vsfilter.dll
                            0x000000007c700000  0x44000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVAudio.ax
                            
                            JKSHJ 1 Reply Last reply
                            0
                            • C celica

                              @JKSH So the only difference between when it works and when it doesn't (in terms of the QT dlls, I have ignored all windows system files) are the following are omitted when it fails to work correctly but are included when it works.
                              I wonder why it fails to load anything located in the mediaservice folder

                              0x0000000079c20000  0x42000   C:\Qt\5.12.2\msvc2017\plugins\mediaservice\dsengine.dll
                              0x000000007a650000  0x8a000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVSplitter.ax
                              0x000000007a6e0000  0x23c000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avutil-lav-56.dll
                              0x000000007bcc0000  0x389000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avformat-lav-58.dll
                              0x000000007bc70000  0x49000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\libbluray.dll
                              0x0000000003f60000  0x1350000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avcodec-lav-58.dll
                              0x000000007c050000  0x2d000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avresample-lav-4.dll
                              0x000000007c090000  0x104000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVVideo.ax
                              0x000000007c1a0000  0x37000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\avfilter-lav-7.dll
                              0x000000007c1e0000  0x94000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\swscale-lav-5.dll
                              0x000000007c280000  0x1d2000  C:\Program Files (x86)\K-Lite Codec Pack\Filters\DirectVobSub\vsfilter.dll
                              0x000000007c700000  0x44000   C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV\LAVAudio.ax
                              
                              JKSHJ Online
                              JKSHJ Online
                              JKSH
                              Moderators
                              wrote on last edited by
                              #29

                              @celica said in No Mp4 Playback on Release Deployment:

                              @JKSH So the only difference between when it works and when it doesn't (in terms of the QT dlls, I have ignored all windows system files) are the following are omitted when it fails to work correctly but are included when it works.

                              Yep, that's what I found too.

                              I wonder why it fails to load anything located in the mediaservice folder

                              It's very strange... as far as I can tell, all your DLLs are in the right place.

                              Just as a sanity check, could you try to build the "Media Player Example" (https://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-player-example.html ) and deploy that? Does that work?

                              I believe you can find the example in C:\Qt\Examples\Qt-5.14.1\multimediawidgets\player\

                              If that doesn't work, try uninstalling the K-Lite Codec Pack.

                              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                              C 1 Reply Last reply
                              0
                              • JKSHJ JKSH

                                @celica said in No Mp4 Playback on Release Deployment:

                                @JKSH So the only difference between when it works and when it doesn't (in terms of the QT dlls, I have ignored all windows system files) are the following are omitted when it fails to work correctly but are included when it works.

                                Yep, that's what I found too.

                                I wonder why it fails to load anything located in the mediaservice folder

                                It's very strange... as far as I can tell, all your DLLs are in the right place.

                                Just as a sanity check, could you try to build the "Media Player Example" (https://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-player-example.html ) and deploy that? Does that work?

                                I believe you can find the example in C:\Qt\Examples\Qt-5.14.1\multimediawidgets\player\

                                If that doesn't work, try uninstalling the K-Lite Codec Pack.

                                C Offline
                                C Offline
                                celica
                                wrote on last edited by
                                #30

                                @JKSH Tried removing codecs no luck - went through my code to see if anything was amiss. Looks ok.
                                Did a build from a completely different PC and the same thing happens - fresh installs of VS 2017 & Q 5.12.2

                                I can run the multimedia player ok - from within QT creator.
                                Do I need to deploy this example?
                                The deploy option is greyed out.

                                JKSHJ 1 Reply Last reply
                                0
                                • C celica

                                  @JKSH Tried removing codecs no luck - went through my code to see if anything was amiss. Looks ok.
                                  Did a build from a completely different PC and the same thing happens - fresh installs of VS 2017 & Q 5.12.2

                                  I can run the multimedia player ok - from within QT creator.
                                  Do I need to deploy this example?
                                  The deploy option is greyed out.

                                  JKSHJ Online
                                  JKSHJ Online
                                  JKSH
                                  Moderators
                                  wrote on last edited by
                                  #31

                                  @celica said in No Mp4 Playback on Release Deployment:

                                  Do I need to deploy this example?
                                  The deploy option is greyed out.

                                  The idea is to use windeployqt to produce a deployment that can play videos.

                                  This is to check if the problem is in your code or not.

                                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                  C 1 Reply Last reply
                                  0
                                  • JKSHJ JKSH

                                    @celica said in No Mp4 Playback on Release Deployment:

                                    Do I need to deploy this example?
                                    The deploy option is greyed out.

                                    The idea is to use windeployqt to produce a deployment that can play videos.

                                    This is to check if the problem is in your code or not.

                                    C Offline
                                    C Offline
                                    celica
                                    wrote on last edited by
                                    #32

                                    @JKSH Ok thanks
                                    It's gonna be a pain to convert this player example from working in QT Designer to work in Visual Studio

                                    mrjjM JKSHJ 2 Replies Last reply
                                    0
                                    • C celica

                                      @JKSH Ok thanks
                                      It's gonna be a pain to convert this player example from working in QT Designer to work in Visual Studio

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #33

                                      @celica
                                      Hi
                                      Just as a note.
                                      There is a Qt plugin for Visual Studio that allows the use of UI files
                                      so nothing needs to be converted.

                                      C 1 Reply Last reply
                                      0
                                      • mrjjM mrjj

                                        @celica
                                        Hi
                                        Just as a note.
                                        There is a Qt plugin for Visual Studio that allows the use of UI files
                                        so nothing needs to be converted.

                                        C Offline
                                        C Offline
                                        celica
                                        wrote on last edited by
                                        #34

                                        @mrjj Yes, I have that but I'm getting lots of errors when for nearly all of the header includes
                                        visual studio cannot open source QApplication

                                        mrjjM 1 Reply Last reply
                                        0
                                        • C celica

                                          @mrjj Yes, I have that but I'm getting lots of errors when for nearly all of the header includes
                                          visual studio cannot open source QApplication

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #35

                                          @celica
                                          Ok, it does sound like something in the setup didn't went all well.
                                          Normally it just works and you can right click an UI files and it opens Designer.
                                          So while not as good integration as in Creator it should compile fine.

                                          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