public class VideoController
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
convertVideo(java.lang.String sourcePath,
java.lang.String destinationPath,
SlimProgressListener listener)
不支持content和file,请转换后再使用
|
static void |
copyFile(java.io.File src,
java.io.File dst) |
static VideoController |
getInstance() |
public static VideoController getInstance()
public static void copyFile(java.io.File src,
java.io.File dst)
public boolean convertVideo(java.lang.String sourcePath,
java.lang.String destinationPath,
SlimProgressListener listener)
sourcePath - the source uri for the file as perdestinationPath - the destination directory where compressed video is eventually saved