Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Problems with putting video stream in Qt QML using deepstream pipeline
Forum Update on Monday, May 27th 2025

Problems with putting video stream in Qt QML using deepstream pipeline

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qml camera
2 Posts 2 Posters 438 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.
  • M Offline
    M Offline
    MABahar
    wrote on 14 Apr 2021, 07:16 last edited by MABahar
    #1

    Hi everyone
    i have used the following pipeline in MediaPlayer object of QML. it works fine and it puts the video ouput in newly created window.

    Rectangle
    {
    	MediaPlayer
    	{
    		id: cameraVideo
    		autoPlay: true
    		source: "gst-pipeline: uridecodebin3 
    		uri=\"rtspt://192.168.1.118:8080/h264_ulaw.sdp\"
                    ! queue !  nvstreammux0.sink_0 nvstreammux	
    		name=nvstreammux0 batch-size=1 
                    batched-push-timeout=40000 width=800 
                    height=600 live-source=TRUE ! queue ! 
                    nvvideoconvert ! queue ! 
    		nvinfer config-file-path=\"/opt/nvidia/deepstream
                    /deepstream/samples/configs/deepstream-app/
    		config_infer_primary_nano.txt\" ! queue ! 
                    nvmultistreamtiler ! queue ! 
    		nvtracker tracker-width=240 tracker-height=200 
    		ll-lib-file=/opt/nvidia/deepstream/deepstream/lib
                    /libnvds_mot_iou.so  ll-config-file=/opt/nvidia
                    /deepstream/deepstream/samples/configs
                    /deepstream-app /iou_config.txt ! queue ! 
    		nvdsosd process-mode=HW_MODE ! queue 
    		! nvegltransform ! nveglglessink"
    	}
    	VideoOutput
    	{
    		anchors.fill: parent
    		source: cameraVideo
    	}
    }
    

    but i want to put video output in specified QML Rectangle which is parent of MediaPlayer object. it seems that i must use qtvideosink instead of nveglglessink. but which plugins should i use to transform the video stream for qtvideosink.
    by the way the app is running on NVidia Jetson Nano.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Apr 2021, 19:44 last edited by
      #2

      Hi,

      AFAIK, it's the one provided in QtMultimedia.

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

      1 Reply Last reply
      0

      1/2

      14 Apr 2021, 07:16

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved