vlc android 截图和录制视频(vlc0.9.9)
时间:2014-09-10 10:57:50
收藏:0
阅读:421
1.下载编译vlc 0.9.9
参考https://wiki.videolan.org/AndroidCompile/
我的系统是Ubuntu 14.04 64位
2.在项目根目录../android,打上补丁
git apply *.patch
3.在../android/vlc,打上补丁
3.在../android/vlc,打上补丁
4.重新编译即可
要截图和录制视频的时候 只要使用LibVLC.java中的下面接口
是不是很简单
要截图和录制视频的时候 只要使用LibVLC.java中的下面接口
public boolean takeSnapShot(String file, int width, int height) {
return takeSnapShot(0, file, width, height);
}
public boolean isRecordable() {
return videoIsRecordable();
}
public boolean isRecording() {
return videoIsRecording();
}
public boolean startRecord(String path) {
return videoRecordStart(path);
}
public boolean stopRecord() {
return videoRecordStop();
}是不是很简单
原文:http://blog.csdn.net/vertx/article/details/39177393
评论(0)