如何使用 c# 在我的 windows 窗体应用程序中嵌入 vlc
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13645743/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to embed vlc in my windows form application with c#
提问by Mohammad H
I'm trying to make an app that can control my IP cameras.VLC media player can do this but I don't know how to embed it in my app to add features to it like capture a picture.What should I do?
我正在尝试制作一个可以控制我的 IP 摄像机的应用程序。VLC 媒体播放器可以做到这一点,但我不知道如何将它嵌入到我的应用程序中以向它添加功能,例如捕捉图片。我该怎么办?
采纳答案by Yannick Blondeau
The VideoLAN Wiki has links about the .Net Interface to VLCas well as C# bindingsfor libvlc, which is the underlying library of VLC.
VideoLAN Wiki 提供了有关VLC的.Net 接口以及libvlc 的C# 绑定的链接,libvlc 是 VLC 的底层库。
You will find there several projects such as VLCdotNetwhich seems to be something that you can use.
您会发现有几个项目,例如VLCdotNet,您似乎可以使用它们。
You can also get into the .Net Interface to VLC by looking at the sources of the DMediaPlayer on CodePlex.
您还可以通过查看CodePlex 上 DMediaPlayer的来源来了解 VLC 的 .Net 接口。

