Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Record frames from a Qt item as a video using FFMPEG
Forum Updated to NodeBB v4.3 + New Features

Record frames from a Qt item as a video using FFMPEG

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 292 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.
  • E Offline
    E Offline
    Enayat
    wrote on last edited by Enayat
    #1

    Hi,

    I am working on a recording project on the Raspberry pi 4 with Boot2Qt, so, X11 is not available. I need to record the screen with the overlays that I have defined in one QML item. Since the built-in API for mediarecorder recorder.record() doesn't work due to a bug, I have to use ffmpeg directly. I tried using item.grabToImage() that copies the frame from the GPU into CPU, then I write it to the disk; but it's too slow. Is there any way to speed up this process?

    Thanks,
    Enayat

    SGaistS 1 Reply Last reply
    0
    • E Enayat

      Hi,

      I am working on a recording project on the Raspberry pi 4 with Boot2Qt, so, X11 is not available. I need to record the screen with the overlays that I have defined in one QML item. Since the built-in API for mediarecorder recorder.record() doesn't work due to a bug, I have to use ffmpeg directly. I tried using item.grabToImage() that copies the frame from the GPU into CPU, then I write it to the disk; but it's too slow. Is there any way to speed up this process?

      Thanks,
      Enayat

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

      Hi,

      If you are using Qt 6.5, you could try with QScreenCapture.

      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