What do I have to write on the QML Video source property in order to show rtsp ?



  • I want to show streaming media (rtsp) through QML Video element.
    I tried to write:
    source: "rtsp://10.1.30.244:554/rtpvideo1.sdp" but the error string is: "Resource not found".
    What do I have to write on the 'source' property in order to show rtsp ?



  • Try to view this url in another player that supports rtsp, like vlc or totem.
    Do they show video on "rtsp://10.1.30.244:554/rtpvideo1.sdp" ?



  • Hi andreyc,

    I tried to show this URL in VLC Player and it works fine.
    Any ideas ?



  • If you run QML app with this url from a terminal do you see any warnings, messages?

    What OS do you use?



  • I don't see any warnings. I just don't see the streaming video.

    The QML Video element statuses are all OK:
    availability = MediaPlayer.Available
    error = MediaPlayer.NoError
    hasAudio = false
    hasVideo = true
    playbackState = MediaPlayer.PlayingState
    status = MediaPlayer.Buffered

    My OS is ltib (linux) over Freescale i.MX53



  • On GNU/Linux Qt uses GStreamer as a multimedia plagin.
    Do you have gstreamer-0.10 and its plugins installed on your box?
    rtsp plugin is in gst-plugins-good package.



  • I have gstreamer-0.10 and its plugins on my machine.
    When I run the gstreamer from shell I can see the rtsp streaming.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.