类 FFprobeSession
- java.lang.Object
-
- com.ts.lib.ffmpegkit.AbstractSession
-
- com.ts.lib.ffmpegkit.FFprobeSession
-
- 所有已实现的接口:
Session
public class FFprobeSession extends AbstractSession implements Session
An FFprobe session.
-
-
字段概要
-
从类继承的字段 com.ts.lib.ffmpegkit.AbstractSession
DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT
-
-
构造器概要
构造器 构造器 说明 FFprobeSession(String[] arguments)Builds a new FFprobe session.FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback)Builds a new FFprobe session.FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback, LogCallback logCallback)Builds a new FFprobe session.FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback, LogCallback logCallback, LogRedirectionStrategy logRedirectionStrategy)Builds a new FFprobe session.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 FFprobeSessionCompleteCallbackgetCompleteCallback()Returns the session specific complete callback.booleanisFFmpeg()Returns whether it is anFFmpegsession or not.booleanisFFprobe()Returns whether it is anFFprobesession or not.booleanisMediaInformation()Returns whether it is aMediaInformationsession or not.StringtoString()-
从类继承的方法 com.ts.lib.ffmpegkit.AbstractSession
addLog, cancel, getAllLogs, getAllLogs, getAllLogsAsString, getAllLogsAsString, getArguments, getCommand, getCreateTime, getDuration, getEndTime, getFailStackTrace, getFuture, getLogCallback, getLogRedirectionStrategy, getLogs, getLogsAsString, getOutput, getReturnCode, getSessionId, getStartTime, getState, thereAreAsynchronousMessagesInTransmit
-
从接口继承的方法 com.ts.lib.ffmpegkit.Session
addLog, cancel, getAllLogs, getAllLogs, getAllLogsAsString, getAllLogsAsString, getArguments, getCommand, getCreateTime, getDuration, getEndTime, getFailStackTrace, getFuture, getLogCallback, getLogRedirectionStrategy, getLogs, getLogsAsString, getOutput, getReturnCode, getSessionId, getStartTime, getState, thereAreAsynchronousMessagesInTransmit
-
-
-
-
构造器详细资料
-
FFprobeSession
public FFprobeSession(String[] arguments)
Builds a new FFprobe session.- 参数:
arguments- command arguments
-
FFprobeSession
public FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback)
Builds a new FFprobe session.- 参数:
arguments- command argumentscompleteCallback- session specific complete callback
-
FFprobeSession
public FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback, LogCallback logCallback)
Builds a new FFprobe session.- 参数:
arguments- command argumentscompleteCallback- session specific complete callbacklogCallback- session specific log callback
-
FFprobeSession
public FFprobeSession(String[] arguments, FFprobeSessionCompleteCallback completeCallback, LogCallback logCallback, LogRedirectionStrategy logRedirectionStrategy)
Builds a new FFprobe session.- 参数:
arguments- command argumentscompleteCallback- session specific complete callbacklogCallback- session specific log callbacklogRedirectionStrategy- session specific log redirection strategy
-
-
方法详细资料
-
getCompleteCallback
public FFprobeSessionCompleteCallback getCompleteCallback()
Returns the session specific complete callback.- 返回:
- session specific complete callback
-
isFFmpeg
public boolean isFFmpeg()
从接口复制的说明:SessionReturns whether it is anFFmpegsession or not.
-
isFFprobe
public boolean isFFprobe()
从接口复制的说明:SessionReturns whether it is anFFprobesession or not.
-
isMediaInformation
public boolean isMediaInformation()
从接口复制的说明:SessionReturns whether it is aMediaInformationsession or not.- 指定者:
isMediaInformation在接口中Session- 返回:
- true if it is a
MediaInformationsession, false otherwise
-
-