捕获每个WPF的MediaElement框架 [英] Capture each WPF MediaElement frame

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

问题描述

有没有一种方法来捕捉每个WPF MediaElement的框架?这样的火灾在每个渲染帧,允许我访问的事件。如果MediaElement的不提供这样的功能,怎么可能实现或者我可以用什么样的控制?在一个侧面说明,有没有这样的控制或方法将允许媒体剪辑的离屏快速渲染与帧捕获? (所以我可以尽可能快地处理帧)

Is there a way to capture each WPF MediaElement frame? Like an event that fires at each rendered frame and allows me to access it. If MediaElement does not provide such functionality, how could it be implemented or what other control could I use? On a side note, is there such a control or method that would allow for off-screen fast rendering of media clips with frame capture? (so I could process frames as fast as possible)

推荐答案

试用我的 WPF MediaKit 项目。让您与媒体做几乎任何事情在WPF。试用MediaDetector.cs,它可以让你从媒体随时解压出来的帧。这是一个小马车,因为我从来没有把大量的时间在这上面,而是应该对你所需要的工作。

Try out my WPF MediaKit project. Allows you to do pretty much anything in WPF with Media. Try out the MediaDetector.cs, it allows you to extract out frames from any time in the media. It's a little buggy as I've never put a lot of time in it, but should work for what you need.

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

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