You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
FFmpegAndroid/app/src/main/java/com/frank/ffmpeg/VideoPlayer.java

18 lines
376 B

package com.frank.ffmpeg;
/**
* 视频播放器
* Created by frank on 2018/2/1
*/
public class VideoPlayer {
static {
System.loadLibrary("media-handle");
}
public native int play(String filePath, Object surface);
public native int setPlayRate(float playRate);
public native int filter(String filePath, Object surface, String filterType);
}