public class TXVideoInfoReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TXVideoInfoReader.OnSampleProgrocess |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
static TXVideoInfoReader |
getInstance() |
Bitmap |
getSampleImage(long time,
java.lang.String videoPath)
根据时间获取单帧图片
|
void |
getSampleImages(int count,
java.lang.String videoPath,
TXVideoInfoReader.OnSampleProgrocess sampleProcess)
根据文件个数获取视频缩略图
|
TXVideoEditConstants.TXVideoInfo |
getVideoFileInfo(java.lang.String videoPath)
获取视频信息
|
public void cancel()
public static TXVideoInfoReader getInstance()
public Bitmap getSampleImage(long time, java.lang.String videoPath)
time
- msvideoPath
- public void getSampleImages(int count, java.lang.String videoPath, TXVideoInfoReader.OnSampleProgrocess sampleProcess)
count
- 个数videoPath
- 视频文件路径public TXVideoEditConstants.TXVideoInfo getVideoFileInfo(java.lang.String videoPath)
videoPath
-