WPF中的实时视频流解决方案 [英] Live Video Streaming Solutions in WPF
问题描述
我们有一个WPF应用程序,需要显示来自KT& C,Point Grey和GPI摄像机的实时视频。
We have a WPF application which is required to display live video from KT&C, Point Grey and GPI cameras.
在应用程序的单个视图(xaml)中,最多可能有9个视频用户控件必须显示来自不同摄像头的实时视频:
In a single view (xaml) of the application, there might be up to 9 video user controls that must display live video from different cameras:
在目前的开发状态下,视频有很多冻结,我无法在所有9个视频框中实现平滑视频的目标。
In current state of the development, the videos have lots of freezes and I can't really reach my goal of Smooth Video in all the 9 video boxes.
我的猜测是WPF有一个单独的UI线程,挑战是通过一个UI线程同时更新9个视频框。
My guess is that WPF has a single UI thread and the challenge is updating the 9 video boxes simultaneously by a single UI thread.
我知道可能已经存在WPF的实时视频流解决方案(监控系统等)。
I know that there are probably already existing Live Video Streaming Solutions for WPF (surveillance system and etc).
你能否指出一个有效而有效的方法来实现它?我更喜欢免费的解决方案,但可能会考虑支付一个非常好的解决方案。谢谢!
Could you please point me out to an efficient and effective way to implement that? I prefer free solutions, but might consider paying for a really good one. Thank you!
推荐答案
从未使用过它,但是..
Never used it myself, but..
我被告知wpf mediakit很好:
I've been told the wpf mediakit is good:
https://github.com/Sascha-L/WPF-MediaKit
如果没有你也可以看看UWP是否有更好的东西,并在xaml岛上使用它。
If that doesn't suit you could also see if UWP has anything better in there and go with that in a xaml island.
这篇关于WPF中的实时视频流解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!