RTSP - Video stream support in Qt
Unsolved
3rd Party Software
-
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. -
Try this:
MediaPlayer { id: mediaplayer autoPlay: true source: "gst-pipeline: rtspsrc location=rtsp://192.168.1.73/stream1 ! queue ! decodebin ! queue ! qtvideosink" videoOutput: [v1] }