import QtQuick 2.9 import QtQuick.Controls 2.12 import QtQuick.Window 2.2 import VideoItem 1.0 import QtMultimedia 5.12 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") VideoItem{ id: video width: 300 height: 300 surface: videoSurface1 z: 3 } VideoItem{ id: video1 x: 300 y: 300 width: 300 height: 300 surface: videoSurface2 z: 3 } // MediaPlayer{ // id: mediaplayer // source: "gst-pipeline: videotestsrc ! xvimagesink name=\"qtvideosink\"" // autoPlay: true // } // VideoOutput{ // source: mediaplayer // width: 800 // height: 800 // Label{ // text: "2323232" // } // } }