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. Qt multimedia warnings Qt 6.6.0
Forum Updated to NodeBB v4.3 + New Features

Qt multimedia warnings Qt 6.6.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 7 Posters 6.7k 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.
  • JoeCFDJ JoeCFD

    @AkshayFP can you check if you have libva? if not, simply install it. both gstreamer and FFmpeg need it.
    https://github.com/intel/libva

    R Offline
    R Offline
    respect88
    wrote on last edited by
    #3

    @JoeCFD I have the same issue with Ubuntu 22.04 and Qt for Python 6.5.3. Installing the libva-dev Ubuntu package solved the VAAPI dependency error. But I still have the OpenSSL library error. I have OpenSSL version 3.0.2 installed on my machine.

    1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      @AkshayFP can you check if you have libva? if not, simply install it. both gstreamer and FFmpeg need it.
      https://github.com/intel/libva

      A Offline
      A Offline
      AkshayFP
      wrote on last edited by
      #4

      @JoeCFD libva error seems to be fixed. But I am still getting OpenSsl warning

      SGaistS 1 Reply Last reply
      0
      • A AkshayFP

        @JoeCFD libva error seems to be fixed. But I am still getting OpenSsl warning

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        @AkshayFP you can use something like strace to check which version of OpenSSL is getting loaded.

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

        R 1 Reply Last reply
        0
        • SGaistS SGaist

          @AkshayFP you can use something like strace to check which version of OpenSSL is getting loaded.

          R Offline
          R Offline
          respect88
          wrote on last edited by respect88
          #6

          @SGaist Strace shows Qt looking for openssl 1.1 and Ubuntu 22.04 upgraded to using OpenSSL 3.

          I installed openssl 1.1 using these instructions and the OpenSSL error is resolved.
          https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory

          But the webcam is still not working, no error is outputted. It is a blank white screen. The webcam works in other linux programs.

          import sys, os
          from PySide6.QtWidgets import QApplication
          from PySide6.QtQuick import QQuickView
          
          if __name__ == "__main__":
          
              # os.environ["QT_DEBUG_PLUGINS"] = "1"
          
              app = QApplication(sys.argv)
          
              view = QQuickView()
              view.setSource("main.qml")
              view.show()
          
              sys.exit(app.exec())
          

          main.qml

          import QtMultimedia
          import QtQuick
          import QtQuick.Controls
          
          ApplicationWindow {
              visible: true
              width: 640
              height: 480
          
              CaptureSession {
                  camera: Camera { id: camera }
                  videoOutput: videoOutput
              }
          
              VideoOutput {
                  id: videoOutput
                  anchors.fill: parent
              }
          
          }
          

          Here is the result of running QT_DEBUG_PLUGINS=1

          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms" ...
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "xcb"
                  ]
              },
              "archlevel": 1,
              "className": "QXcbIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "wayland"
                  ]
              },
              "archlevel": 1,
              "className": "QWaylandIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "wayland-egl"
                  ]
              },
              "archlevel": 1,
              "className": "QWaylandEglPlatformIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvnc.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvnc.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "vnc"
                  ]
              },
              "archlevel": 1,
              "className": "QVncIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "vkkhrdisplay"
                  ]
              },
              "archlevel": 1,
              "className": "QVkKhrDisplayIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vkkhrdisplay")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "offscreen"
                  ]
              },
              "archlevel": 1,
              "className": "QOffscreenIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "minimalegl"
                  ]
              },
              "archlevel": 1,
              "className": "QMinimalEglIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimal.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimal.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "minimal"
                  ]
              },
              "archlevel": 1,
              "className": "QMinimalIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "linuxfb"
                  ]
              },
              "archlevel": 1,
              "className": "QLinuxFbIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("linuxfb")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqeglfs.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqeglfs.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
              "MetaData": {
                  "Keys": [
                      "eglfs"
                  ]
              },
              "archlevel": 1,
              "className": "QEglFSIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so" loaded library
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes" ...
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
              "MetaData": {
                  "Keys": [
                      "xdgdesktopportal",
                      "flatpak",
                      "snap"
                  ]
              },
              "archlevel": 1,
              "className": "QXdgDesktopPortalThemePlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
              "MetaData": {
                  "Keys": [
                      "gtk3"
                  ]
              },
              "archlevel": 1,
              "className": "QGtk3ThemePlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gtk3")
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/platformthemes" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts" ...
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
              "MetaData": {
                  "Keys": [
                      "qtvirtualkeyboard"
                  ]
              },
              "archlevel": 1,
              "className": "QVirtualKeyboardPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("qtvirtualkeyboard")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
              "MetaData": {
                  "Keys": [
                      "ibus"
                  ]
              },
              "archlevel": 1,
              "className": "QIbusPlatformInputContextPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ibus")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
              "MetaData": {
                  "Keys": [
                      "compose",
                      "xim"
                  ]
              },
              "archlevel": 1,
              "className": "QComposePlatformInputContextPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("compose", "xim")
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforminputcontexts" ...
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" loaded library
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/styles" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/styles" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations" ...
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
              "MetaData": {
                  "Keys": [
                      "xcb_glx"
                  ]
              },
              "archlevel": 1,
              "className": "QXcbGlxIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_glx")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
              "MetaData": {
                  "Keys": [
                      "xcb_egl"
                  ]
              },
              "archlevel": 1,
              "className": "QXcbEglIntegrationPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_egl")
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/xcbglintegrations" ...
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtMultimedia/libquickmultimediaplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
              "archlevel": 1,
              "className": "QMultimediaQuickModule",
              "debug": false,
              "uri": [
                  "QtMultimedia"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtMultimedia/libquickmultimediaplugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQml/WorkerScript/libworkerscriptplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
              "archlevel": 1,
              "className": "QtQmlWorkerScriptPlugin",
              "debug": false,
              "uri": [
                  "QtQml.WorkerScript"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQml/WorkerScript/libworkerscriptplugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/libqtquickcontrols2plugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
              "archlevel": 1,
              "className": "QtQuickControls2Plugin",
              "debug": false,
              "uri": [
                  "QtQuick.Controls"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/libqtquickcontrols2plugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
              "archlevel": 1,
              "className": "QtQuickControls2FusionStylePlugin",
              "debug": false,
              "uri": [
                  "QtQuick.Controls.Fusion"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
              "archlevel": 1,
              "className": "QtQuickControls2BasicStylePlugin",
              "debug": false,
              "uri": [
                  "QtQuick.Controls.Basic"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Templates/libqtquicktemplates2plugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
              "archlevel": 1,
              "className": "QtQuickTemplates2Plugin",
              "debug": false,
              "uri": [
                  "QtQuick.Templates"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Templates/libqtquicktemplates2plugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Window/libquickwindowplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
              "archlevel": 1,
              "className": "QtQuick_WindowPlugin",
              "debug": false,
              "uri": [
                  "QtQuick.Window"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Window/libquickwindowplugin.so" loaded library
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
              "archlevel": 1,
              "className": "QtQuickControls2FusionStyleImplPlugin",
              "debug": false,
              "uri": [
                  "QtQuick.Controls.Fusion.impl"
              ],
              "version": 394496
          }
          
          
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so" loaded library
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia" ...
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libgstreamermediaplugin.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libgstreamermediaplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPlatformMediaPlugin",
              "MetaData": {
                  "Keys": [
                      "gstreamer"
                  ]
              },
              "archlevel": 1,
              "className": "QGstreamerMediaPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gstreamer")
          qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so"
          qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so, metadata=
          {
              "IID": "org.qt-project.Qt.QPlatformMediaPlugin",
              "MetaData": {
                  "Keys": [
                      "ffmpeg"
                  ]
              },
              "archlevel": 1,
              "className": "QFFmpegMediaPlugin",
              "debug": false,
              "version": 394496
          }
          
          
          qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ffmpeg")
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/multimedia" ...
          qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so" loaded library
          qt.core.library: "ssl" loaded library
          qt.core.library: "crypto" loaded library
          qt.core.library: "va" loaded library
          qt.core.library: "va-drm" loaded library
          qt.core.library: "va-x11" loaded library
          QQuickView does not support using a window as a root item. 
          
          If you wish to create your root window from QML, consider using QQmlApplicationEngine instead. 
          
          failed to stop capture
          /home/ubuntu/main.py:15: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.
            sys.exit(app.exec_())
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/accessiblebridge" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessiblebridge" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/accessible" ...
          qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessible" ...
          
          
          JoeCFDJ 1 Reply Last reply
          0
          • R respect88

            @SGaist Strace shows Qt looking for openssl 1.1 and Ubuntu 22.04 upgraded to using OpenSSL 3.

            I installed openssl 1.1 using these instructions and the OpenSSL error is resolved.
            https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory

            But the webcam is still not working, no error is outputted. It is a blank white screen. The webcam works in other linux programs.

            import sys, os
            from PySide6.QtWidgets import QApplication
            from PySide6.QtQuick import QQuickView
            
            if __name__ == "__main__":
            
                # os.environ["QT_DEBUG_PLUGINS"] = "1"
            
                app = QApplication(sys.argv)
            
                view = QQuickView()
                view.setSource("main.qml")
                view.show()
            
                sys.exit(app.exec())
            

            main.qml

            import QtMultimedia
            import QtQuick
            import QtQuick.Controls
            
            ApplicationWindow {
                visible: true
                width: 640
                height: 480
            
                CaptureSession {
                    camera: Camera { id: camera }
                    videoOutput: videoOutput
                }
            
                VideoOutput {
                    id: videoOutput
                    anchors.fill: parent
                }
            
            }
            

            Here is the result of running QT_DEBUG_PLUGINS=1

            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms" ...
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "xcb"
                    ]
                },
                "archlevel": 1,
                "className": "QXcbIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland"
                    ]
                },
                "archlevel": 1,
                "className": "QWaylandIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland-egl"
                    ]
                },
                "archlevel": 1,
                "className": "QWaylandEglPlatformIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvnc.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvnc.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "vnc"
                    ]
                },
                "archlevel": 1,
                "className": "QVncIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "vkkhrdisplay"
                    ]
                },
                "archlevel": 1,
                "className": "QVkKhrDisplayIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vkkhrdisplay")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "offscreen"
                    ]
                },
                "archlevel": 1,
                "className": "QOffscreenIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "minimalegl"
                    ]
                },
                "archlevel": 1,
                "className": "QMinimalEglIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimal.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqminimal.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "minimal"
                    ]
                },
                "archlevel": 1,
                "className": "QMinimalIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "linuxfb"
                    ]
                },
                "archlevel": 1,
                "className": "QLinuxFbIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("linuxfb")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqeglfs.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqeglfs.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "eglfs"
                    ]
                },
                "archlevel": 1,
                "className": "QEglFSIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforms/libqxcb.so" loaded library
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes" ...
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
                "MetaData": {
                    "Keys": [
                        "xdgdesktopportal",
                        "flatpak",
                        "snap"
                    ]
                },
                "archlevel": 1,
                "className": "QXdgDesktopPortalThemePlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
                "MetaData": {
                    "Keys": [
                        "gtk3"
                    ]
                },
                "archlevel": 1,
                "className": "QGtk3ThemePlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gtk3")
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/platformthemes" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts" ...
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
                "MetaData": {
                    "Keys": [
                        "qtvirtualkeyboard"
                    ]
                },
                "archlevel": 1,
                "className": "QVirtualKeyboardPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("qtvirtualkeyboard")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
                "MetaData": {
                    "Keys": [
                        "ibus"
                    ]
                },
                "archlevel": 1,
                "className": "QIbusPlatformInputContextPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ibus")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
                "MetaData": {
                    "Keys": [
                        "compose",
                        "xim"
                    ]
                },
                "archlevel": 1,
                "className": "QComposePlatformInputContextPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("compose", "xim")
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforminputcontexts" ...
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" loaded library
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/styles" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/styles" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations" ...
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
                "MetaData": {
                    "Keys": [
                        "xcb_glx"
                    ]
                },
                "archlevel": 1,
                "className": "QXcbGlxIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_glx")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
                "MetaData": {
                    "Keys": [
                        "xcb_egl"
                    ]
                },
                "archlevel": 1,
                "className": "QXcbEglIntegrationPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb_egl")
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/xcbglintegrations" ...
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtMultimedia/libquickmultimediaplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
                "archlevel": 1,
                "className": "QMultimediaQuickModule",
                "debug": false,
                "uri": [
                    "QtMultimedia"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtMultimedia/libquickmultimediaplugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQml/WorkerScript/libworkerscriptplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
                "archlevel": 1,
                "className": "QtQmlWorkerScriptPlugin",
                "debug": false,
                "uri": [
                    "QtQml.WorkerScript"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQml/WorkerScript/libworkerscriptplugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/libqtquickcontrols2plugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
                "archlevel": 1,
                "className": "QtQuickControls2Plugin",
                "debug": false,
                "uri": [
                    "QtQuick.Controls"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/libqtquickcontrols2plugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
                "archlevel": 1,
                "className": "QtQuickControls2FusionStylePlugin",
                "debug": false,
                "uri": [
                    "QtQuick.Controls.Fusion"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
                "archlevel": 1,
                "className": "QtQuickControls2BasicStylePlugin",
                "debug": false,
                "uri": [
                    "QtQuick.Controls.Basic"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Templates/libqtquicktemplates2plugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
                "archlevel": 1,
                "className": "QtQuickTemplates2Plugin",
                "debug": false,
                "uri": [
                    "QtQuick.Templates"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Templates/libqtquicktemplates2plugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Window/libquickwindowplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
                "archlevel": 1,
                "className": "QtQuick_WindowPlugin",
                "debug": false,
                "uri": [
                    "QtQuick.Window"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Window/libquickwindowplugin.so" loaded library
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
                "archlevel": 1,
                "className": "QtQuickControls2FusionStyleImplPlugin",
                "debug": false,
                "uri": [
                    "QtQuick.Controls.Fusion.impl"
                ],
                "version": 394496
            }
            
            
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so" loaded library
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia" ...
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libgstreamermediaplugin.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libgstreamermediaplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPlatformMediaPlugin",
                "MetaData": {
                    "Keys": [
                        "gstreamer"
                    ]
                },
                "archlevel": 1,
                "className": "QGstreamerMediaPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gstreamer")
            qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so"
            qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPlatformMediaPlugin",
                "MetaData": {
                    "Keys": [
                        "ffmpeg"
                    ]
                },
                "archlevel": 1,
                "className": "QFFmpegMediaPlugin",
                "debug": false,
                "version": 394496
            }
            
            
            qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ffmpeg")
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/multimedia" ...
            qt.core.library: "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/multimedia/libffmpegmediaplugin.so" loaded library
            qt.core.library: "ssl" loaded library
            qt.core.library: "crypto" loaded library
            qt.core.library: "va" loaded library
            qt.core.library: "va-drm" loaded library
            qt.core.library: "va-x11" loaded library
            QQuickView does not support using a window as a root item. 
            
            If you wish to create your root window from QML, consider using QQmlApplicationEngine instead. 
            
            failed to stop capture
            /home/ubuntu/main.py:15: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.
              sys.exit(app.exec_())
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/accessiblebridge" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessiblebridge" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PySide6/Qt/plugins/accessible" ...
            qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessible" ...
            
            
            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #7

            @respect88 also make sure video drivers are installed. Install VLC and see if vlc works correctly.

            R 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @respect88 also make sure video drivers are installed. Install VLC and see if vlc works correctly.

              R Offline
              R Offline
              respect88
              wrote on last edited by respect88
              #8

              @JoeCFD Installing the program 'cheese' in Ubuntu works to display the webcam. I am going to try upgrading to Ubuntu 23 and install this package gstreamer1.0-qt6, which isn't available for Ubuntu 22

              JoeCFDJ 1 Reply Last reply
              0
              • R respect88

                @JoeCFD Installing the program 'cheese' in Ubuntu works to display the webcam. I am going to try upgrading to Ubuntu 23 and install this package gstreamer1.0-qt6, which isn't available for Ubuntu 22

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by JoeCFD
                #9

                @respect88 I do not think upgrade will help. But it is nice to use Ubuntu 23. Try to find FFmpeg debug tool to check what is wrong. For example, in gstreamer you can set GST_DEBUG env variable to find out gstreamer related errors. FFmpeg must have something similar.
                Qt Multimedia is a black box and it is hard to find where the problem is.

                While ffmpeg doesn't have a dedicated environment variable like GST_DEBUG in GStreamer, you can achieve a similar debugging effect using the AV_LOG environment variable. ffmpeg uses the libavutil library for logging, and AV_LOG is the environment variable that controls the logging level.
                Possible values for AV_LOG include:

                quiet: Show no messages.
                panic: Only show fatal errors.
                fatal: Only show fatal errors and errors.
                error: Only show errors.
                warning: Show errors and warnings.
                info: Show errors, warnings, and informational messages.
                verbose: Show all the above, plus more verbose output.
                debug: Show all messages, including debugging information.
                
                R 1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

                  @respect88 I do not think upgrade will help. But it is nice to use Ubuntu 23. Try to find FFmpeg debug tool to check what is wrong. For example, in gstreamer you can set GST_DEBUG env variable to find out gstreamer related errors. FFmpeg must have something similar.
                  Qt Multimedia is a black box and it is hard to find where the problem is.

                  While ffmpeg doesn't have a dedicated environment variable like GST_DEBUG in GStreamer, you can achieve a similar debugging effect using the AV_LOG environment variable. ffmpeg uses the libavutil library for logging, and AV_LOG is the environment variable that controls the logging level.
                  Possible values for AV_LOG include:

                  quiet: Show no messages.
                  panic: Only show fatal errors.
                  fatal: Only show fatal errors and errors.
                  error: Only show errors.
                  warning: Show errors and warnings.
                  info: Show errors, warnings, and informational messages.
                  verbose: Show all the above, plus more verbose output.
                  debug: Show all messages, including debugging information.
                  
                  R Offline
                  R Offline
                  respect88
                  wrote on last edited by respect88
                  #10

                  @JoeCFD Having trouble finding a ffmpeg tool that can debug my app.

                  I did create a bug report a few months ago. I feel like this whole switch to ffmpeg is still kinda new and all the issues aren't ironed out.

                  https://bugreports.qt.io/browse/QTBUG-116470

                  JoeCFDJ 1 Reply Last reply
                  0
                  • R respect88

                    @JoeCFD Having trouble finding a ffmpeg tool that can debug my app.

                    I did create a bug report a few months ago. I feel like this whole switch to ffmpeg is still kinda new and all the issues aren't ironed out.

                    https://bugreports.qt.io/browse/QTBUG-116470

                    JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by JoeCFD
                    #11

                    @respect88 Not sure how big your multimedia app is. It may not be that hard to code raw FFmpeg pipeline in your qt code. I use gstreamer for streaming in my Qt app.
                    Any of them will be good. Then, you will have more control over what you want to do.

                    1 Reply Last reply
                    0
                    • A AkshayFP

                      Just downloaded Qt 6.6.0 on Ubuntu 22.04 and I started getting these errors when running the app:

                      qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load OpenSsl library
                      qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library
                      

                      I have OpenSSL - openssl and libssl-dev. Not sure what VAAPI.

                      Any idea what else I would need?

                      O Offline
                      O Offline
                      oniongarlic
                      wrote on last edited by
                      #12

                      @AkshayFP reported this today, https://bugreports.qt.io/browse/QTBUG-110805
                      Basically the ffmpeg backend is looking for OpenSSL 1.1 libraries.

                      O 1 Reply Last reply
                      0
                      • O oniongarlic

                        @AkshayFP reported this today, https://bugreports.qt.io/browse/QTBUG-110805
                        Basically the ffmpeg backend is looking for OpenSSL 1.1 libraries.

                        O Offline
                        O Offline
                        oniongarlic
                        wrote on last edited by
                        #13

                        Oops, wrong url, I mean this one https://bugreports.qt.io/browse/QTBUG-118178

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Trung Ngo
                          wrote on last edited by
                          #14

                          https://bugreports.qt.io/browse/QTBUG-110805
                          This ticket has resolved in Qt 6.5.5 but I cannot find this version in my Qt installation.
                          Anyone know how to install this?
                          PS: I have done with Qt 6.6.1 but I want to do with Qt 6.5.5

                          jsulmJ 1 Reply Last reply
                          0
                          • T Trung Ngo

                            https://bugreports.qt.io/browse/QTBUG-110805
                            This ticket has resolved in Qt 6.5.5 but I cannot find this version in my Qt installation.
                            Anyone know how to install this?
                            PS: I have done with Qt 6.6.1 but I want to do with Qt 6.5.5

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #15

                            @Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:

                            Anyone know how to install this?

                            How did you install Qt?
                            If using online installer you can use Qt Maintenance Tool to install another Qt version (you probably will have to enable Archive to install older versions).

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            T 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:

                              Anyone know how to install this?

                              How did you install Qt?
                              If using online installer you can use Qt Maintenance Tool to install another Qt version (you probably will have to enable Archive to install older versions).

                              T Offline
                              T Offline
                              Trung Ngo
                              wrote on last edited by
                              #16

                              @jsulm I use either a clean installation or Maintenance. All of them do not include Qt 6.5.5
                              Only Qt 6.5.3 and up to 6.6.0. It does not have Qt 6.5.4 and Qt 6.5.5

                              jsulmJ 1 Reply Last reply
                              0
                              • T Trung Ngo

                                @jsulm I use either a clean installation or Maintenance. All of them do not include Qt 6.5.5
                                Only Qt 6.5.3 and up to 6.6.0. It does not have Qt 6.5.4 and Qt 6.5.5

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #17

                                @Trung-Ngo said in Qt multimedia warnings Qt 6.6.0:

                                It does not have Qt 6.5.4 and Qt 6.5.5

                                It could be that these versions are not provided via installer for OSS users (only for commercial users). You would need to build that Qt version from source. But why don't you want to use Qt 6.6.x?

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                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