捕获Mac屏幕 [英] Capture mac screen

查看:83
本文介绍了捕获Mac屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用可可粉录制Mac屏幕的最佳方法是什么?我知道Apple开发人员参考库中有很多示例. SonOfGrab解释了如何用石英捕获屏幕,但是使用它每秒捕获许多帧的速度还不够快. OpenGLScreenSnapshot具有相同的结果,但是速度也不快. OpenGLScreenCapture似乎是最好的方法,但是XCode提示我很多错误,因为它是为10.4编写的,它需要旧的Quicktime命令,我认为它们已推送到QTKit中,但我找不到转换它的方法.任何人都可以将我发送到转换项目的某个人的网站,或者告诉我是否有其他方法可以执行此操作.预先感谢.

What is the best way to record the mac screen with cocoa? I know there are many examples at the apple developer reference library. SonOfGrab explain how to capture the screen with quartz but also that it isn't enough fast to use it to grab many frames every second. OpenGLScreenSnapshot has same results but it isn't fast, too. OpenGLScreenCapture seems to be the best way to do it but XCode prompts me many errors because it's made for 10.4 and it requires old Quicktime commands I think they pushed into QTKit but I can't find a way to convert it. Could anyone send me to someone's site that converted the project or tell me if there are some other ways to do it. Thanks in advance.

推荐答案

OpenGL是最好的选择.如果您的体系结构设置为32位,您仍然应该能够使用OpenGLScreenCapture示例. (QuickTime在64位中不可用.)

OpenGL would be the way to go. You should still be able to use the OpenGLScreenCapture sample if your architecture is set to 32-bit. (QuickTime is not available in 64-bit.)

-肯

这篇关于捕获Mac屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆