5 Star 14 Fork 10

csharpui / CPF.Vlc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

C#跨平台UI框架CPF https://gitee.com/csharpui/CPF

CPF.Vlc

介绍

使用CPF对vlc的封装

使用了LibVLCSharp的包

Vlc封装参考 https://github.com/videolan/libvlcsharp

Windows

Nuget 安装 VideoLAN.LibVLC.Windows

Mac

Nuget 安装 VideoLAN.LibVLC.Mac

Linux上需要安装

For ubuntu:

apt-get install libvlc-dev

apt-get install vlc

使用说明

视频播放控件,Nuget 安装Xhm.CPF.Vcl 然后使用VideoView控件,控件初始化之后使用MediaPlayer属性来对播放器进行详细控制。VideoView. LibVLC一些对象构造需要

new VideoView { Name = "player", PresenterFor=this, MarginBottom=0, MarginLeft=0, MarginRight=0, MarginTop=0, }

player.Play(new Uri(@"http://*****.mp4"));//播放

player.MediaPlayer.Pause();//暂停

空文件

简介

使用CPF对vlc的封装 展开 收起
C#
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/csharpui/cpf.vlc.git
git@gitee.com:csharpui/cpf.vlc.git
csharpui
cpf.vlc
CPF.Vlc
master

搜索帮助