Screencast support in Qt?

I know that there are some really wonderful tools for capturing the screen in motion on the desktop, but as part of the development of this application I'm working on, I need to capture the actions taking place in a specific area of ​​the widget. So far, development has been done completely on top of the open Qt SDK, but I don't see any support for the screencast as such.

I have already studied all the relevant answers in this forum in addition to the search engine. Merging periodic pixmaps on grabWidget seems to be one way, but I hope for something more elegant and reliable. Everything I found is based on top of DirectX or GDI.

Please let me know the right way if in this context there is one or other alternatives that I have in the framework of the GPL license.

+4
source share
1 answer

since no one answered another question, I leave my comment as an answer here.

Doing grabWidget is how I did it. This allows you to easily adjust the frame rate, as well as perform any processing before displaying it.

Its quite efficient (I made grabWindow screencapture server for udp client viewer) and relatively simple ...

+2
source

Source: https://habr.com/ru/post/1381148/


All Articles