Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. RTSP - Video stream support in Qt

RTSP - Video stream support in Qt

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 3 Posters 2.2k Views 4 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.
  • M Offline
    M Offline
    Maheshdev305
    wrote on last edited by
    #1

    I have setup an RTSP server using GStreamer. my GStreamer command streams an H264 video over RTSP. I am able receive the stream and see the video on VLC player.
    I am trying to receive it using the QML Video element. and I am not receiving the stream and hence there is no video output.

    Video {
        id: vid
        source: "rtsp://192.168.5.5:9000/myVideoStream"
        autoLoad: true
        autoPlay: true
    }
    

    my question is Does Qt support RTSP protocol? if not what is the possibility that i could do this?
    I tried to use GStreamer library with Qt, but I am facing issues with that, and am working on it.

    1 Reply Last reply
    1
    • S Offline
      S Offline
      s_dea
      wrote on last edited by
      #2

      Hi, did you succeed in obtaining that stream?

      1 Reply Last reply
      0
      • O Offline
        O Offline
        oniongarlic
        wrote on last edited by
        #3

        Try this:

        MediaPlayer {
                id: mediaplayer
                autoPlay: true
                source: "gst-pipeline: rtspsrc location=rtsp://192.168.1.73/stream1 ! queue ! decodebin ! queue ! qtvideosink"
                videoOutput: [v1]
            }
        
        
        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