如何将 Cocos2D 窗口输出保存为视频?
我正在考虑将外观精美的 Cocos2d 用于运动图形项目。 然而,Cocos2d 旨在用于游戏,而不是生成 MPEG 流。
是否可以将 Cocos2d 脚本的输出保存到 MOV 或 MPG 文件? 理想情况下,这需要以直接方式完成,而不是使用屏幕截图 因为这不能满足项目的要求。
希望那里有一些 cocos2d 专家:D 谢谢!
I am considering using the excellent looking Cocos2d for a motion graphics project.
However, Cocos2d is intended for games, rather than producing an MPEG stream.
Is it possible to save the output from a Cocos2d script to a MOV or MPG file?
Ideally this needs to be done in a direct manner, not using a screen capture
as this would not meet the requirements of the project.
Hopefully there are some cocos2d gurus out there :D Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一些选项类似于此问题上发布的选项: 有没有办法可以将我的 iPhone 屏幕捕获为视频?但为此,您必须对设备进行越狱。
在此链接上(http://www.touchcentric.com/blog/archives/3),您可以勾选一种方式将设备的视频发送到您的电脑上,以便您进行录制。
在我看来,根据您的项目情况,您可以使用类似 iSimulator 的东西,使用设备将输入命令发送到模拟器并使用程序录制屏幕。
如果对您有帮助,请告诉我。
干杯,
虚拟网络
There are some options like the one posted on this question: Is there a way I can capture my iPhone screen as a video? but for that you have to jailbreak your device.
On this link (http://www.touchcentric.com/blog/archives/3), you can check a way to send the video of the device to you computer, so you can record it.
In my opinion, depending on how is your project, you could use something like iSimulator, to use the device to send input commands to the simulator and use a program to record the screen.
Let me know if it helps you.
Cheers,
VFN
最后我找到了一个更“导出”友好的不同库。
和Cocos2D不完全一样。 Node Box 是一个基于 Python 的运动图形库。诚然,它对游戏没用,但对绘图和动态图形很有用(这就是我想使用 Cocos2d 的目的!)
http://nodebox.net/code/index.php/Home
In the end I found a different library which is more "export" friendly.
Not exactly the same as Cocos2D. Node Box is a Python based motion graphics library. Admittedly it's useless for games, but good for drawing and motion graphics (which is what I wanted to use Cocos2d for anyway!)
http://nodebox.net/code/index.php/Home