Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QML MediaPlayer shows gstreamer pipeline in second window

QML MediaPlayer shows gstreamer pipeline in second window

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 371 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
    samup
    wrote on last edited by
    #1

    Re: QMediaPlayer Video Opens Second Window. Only One Desired. GStreamer Pipeline URI

    Hello, I'm using MediaPlayer and VideoOuput component to visualize a gstreamer pipeline. The relevant part of my QML code is the following:

    MediaPlayer{
        id: playVideo
        videoOutput: videoOutput
        source: backend.CurrentPipeline
    }
    
    VideoOutput{
        id: videoOutput
    }
    

    When I use as source a gstreamer pipeline with qtvideosink, the stream is correctly visualized in the application window. If, instead, I use another sink, like for example xvimagesink, another window pops up with the pipeline stream.

    Screenshot from 2023-04-04 09-34-54.png

    This happens also if I set the sink name property to "qtvideosink". How can I avoid this and visualize the pipeline stream inside the videooutput component also with other sinks apart from qtvideosink?

    Thank you very much

    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