Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qml and MediaPlayer
Forum Updated to NodeBB v4.3 + New Features

Qml and MediaPlayer

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 444 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi, I'm using MediaPlayer to watch a rtsp camera.
    Is it possible to show a "connecting..." video during the rtsp connection?
    Is it possible to have an event when the connection in completed?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    JoeCFDJ 1 Reply Last reply
    0
    • mrdebugM mrdebug

      Hi, I'm using MediaPlayer to watch a rtsp camera.
      Is it possible to show a "connecting..." video during the rtsp connection?
      Is it possible to have an event when the connection in completed?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @mrdebug Qt version and OS?

      mrdebugM 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @mrdebug Qt version and OS?

        mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        @JoeCFD Qt 5.15.2, all os

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        JoeCFDJ 1 Reply Last reply
        0
        • mrdebugM mrdebug

          @JoeCFD Qt 5.15.2, all os

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          @mrdebug in Qt 5.1.5.2, I guess Qt uses gstreamer for RTSP streaming.
          If play state is set and streaming starts, you can show "connecting".
          However, you may not be able to get an event if rtsp streaming stops in Qt. Even in gstreamer, it is a bit messy to handle the scenario(doable). For example, camera is broken or turned off or network connection is gone.

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            I'm disappointed with the Qt gstreamer implementation.
            I need to watch a rtsp camera persisently and I need an event when the connection is done or the connection is broken.
            MediaPlayer close the rtsp connection afer a while.
            What do you siggest to use as multiplatfor library in order to watch a rtsp camera?
            I used ffmper but with not so good experience.
            https://github.com/denisgottardello/QtFFmpegPlayer

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            JoeCFDJ 1 Reply Last reply
            0
            • mrdebugM mrdebug

              I'm disappointed with the Qt gstreamer implementation.
              I need to watch a rtsp camera persisently and I need an event when the connection is done or the connection is broken.
              MediaPlayer close the rtsp connection afer a while.
              What do you siggest to use as multiplatfor library in order to watch a rtsp camera?
              I used ffmper but with not so good experience.
              https://github.com/denisgottardello/QtFFmpegPlayer

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by JoeCFD
              #6

              @mrdebug someone said state change is ok.
              https://forum.qt.io/topic/77694/detect-when-webcam-is-unplugged/13?_=1714657097024

              And you are using FFmpeg, not gstreamer.

              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