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. What do I have to write on the QML Video source property in order to show rtsp ?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 2 Posters 2.4k Views 1 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      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" ?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aabc
        wrote on last edited by
        #3

        Hi andreyc,

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

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

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

          What OS do you use?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aabc
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aabc
                wrote on last edited by
                #7

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

                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