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. Record an rtsp stream with QPainter markings
Qt 6.11 is out! See what's new in the release blog

Record an rtsp stream with QPainter markings

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 720 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.
  • B Offline
    B Offline
    BigBen
    wrote on last edited by
    #1

    Hi.
    I have an application that streams an rtsp stream on a label. I use QPainter to make some markings/drawings on the label, so that it looks like the markings are being made on the stream.
    Now, I want to record the stream along with those markings. Basically, the recording should have the markings made by me as well.
    I am using FFMPEG to record the stream, but obviously this does not record the QPainter markings on the label of the stream.

    How can I record the stream in such a way so that markings made using QPainter on the label are also a part of the stream recording?

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

      Hi,

      How are you getting the image from the stream ?

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

      B 1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        @BigBen said in Record an rtsp stream with QPainter markings:

        FFMPEG

        use qprocess to record a video on a specific qt widget area? I use gstreamer to do it.
        https://stackoverflow.com/questions/32073211/qt-creating-a-video-avi-file-from-widget

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          How are you getting the image from the stream ?

          B Offline
          B Offline
          BigBen
          wrote on last edited by
          #4

          @SGaist
          You mean for recording? I am using the rtsp link of the stream directly to record using ffmpeg through QProcess.

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

            Then how are you getting the frames to your QLabel ?

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

            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