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. Playing RTSP Video with QML over windows
Forum Updated to NodeBB v4.3 + New Features

Playing RTSP Video with QML over windows

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.2k 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.
  • R Offline
    R Offline
    RafaelTSCS
    wrote on last edited by
    #1

    Hello everyone!

    I am trying to play a RTSP stream in QML into a Video tag as following:

    @Repeater {
    model: 8

    Video {
        Layout.fillWidth: true
        Layout.fillHeight: true
    
        fillMode: VideoOutput.Stretch
    
        source: Controller.urlCanal(index + 1)
        autoPlay: true
        autoLoad: true
    
        CustomBorder {
            commonBorder: true
            color: "#228e14"
            commonBorderWidth: 3
        }
    }
    

    }@

    This should display 8 videoScreens, but I am getting the error:

    DirectShowPlayerService::doSetUrlSource: Unresolved error code 800c000d rtsp://192.168.50.10:8082/user=admin&password=admin&channel=7&stream=0.sdp?real_stream

    Does QML support RTSP? If so, What I am doing wrong? If not, How could I get this working?

    PS.: I've als tried to use MediaPlayer together with VideoOutput, but I was given the same error.

    Thank you in advance

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

      Hello RafaelTSCS.
      I'm facing the same issue (both on windows and linux).
      What is the url channel you give to the 'source' property?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RafaelTSCS
        wrote on last edited by
        #3

        Hello, aabc.

        The URL is a local stream from a DVR.

        rtsp://192.168.50.10:8082/user=admin&password=admin&channel=1&stream=0.sdp?real_stream

        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