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. Playing external video from Qt ( inside/outside or Qt window)
Forum Updated to NodeBB v4.3 + New Features

Playing external video from Qt ( inside/outside or Qt window)

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 2 Posters 2.9k Views 1 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.
  • D Offline
    D Offline
    Dcqt
    wrote on last edited by
    #1

    Hi,

    I am writing some simple UI for EPG of a setup box.

    The problem is playing videos. we have some gstreamer based framework which provide the video window.

    i would like to know is there any way in Qt to show external video windows either inside Qt provided window or by minimizing Qt UI and show video window.

    We are using open-GL and platform is mips , I tried hiding /minimizing the Qt main object , but could not show the video, i can listen to audio.

    please help ..

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      You can try to put gstreamer played video in Qt using "Gstreamer XOverlay interface":http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-iface-xoverlay.html

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dcqt
        wrote on last edited by
        #3

        Yeah, thats a good idea, but we have not been given libraries for GstXoverlay . But can i use xOverlay on Open -GL

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          bq. but we have not been given libraries for GstXoverlay

          You can check if you have correct xoverlay plugin
          run
          @
          gst-inspect-1.0 | grep sink
          @

          and see if you have ximagesink or xvimagesink if you see it then xoverlay is present in your library.
          If not then see what other sinks do you have and try to use them.
          Another option is to build gstreamer libraries by yourself with all necessary options.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dcqt
            wrote on last edited by
            #5

            yes, i did.

            but there are no ximagesink or xvimagesink.

            Sorry , i dint mention before that i am working some clients project , there they have not given , is there any way to show video with using overlays.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #6

              Take a look on this tutorial "GUI toolkit integration":http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+5:+GUI+toolkit+integration

              Try to build and run if it will show video in GTK window then you can adopt it to Qt.

              Another way to show video in Qt widget is to use appsink
              @
              gst-inspect-1.0 | grep appsink
              gst-inspect-1.0 appsink
              @

              In this case you will get each frame and you will paint it wherever you want.

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

                Regarding gstreamer with opengl.
                There are "Gstreamer OpenGL plugins":http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-gl-plugins/html/
                but they are for gstreamer 0.10

                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