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. QScreenCapture with partial screen
Forum Updated to NodeBB v4.3 + New Features

QScreenCapture with partial screen

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 410 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.
  • T Offline
    T Offline
    Timmy
    wrote on last edited by Timmy
    #1

    Hello,

    I'm trying to record screen by new API QScreenCapture in QT 6.5.3, but it only captures the whole screen. Is there any way to capture partial screen? Like setGeometry, I checked the documents for QScreenCapture, QMediaCaptureSession and QMediaRecorder, no such function.

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

      Hi and welcome to devnet,

      AFAIK, currently no. Are you trying to record something specific ?

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

      T 1 Reply Last reply
      0
      • T Timmy

        Hello,

        I'm trying to record screen by new API QScreenCapture in QT 6.5.3, but it only captures the whole screen. Is there any way to capture partial screen? Like setGeometry, I checked the documents for QScreenCapture, QMediaCaptureSession and QMediaRecorder, no such function.

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

        @Timmy you can use gstreamer or FFmpeg to do it.

        T 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          AFAIK, currently no. Are you trying to record something specific ?

          T Offline
          T Offline
          Timmy
          wrote on last edited by
          #4

          @SGaist Yes, most screen recorder software have this function, I'm just trying.

          1 Reply Last reply
          0
          • JoeCFDJ JoeCFD

            @Timmy you can use gstreamer or FFmpeg to do it.

            T Offline
            T Offline
            Timmy
            wrote on last edited by
            #5

            @JoeCFD Thanks, I already tried FFmpeg before. It works. As I know QMultiMedia backend also is FFMpeg, So I'm trying to use QMultiMedia instead of calling FFmpeg directly.

            SGaistS JoeCFDJ 2 Replies Last reply
            0
            • T Timmy has marked this topic as solved on
            • T Timmy

              @JoeCFD Thanks, I already tried FFmpeg before. It works. As I know QMultiMedia backend also is FFMpeg, So I'm trying to use QMultiMedia instead of calling FFmpeg directly.

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

              @Timmy not all features of ffmpeg are supported but you might be able to implement that one in Qt yourself.

              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
              • T Timmy

                @JoeCFD Thanks, I already tried FFmpeg before. It works. As I know QMultiMedia backend also is FFMpeg, So I'm trying to use QMultiMedia instead of calling FFmpeg directly.

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

                @Timmy you may rely more on FFMpeg than on QMultiMedia. QMultiMedia is a very basic tool for now. I do not use it at all.

                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