[UWP]捕捉元素文字叠加 [英] [UWP]Capture element text overlay

查看:76
本文介绍了[UWP]捕捉元素文字叠加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过捕获元素将文本叠加到实时视频流上?

解决方案

对UWP或者UWP一无所知Capture Element我确实找到了这个帖子
从CaptureElement& ;;执行实时视频流处理MediaCapture
 在帖子中提及
"更好的方法可能是使用MediaCapture.AddEffectAsync()并用C ++写一个Media Foundation Transform(MFT)处理视频并以某种方式将结果传回给应用程序。"。


所以也许您可以找到C#中使用的Media Foundation Transform做你想要的

"媒体基础转换C#"
的Google搜索结果显示了一些可能的结果。我没有搜索VB的可能性。我真的不知道MediaCapture.AddEffectAsync是什么。但是如果C#实现看起来很有希望,那么
可以使用 Telerik 来尝试将其转换为VB。净也许。


我猜你想在保存到某种视频文件的流上覆盖文本,所以重播它就会有文本。


Is it possible to overlay text onto a live video stream via a capture element?

解决方案

Well not knowing anything about UWP or Capture Element I did find this thread Perform live video stream processing from CaptureElement & MediaCapture which mentions in a post "The better way to do it would probably be to use MediaCapture.AddEffectAsync() and write a Media Foundation Transform (MFT) in C++ that would process the video and somehow communicate the results back to the app.".

So perhaps you may be able to find a Media Foundation Transform that is used in C# which can do what you want as Google search results for "media foundation transform C#" turned up some possible results. I did not search for VB possibilities. And I don't really know what MediaCapture.AddEffectAsync is. But if a C# implementation seems promising then you could use Telerik to attempt conversion of it to VB.Net maybe.

I'm guessing you want to overlay text on a stream being saved to some sort of video file so replayed it will have the text on it.


这篇关于[UWP]捕捉元素文字叠加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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