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. Render Gstreamer output within QtWindow
Forum Updated to NodeBB v4.3 + New Features

Render Gstreamer output within QtWindow

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 778 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.
  • S Offline
    S Offline
    Srioff
    wrote on last edited by
    #1

    I'm trying to render my gstreamer output stream to my qt window but when i run the program on my embedded device(iMX8) the stream is opening in a full screen mode and not within the qtwindow.
    gst-launch-1.0 udpsrc port=5555 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! h264parse ! v4l2h264dec ! autovideosink sync=false

    but when i ran the program on my PC then i was getting the output within the qt window only.

    i even tried using glimagesink, still no desired output and even qtvideosink didn't display any stream.

    S 1 Reply Last reply
    0
    • S Srioff

      I'm trying to render my gstreamer output stream to my qt window but when i run the program on my embedded device(iMX8) the stream is opening in a full screen mode and not within the qtwindow.
      gst-launch-1.0 udpsrc port=5555 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! h264parse ! v4l2h264dec ! autovideosink sync=false

      but when i ran the program on my PC then i was getting the output within the qt window only.

      i even tried using glimagesink, still no desired output and even qtvideosink didn't display any stream.

      S Offline
      S Offline
      Srioff
      wrote on last edited by
      #2

      @Srioff when I'm displaying a local stream with qtvideosink I'm able to view it within the window but when I'm streaming the soruce from another source I'm not able to view anything.

      cd7fed11-d27c-4428-99f5-c68c57d7eb68-Media_QT_WINDOW.jpg

      In this image I'm streaming a videotestsrc locally using qtvideosink and I'm using autovideosink for the stream from another source as qtvideosink is not displaying any stream

      JoeCFDJ 1 Reply Last reply
      0
      • S Srioff

        @Srioff when I'm displaying a local stream with qtvideosink I'm able to view it within the window but when I'm streaming the soruce from another source I'm not able to view anything.

        cd7fed11-d27c-4428-99f5-c68c57d7eb68-Media_QT_WINDOW.jpg

        In this image I'm streaming a videotestsrc locally using qtvideosink and I'm using autovideosink for the stream from another source as qtvideosink is not displaying any stream

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

        @Srioff said in Render Gstreamer output within QtWindow:

        qtvideosink

        I guess qtvideosink is from Qt Gstreamer which is very old, not developed anymore and has quite some bugs.

        Try to use qml sink to play any gstreamer pipeline.
        https://forum.qt.io/topic/155422/parallel-pipelines-with-qml6glsink?_=1712071475549

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Srioff
          wrote on last edited by
          #4

          Sure I'll try this out.

          S 1 Reply Last reply
          0
          • S Srioff

            Sure I'll try this out.

            S Offline
            S Offline
            Srioff
            wrote on last edited by
            #5

            @Srioff We're working on qt5
            we tried with this qmlglsink as well still we're not able to view any output.

            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