Linux C#mono上的视频播放器 [英] Video player on linux C# mono
本文介绍了Linux C#mono上的视频播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用C#和Mono在Linux上创建Winform应用程序。
我需要在我的应用程序中查看视频。
显然,与Windows Media Player相关的组件不起作用。
原则上,足以让我看到视频(没有带控件的按钮)并且有机会启动它并随意停止。
你有什么迹象表明我可以使用它吗?
我尝试了什么:
我尝试使用c#/ .NET的wmp组件,但它不适用于linux。
I'm making a Winform application on Linux with C# and Mono.
I need to view a video inside of my application.
Obviously the components related to Windows Media Player does not work .
In principle, enough for me to see a video ( no buttons with controls ) and have a chance to start it and stop it at will .
Do you have any indication of what can i use ?
What I have tried:
I tried use the wmp component of c#/.NET but it don't work on linux.
推荐答案
现有基于Mono的OpenSource视频播放器: Banshee [ ^ ]。
所以你可能看一下来源看看他们是如何做到的。
还有 GitHub - majorsile nce / MPlayerControl:MPlayer c#.net库 [ ^ ] for MPlayer - 电影播放器 [ ^ ]。
There is an existing Mono based OpenSource video player: Banshee[^].
So you might have a look at the sources to see how they have done it.
There is also the GitHub - majorsilence/MPlayerControl: MPlayer c# .net library[^] for MPlayer - The Movie Player[^].
这篇关于Linux C#mono上的视频播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文