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();
    }
vlc android 截图和录制视频(vlc0.9.9)_第1张图片

是不是很简单

你可能感兴趣的:(java,android,视频,VLC)