1、Windows Media Player
C#学习之路WindowsMediaPlayer详解- 知其所以然- 优快云博客
2、vlc
// libvlc类库+vlc.dotnet
// vlc官网:http://www.videolan.org/
// vlc下载地址:
// http://get.videolan.org/vlc/3.0.7.1/win32/vlc-3.0.7.1-win32.exe
// http://get.videolan.org/vlc/3.0.7.1/win64/vlc-3.0.7.1-win64.exe
// 1、从安装好的vlc中的 “libvlc.dll、libvlccore.dll和plugins目录” 提取到debug目录下
// 2、通过nuget引用vlc.dotnet
// 3、执行如下代码
private Vlc.DotNet.Forms.VlcControl vlcControl = null;
public Form1()
{
InitializeComponent();
this.vlcControl = new Vlc.DotNet.Forms.VlcControl();
this.vlcControl.BeginInit();
// 一定要设置该属性
this.vlcControl.VlcLibDirectory = new DirectoryInfo(Environment.CurrentDirectory);
this.vlcControl.EndInit();
this.vlcControl.Dock = DockStyle.Fill;
this.Controls.Add(this.vlcControl);
}
3、APlayer
// APlayer官网:http://aplayer.open.xunlei.com/
// APlayer SDK:http://aplayer.open.xunlei.com/APlayerSDK.zip
// APlayer 完整解码库:http://aplayer.open.xunlei.com/codecs.zip
// 1、APlayer.dll为包含APlayer的ActiveX控件
// 2、需要增加解码库时,将解码库拷贝到C:\Users\Public\Thunder Network\APlayer\codecs目录
博客围绕C#开发媒体播放器展开,详细介绍了使用Windows Media Player、VLC和APlayer开发播放器的相关内容,包括WindowsMediaPlayer的深入解析、基于VLC自定义视频播放器以及用APlayer开发自制媒体播放器。

被折叠的 条评论
为什么被折叠?



