vlc android 编译 录制视频,vlc android 截图和录制视频(vlc0.9.9)

1.下载编译vlc 0.9.9

参考https://wiki.videolan.org/AndroidCompile/

我的系统是Ubuntu 14.04 64位

2.在项目根目录../android,打上补丁

git apply *.patch

3.在../android/vlc,打上补丁

4.重新编译即可

要截图和录制视频的时候 只要使用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
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值