且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Linux帧缓冲区上截屏截图或电影

更新时间:2023-11-13 09:14:52

许多这样做的工具,例如 FBGrab fbdump ;查看这两个源,很容易扩展其中一个或编写自己的视频而不是快照。

Many tools for doing so, for example FBGrab and fbdump; look at the sources for those two, it would be pretty easy to extend either one or write your own which captures video instead of just snapshots.

但是,我建议将写入帧缓冲区的程序也记录为一个记录,以便使捕获帧在写入帧之间同步(而不是部分地通过写,跳过或...)

However, I would recommend that the program writing to the framebuffer be the one recording as well, in order to synchronize capturing frames between writing them (and not partially through a write, or skipping, or ...)