Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. qtvideosink not work on embedded target
Forum Updated to NodeBB v4.3 + New Features

qtvideosink not work on embedded target

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 94 Views
  • 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.
  • Q Offline
    Q Offline
    qtvideosink
    wrote last edited by
    #1

    hello,

    I'm trying to develop app using custom gstreamer pipeline, with below example, I'm able to run it on PC ubuntu, but not on embedded, I really wonder what does qtvideosink depend on?

    import QtQuick 2.0
    import QtMultimedia 5.12

    Item {
    MediaPlayer {
    id: mediaplayer
    source: "gst-pipeline: videotestsrc ! qtvideosink"
    autoPlay: true

    VideoOutput {
        anchors.fill: parent
        source: mediaplayer
    }
    

    }

    I feel like this could relate to opengl, let me know how I debug it?

    jsulmJ 1 Reply Last reply
    0
    • Q qtvideosink

      hello,

      I'm trying to develop app using custom gstreamer pipeline, with below example, I'm able to run it on PC ubuntu, but not on embedded, I really wonder what does qtvideosink depend on?

      import QtQuick 2.0
      import QtMultimedia 5.12

      Item {
      MediaPlayer {
      id: mediaplayer
      source: "gst-pipeline: videotestsrc ! qtvideosink"
      autoPlay: true

      VideoOutput {
          anchors.fill: parent
          source: mediaplayer
      }
      

      }

      I feel like this could relate to opengl, let me know how I debug it?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @qtvideosink said in qtvideosink not work on embedded target:

      but not on embedded

      What happens there?
      You should first check whether the plug-in are properly loaded: set QT_DEBUG_PLUGINS env variable, run the application and check its output (see https://doc.qt.io/qt-6/debug.html).

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

      Q 1 Reply Last reply
      0
      • jsulmJ jsulm

        @qtvideosink said in qtvideosink not work on embedded target:

        but not on embedded

        What happens there?
        You should first check whether the plug-in are properly loaded: set QT_DEBUG_PLUGINS env variable, run the application and check its output (see https://doc.qt.io/qt-6/debug.html).

        Q Offline
        Q Offline
        qtvideosink
        wrote last edited by
        #3

        @jsulm said in qtvideosink not work on embedded target:

        QT_DEBUG_PLUGINS

        hello jsulm,

        actually every looks good from the log perspective, the only problem is when I run app, there's only a empty windows without videotestsrc rendering. check the below log with QT_DEBUG_PLUGINS set to 1. also in the qml I have print mediaplayer status.
        from below it change from 2 to 6, still quite good.

        btw, I'm not able to attach log directly via code style, it is detected as spam, I don't know why.
        so I paste it here qtvideosink-debug-plugin

        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