更少的 CPU 密集型 - alpha 视频 (flv) 与 png 序列
你好 谁能告诉我闪存中哪个CPU密集度较低 1- alpha 视频渲染为 flv 或者 2-同一视频的 png(带 alpha)序列
Hi
Can anyone tell me which is LESS cpu intensive in flash
1- alpha video rendered as flv
or
2- a png(with alpha) sequence of the same video
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
视频强度较低,因为 Flash 中的视频播放器与 SWF 本身的 fps 分离。也就是说,您可以以 30 fps 运行视频播放器,而 SWF 以 1 fps 运行。
您还可以通过 StageVideo api 利用 GPU,这意味着您的 CPU 使用率会大大减少。 Thibault Imbert 位于 http://www.adobe.com/devnet/flashplayer/articles /stage_video.html对此有很好的解释。
Video is less intensive, as the video player in flash is decoupled from the fps of the SWF itself. That is to say that you can run a video player at 30fps, while the SWF runs at 1fps.
You can also take advantage of the gpu through the StageVideo api which means your cpu usage is greatly diminished. Thibault Imbert over at http://www.adobe.com/devnet/flashplayer/articles/stage_video.html has a good explanation of this.