Ubuntu安装VLC官方介绍:http://www.videolan.org/vlc/download-ubuntu.html sudo apt-get update sudo apt-get install vlc browser-plugin-vlc 其他问题请查看官方wiki:https://wiki.videolan.org/Ubuntu/ Many vlc plugins can be installed afterwards (some of these may no longer…
环境 ubuntu14.0 arm开发板 源 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty main multiverse restricted universe deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-backports main multiverse restricted universe deb http://mirrors.ustc.edu.cn/ubuntu-po…
前言(蛋疼的背景故事) 前段时间,接了一个小项目,有个需求是要在系统待机一段时间以后,循环播放 MV(类似于 Windows 系统的屏幕保护). 听到这个需求,我首先想到的是 MediaPlayer 和 Flash,因为这两个组件几乎所有 Windows 平台的电脑都会安装.但客户说不能用 Flash,原因是以前使用过,太不稳定,所以我决定使用 MediaPlayer. MediaPlayer 做为一个 COM 组件可以很方便的加载到 VS 工具箱中,使用的时候直接拖放到 Form 上,用起来超…
调用已安装视频播放器播放未修改之前的代码 private void startPlay(String fileName){ File file = new File(fileName); Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); String type = "video/*"; Uri uri = Uri.parse(file.getAbsolutePath()); intent.setDat…
注意事项 这里我的Linux虚拟机的IP地址是192.168.1.3 Docker运行Elasticsearch容器之后不会立即有反应,要等一会,等待容器内部启动Elasticsearch,才可以访问192.168.1.3:9201 Docker运行Kibana容器之后不会立即有反应,也需要等一会,因为Kibana加载较慢,可能你立即访问192.168.1.3:5601会出现Kibana server is not ready yet,这时不要着急,就一直刷新稍微等待一会 等待之后进入Kiban…