Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. text over a video

text over a video

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
13 Posts 4 Posters 2.7k Views 2 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.
  • A Offline
    A Offline
    aforizma
    wrote on last edited by aforizma
    #1

    Hello everyone,

    I have Imx6 Evaluation Kit. I have an embedded system which shows an analog video(the source is external). So I want to write a GUI over this video. How can i do it. Could you give an example tutorial or document?

    J.HilkJ Pablo J. RoginaP 2 Replies Last reply
    0
    • A aforizma

      Hello everyone,

      I have Imx6 Evaluation Kit. I have an embedded system which shows an analog video(the source is external). So I want to write a GUI over this video. How can i do it. Could you give an example tutorial or document?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @aforizma
      first question you'll have to answer, QWidget or QML ?

      And yes, in both cases it should be relatively simply to show a text over a video.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

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

        Qwidget. I want to continue show analog video and ı want to add GUI over this video. Unfortunately, this is my first qt adventure.

        J.HilkJ 1 Reply Last reply
        0
        • A aforizma

          Qwidget. I want to continue show analog video and ı want to add GUI over this video. Unfortunately, this is my first qt adventure.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @aforizma
          ok, than you should look at the QMovie class.

          I'haven used that myself jet, but I know that you can asign a QLabel a QMovie.
          Than, depending on if it works or not, you can set a text to the QLabel via setText.
          If that doesn't wokr like I asume it will, you'll have to eventuall subclass QMovie or QLabel and print the desiered tex yourself.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

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

            Hi,

            What are you using to grab that analog video ?

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

            A 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              What are you using to grab that analog video ?

              A Offline
              A Offline
              aforizma
              wrote on last edited by
              #6

              @SGaist I don't know it. Actually, this is my problem. I have to grab video and then ı will show video and GUI together.

              1 Reply Last reply
              0
              • A aforizma

                Hello everyone,

                I have Imx6 Evaluation Kit. I have an embedded system which shows an analog video(the source is external). So I want to write a GUI over this video. How can i do it. Could you give an example tutorial or document?

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #7

                @aforizma said in text over a video:

                . I have an embedded system which shows an analog video(the source is external)

                so you have a program (not written by you or that you can modify) running on your board that displays video?

                I have to grab video and then ı will show video and GUI together.

                You want the video to display in a Qt app and do some text overlay?

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                A 1 Reply Last reply
                1
                • Pablo J. RoginaP Pablo J. Rogina

                  @aforizma said in text over a video:

                  . I have an embedded system which shows an analog video(the source is external)

                  so you have a program (not written by you or that you can modify) running on your board that displays video?

                  I have to grab video and then ı will show video and GUI together.

                  You want the video to display in a Qt app and do some text overlay?

                  A Offline
                  A Offline
                  aforizma
                  wrote on last edited by
                  #8

                  @Pablo-J.-Rogina Yes ı have a program and when the board opens, LCD displays a video with GStreamer automatically. This video is analog video. when you connect a camera you will see it. Thus far, I didn't need qt and qt GUI. But now ı want to see symbology on video. So ı need a GUI. Also, ı built a GUI with QT. But When the GUI app runs, the video is not working on LCD. I see only GUI app. I think this problem is not about transparency. I didn't write any code about video on GUI. I am newbie QT and I don't know how can ı integrate video on QT.

                  Pablo J. RoginaP 1 Reply Last reply
                  0
                  • A aforizma

                    @Pablo-J.-Rogina Yes ı have a program and when the board opens, LCD displays a video with GStreamer automatically. This video is analog video. when you connect a camera you will see it. Thus far, I didn't need qt and qt GUI. But now ı want to see symbology on video. So ı need a GUI. Also, ı built a GUI with QT. But When the GUI app runs, the video is not working on LCD. I see only GUI app. I think this problem is not about transparency. I didn't write any code about video on GUI. I am newbie QT and I don't know how can ı integrate video on QT.

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #9

                    @aforizma said in text over a video:

                    LCD displays a video with GStreamer automatically

                    And what about text overlay plugin with GStreamer itself? Not that I've used myself, but an idea. No need to deal with Qt if that works...

                    I don't know how can ı integrate video on QT

                    As you stated QWidget before as your preference, maybe this camera example can be a starting point. The problem I see is how Qt backend will recognize your video source, especially if it's analog video...

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      aforizma
                      wrote on last edited by aforizma
                      #10

                      @Pablo-J.-Rogina said in text over a video:

                      As you stated QWidget before as your preference, maybe this camera example can be a starting point. The problem I see is how Qt backend will recognize your video source, especially if it's analog video...

                      Thanks for your quick reply. GStreamer isn't a solution. I need a GUI which is integrated GPIO. I use dev/fb0 when displays video on LCD. How can ı recognize my video source in QT?

                      Pablo J. RoginaP 1 Reply Last reply
                      0
                      • A aforizma

                        @Pablo-J.-Rogina said in text over a video:

                        As you stated QWidget before as your preference, maybe this camera example can be a starting point. The problem I see is how Qt backend will recognize your video source, especially if it's analog video...

                        Thanks for your quick reply. GStreamer isn't a solution. I need a GUI which is integrated GPIO. I use dev/fb0 when displays video on LCD. How can ı recognize my video source in QT?

                        Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #11

                        @aforizma said in text over a video:

                        I need a GUI which is integrated GPIO

                        could you please elaborate more on this? So you need to read GPIOs and then display symbols over video based on such values?

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          aforizma
                          wrote on last edited by
                          #12

                          @Pablo-J.-Rogina said in text over a video:

                          could you please elaborate more on this? So you need to read GPIOs and then display symbols over video based on such values?

                          Yes. That is true.

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

                            Recent version of GStreamer should provide the qmlsink plugin. You could try to use that and write a QtQuick GUI with whatever you want to show.

                            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