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. Ip camera live streaming in QML
QtWS25 Last Chance

Ip camera live streaming in QML

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 2 Posters 1.1k Views
  • 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.
  • V Offline
    V Offline
    Vijaykarthikeyan
    wrote on last edited by Vijaykarthikeyan
    #1

    Is there any possibility to live stream the live video output from rtsp/ip cameras without any external or 3rd party libraries. I have tried like this:

     MediaPlayer {
        id: videoPlayer
        source: "rtsp://admin:vikra%40123@192.168.56.51:554/live"
        muted: true
        autoPlay: true
        autoLoad: true
        }
    
        VideoOutput
        {
        id: camera1
        width: 1920
        height: 1080
        anchors.fill:parent
        source: videoPlayer
        }
        Component.onCompleted: {
            videoPlayer.play();
        }
    

    But,it is not working,results in error like this:DirectShowPlayerService::doSetUrlSource: Unresolved error code 0x800c000d ()

    IF this is not possible,how to live stream in qml using opencv library. I have already done the live streaming in Qt C++ using opencv. Now, I want to completely run the live stream in qml without C++ at the backend

    1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Which version of Qt are you using ?
      On which platform ?

      V Offline
      V Offline
      Vijaykarthikeyan
      wrote on last edited by
      #3

      @SGaist I'm using windows platform and My Qt version is 5.15.2.

      I found two solutions.One of those from the links are :

      https://github.com/yunus-temurlenk/SendVideoToQmlWithQThread/blob/main/main.qml

      @SGaist you have already discussed about this..I saw in youtube in this channel https://youtu.be/-EYldBso0M4?si=DJ7A2n0nilsJc9Gu

      Actually,I already implemented this solution in my project and it is working.

      SGaistS 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Which version of Qt are you using ?
        On which platform ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        V 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Which version of Qt are you using ?
          On which platform ?

          V Offline
          V Offline
          Vijaykarthikeyan
          wrote on last edited by
          #3

          @SGaist I'm using windows platform and My Qt version is 5.15.2.

          I found two solutions.One of those from the links are :

          https://github.com/yunus-temurlenk/SendVideoToQmlWithQThread/blob/main/main.qml

          @SGaist you have already discussed about this..I saw in youtube in this channel https://youtu.be/-EYldBso0M4?si=DJ7A2n0nilsJc9Gu

          Actually,I already implemented this solution in my project and it is working.

          SGaistS 1 Reply Last reply
          0
          • V Vijaykarthikeyan

            @SGaist I'm using windows platform and My Qt version is 5.15.2.

            I found two solutions.One of those from the links are :

            https://github.com/yunus-temurlenk/SendVideoToQmlWithQThread/blob/main/main.qml

            @SGaist you have already discussed about this..I saw in youtube in this channel https://youtu.be/-EYldBso0M4?si=DJ7A2n0nilsJc9Gu

            Actually,I already implemented this solution in my project and it is working.

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            So this thread can be considered solved ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            V 1 Reply Last reply
            0
            • SGaistS SGaist

              So this thread can be considered solved ?

              V Offline
              V Offline
              Vijaykarthikeyan
              wrote on last edited by
              #5

              @SGaist almost..

              1 Reply Last reply
              0
              • V Vijaykarthikeyan has marked this topic as solved on

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved