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. can not play a video when qquickwidget(gstreamer sink qml) is added into a qgraphicsscene

can not play a video when qquickwidget(gstreamer sink qml) is added into a qgraphicsscene

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 406 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by JoeCFD
    #1

    No issues to display a video with qquickwidget alone.

    the implementation is here.
    https://forum.qt.io/topic/143054/can-not-display-a-video-with-qml-sink-within-qwidgets-layout/10

    But no video if qquickwidget is added into a qgraphicsscene. Anyone has the same issue?

    SGaistS 1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      No issues to display a video with qquickwidget alone.

      the implementation is here.
      https://forum.qt.io/topic/143054/can-not-display-a-video-with-qml-sink-within-qwidgets-layout/10

      But no video if qquickwidget is added into a qgraphicsscene. Anyone has the same issue?

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Sorry not answer but why not use a QGraphicsVideoItem ?

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

      JoeCFDJ 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Sorry not answer but why not use a QGraphicsVideoItem ?

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

        @SGaist I have a customized gstreamer pipeline and it needs only a gstreamer sink with a qt display widget.
        I am not sure if I can add QGraphicsVideoItem to the sink. But I will try it. Thanks.

        JoeCFDJ 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          @SGaist I have a customized gstreamer pipeline and it needs only a gstreamer sink with a qt display widget.
          I am not sure if I can add QGraphicsVideoItem to the sink. But I will try it. Thanks.

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

          @JoeCFD Just checked the doc of gstreamer qmlglsink element and it requires QQuickItem. QGraphicsVideoItem will not work.

          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