NvsPassthroughConvertor.
More...
|
| void | finalize () throws Throwable |
| |
| void | notifyProgress (final long taskId, final float progress) |
| |
| void | notifyFinish (final long taskId, final String srcFile, final String dstFile, final long trimIn, final long trimOut, final int errorCode) |
| |
◆ NvsPassthroughConvertor()
| com.meicam.sdk.NvsPassthroughConvertor.NvsPassthroughConvertor |
( |
| ) |
|
|
inline |
◆ cancelTask()
| void com.meicam.sdk.NvsPassthroughConvertor.cancelTask |
( |
long |
taskId | ) |
|
|
inline |
◆ convertMediaFile()
| long com.meicam.sdk.NvsPassthroughConvertor.convertMediaFile |
( |
String |
srcFile, |
|
|
String |
dstFile, |
|
|
long |
trimIn, |
|
|
long |
trimOut, |
|
|
Hashtable< String, Object > |
configurations |
|
) |
| |
|
inline |
Start to passthrough file.
- Parameters
-
| srcFile | source file |
| dstFile | destination file |
| trimIn | trim in point |
| trimOut | trim out point |
| configurations | passthrough params |
- Returns
- Task ID
◆ finalize()
| void com.meicam.sdk.NvsPassthroughConvertor.finalize |
( |
| ) |
throws Throwable |
|
inlineprotected |
◆ isReleased()
| boolean com.meicam.sdk.NvsPassthroughConvertor.isReleased |
( |
| ) |
|
|
inline |
Whether released.
- Returns
- Returns whether released
◆ notifyFinish()
| void com.meicam.sdk.NvsPassthroughConvertor.notifyFinish |
( |
final long |
taskId, |
|
|
final String |
srcFile, |
|
|
final String |
dstFile, |
|
|
final long |
trimIn, |
|
|
final long |
trimOut, |
|
|
final int |
errorCode |
|
) |
| |
|
inlineprotected |
◆ notifyProgress()
| void com.meicam.sdk.NvsPassthroughConvertor.notifyProgress |
( |
final long |
taskId, |
|
|
final float |
progress |
|
) |
| |
|
inlineprotected |
◆ release()
| void com.meicam.sdk.NvsPassthroughConvertor.release |
( |
| ) |
|
|
inline |
Release passthrough convertor object.
◆ setPassthroughConvertorCallback() [1/2]
Sets callback to passthrough convertor.
- Parameters
-
| callback | Callback interface |
| postMainLoop | whether to callback to main looper |
◆ setPassthroughConvertorCallback() [2/2]
Set callback to passthrough convertor.
- Parameters
-
| callback | Callback interface |
| hanlder | Callback to this handler,if null will callback to main looper |
◆ PASSTHROUGH_ERROR_CANCEL
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_CANCEL = 1 |
|
static |
◆ PASSTHROUGH_ERROR_INVALID_DATA
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_INVALID_DATA = 4 |
|
static |
◆ PASSTHROUGH_ERROR_IOERROR
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_IOERROR = 5 |
|
static |
◆ PASSTHROUGH_ERROR_NO_ERROR
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_NO_ERROR = 0 |
|
static |
◆ PASSTHROUGH_ERROR_PROCESS_AUDIO
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_PROCESS_AUDIO = 3 |
|
static |
◆ PASSTHROUGH_ERROR_PROCESS_VIDEO
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_PROCESS_VIDEO = 2 |
|
static |
◆ PASSTHROUGH_ERROR_UNKNOWN
| final int com.meicam.sdk.NvsPassthroughConvertor.PASSTHROUGH_ERROR_UNKNOWN = 65535 |
|
static |
The documentation for this class was generated from the following file: