简体   繁体   English

WPF GUI中的H.264流

[英]H.264 stream in WPF GUI

I am developing a Window7, C#/WPF based GUI and I want to show H.264 video which I get from the RTP stream of a video call. 我正在开发基于Window7,C#/ WPF的GUI,我想显示从视频通话的RTP流中获取的H.264视频。 I am using a C based open source library for making the video call. 我正在使用基于C的开源库进行视频通话。 This is what I want to implement: The user dials a URI by typing in the address and pressing the call button and when the video call is established the H.264 stream is seen in the WPF GUI window. 这就是我要实现的:用户通过输入地址并按下呼叫按钮来拨打URI,并且在建立视频呼叫后,在WPF GUI窗口中会看到H.264流。

Does the latest WPF support H.264? 最新的WPF是否支持H.264? If not, what other windows based framework/technology can I use to show H.264 video on Windows 7? 如果不是,我可以使用其他哪些基于Windows的框架/技术在Windows 7上显示H.264视频?

Yes, WPF VideoElement can show H264, if you have latest windows media player installed(I think windows7 has WMP installed by default). 是的,如果您安装了最新的Windows Media Player,WPF VideoElement可以显示H264(我认为Windows7默认安装了WMP)。 If that doesn't benefit you, you can always use MediaKit that can do everything: http://wpfmediakit.codeplex.com/ (you can feed your own DirectShow graph to VideoElement by registering new protocol - basically means anything is possible this way) 如果那不能使您受益,则始终可以使用可以完成所有操作的MediaKit: http ://wpfmediakit.codeplex.com/(您可以通过注册新协议将自己的DirectShow图提供给VideoElement-基本上意味着以这种方式可以做任何事情)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM