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

发布于 2024-08-13 07:44:11 字数 118 浏览 2 评论 0原文

如何捕获 Cell Linux 上的 Linux 帧缓冲区以获得屏幕截图或电影?

是否有工具可以为正在运行的程序执行此操作,或者写入并可能控制帧缓冲区的程序还必须处理捕获和记录?如果是这样,程序将如何执行?

How can the linux frame buffer, on Cell Linux, be captured to obtain either screen shots or movies?

Is there a tool to do this for a running program, or must the program writing to, and presumably controlling, the frame buffer also handle capture and recording? If so, how would the program do so?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

昔梦 2024-08-20 07:44:11

许多工具可以实现此目的,例如 FBGrabfbdump;查看这两个的源代码,扩展其中一个或编写自己的捕获视频而不仅仅是快照将非常容易。

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

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 ...)

虚拟世界 2024-08-20 07:44:11

您可以使用ffmpegavconv(例如avconv -f fbdev -i /dev/fb0 mymovie.flv)。

you could use ffmpeg or avconv (eg. avconv -f fbdev -i /dev/fb0 mymovie.flv).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文