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. Is there any ways to remove the header section of the recording app (QtMultimedia)

Is there any ways to remove the header section of the recording app (QtMultimedia)

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmultimedia
3 Posts 2 Posters 300 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.
  • L Offline
    L Offline
    lnt750333
    wrote on 27 Feb 2024, 04:13 last edited by
    #1

    Hello!
    I'm new to QtMultimedia. I want to record my app window, and I found a good example to start QML Video Recorder example. I tried to build and run the example, for a reason I want to remove the header on the output video (this picture is just a example)example-recorder.png
    I wonder if there is any ways to remove the header or at least I can customize the recording app window's height, width and resolution.
    I'm sorry for my bad English, but I appreciate any help. Thank you!

    C 1 Reply Last reply 27 Feb 2024, 07:24
    0
    • L lnt750333
      27 Feb 2024, 04:13

      Hello!
      I'm new to QtMultimedia. I want to record my app window, and I found a good example to start QML Video Recorder example. I tried to build and run the example, for a reason I want to remove the header on the output video (this picture is just a example)example-recorder.png
      I wonder if there is any ways to remove the header or at least I can customize the recording app window's height, width and resolution.
      I'm sorry for my bad English, but I appreciate any help. Thank you!

      C Offline
      C Offline
      ChrisW67
      wrote on 27 Feb 2024, 07:24 last edited by
      #2

      @lnt750333 The "header section" is the window title bar provided to your top level widget by whatever window manager is involved. What you want to try is the Qt::FramelessWindowHint on your top-level window.

      See also the Window Flags Example

      L 1 Reply Last reply 27 Feb 2024, 08:29
      0
      • C ChrisW67
        27 Feb 2024, 07:24

        @lnt750333 The "header section" is the window title bar provided to your top level widget by whatever window manager is involved. What you want to try is the Qt::FramelessWindowHint on your top-level window.

        See also the Window Flags Example

        L Offline
        L Offline
        lnt750333
        wrote on 27 Feb 2024, 08:29 last edited by
        #3

        @ChrisW67 Thanks for your response! Using Qt::FramelessWindowHint flags can help me in my case.
        But for further understanding, in case I want to record other apps then I have to remove its header section (such as the OBS header in above picture), I wonder If I could set this similar flags to CapturableWindow when I get it from capturableWindows(). Or QWindowCapture, QMediaRecorder had the other ways to help me with this?
        Please feel free to share, I’m grateful.

        1 Reply Last reply
        0

        1/3

        27 Feb 2024, 04:13

        • Login

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