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. Qt5 UI overlay video
QtWS25 Last Chance

Qt5 UI overlay video

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 2 Posters 3.0k 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.
  • A Offline
    A Offline
    Alex_wang
    wrote on last edited by
    #1

    env: Tx1 , only one fb

    video : gst decode and display video
    qt5 UI : qml

    now, I want to display Qt5 UI upon video by x11,
    any ideas?

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

      Hi,

      Please describe your situation with more details. From your explanation it seems that you would be using three different technologies fighting to show something on screen.

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

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Alex_wang
        wrote on last edited by
        #3

        oh, my god, I am sorry.

        I want to decode and display video from the camera with gstreamer and my control UI with qml should be up on the video.
        Then ,the video and the control UI should on different layers and can not interfere with each other.

        If my dev have two fbs (fb0, fb1) that are on different layers, I can display video on fb0 and control UI on fb1.
        But my dev have only one fb, so how to do with it ?

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

          By layer do you mean different screens if you have two frame buffers ?

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

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alex_wang
            wrote on last edited by
            #5

            yes,I want to display the video and the UI control on different screens on the same monitor.

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

              Beware, screens and monitors are pretty close meaning wise.

              So you mean that you want two different widgets ? One showing the video and the other the controls ?

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

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Alex_wang
                wrote on last edited by Alex_wang
                #7

                no,the video from the camera should be decoded and shown with gstreamer, not be shown with Qt.
                In my project, the video has be shown correctly and now I need to add a control UI to it .
                I want to develop this with Qt.
                In my development , I find that the control UI and the video are conflicting on the minitor,
                sometimes the video will overlay the control UI , and when the control UI will run later to the video,
                the control UI will overlay the video.
                This is not my expectation.
                I hope that the UI and the video will not conflict, and the UI will always up on the video ,
                but the UI 's background should be transparent so that we will see the video through the UI.

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

                  Qt has a gstreamer backend or you could use the QtGStreamer project. Wouldn't that simplify your life ?

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

                  1 Reply Last reply
                  0

                  • Login

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