FFmpegKit iOS / macOS / tvOS API 6.0
|
#import <FFmpegSession.h>
Instance Methods | |
(StatisticsCallback) | - getStatisticsCallback |
(FFmpegSessionCompleteCallback) | - getCompleteCallback |
(NSArray *) | - getAllStatisticsWithTimeout: |
(NSArray *) | - getAllStatistics |
(NSArray *) | - getStatistics |
(Statistics *) | - getLastReceivedStatistics |
(void) | - addStatistics: |
(instancetype) | - init:withCompleteCallback:withLogCallback:withStatisticsCallback:withLogRedirectionStrategy: [implementation] |
(BOOL) | - isFFmpeg [implementation] |
(BOOL) | - isFFprobe [implementation] |
(BOOL) | - isMediaInformation [implementation] |
Instance Methods inherited from AbstractSession | |
(instancetype) | - init:withLogCallback:withLogRedirectionStrategy: |
(void) | - waitForAsynchronousMessagesInTransmit: |
(LogCallback) | - getLogCallback [implementation] |
(long) | - getSessionId [implementation] |
(NSDate *) | - getCreateTime [implementation] |
(NSDate *) | - getStartTime [implementation] |
(NSDate *) | - getEndTime [implementation] |
(long) | - getDuration [implementation] |
(NSArray *) | - getArguments [implementation] |
(NSString *) | - getCommand [implementation] |
(NSArray *) | - getAllLogsWithTimeout: [implementation] |
(NSArray *) | - getAllLogs [implementation] |
(NSArray *) | - getLogs [implementation] |
(NSString *) | - getAllLogsAsStringWithTimeout: [implementation] |
(NSString *) | - getAllLogsAsString [implementation] |
(NSString *) | - getLogsAsString [implementation] |
(NSString *) | - getOutput [implementation] |
(SessionState) | - getState [implementation] |
(ReturnCode *) | - getReturnCode [implementation] |
(NSString *) | - getFailStackTrace [implementation] |
(LogRedirectionStrategy) | - getLogRedirectionStrategy [implementation] |
(BOOL) | - thereAreAsynchronousMessagesInTransmit [implementation] |
(void) | - addLog: [implementation] |
(void) | - startRunning [implementation] |
(void) | - complete: [implementation] |
(void) | - fail: [implementation] |
(BOOL) | - isFFmpeg [implementation] |
(BOOL) | - isFFprobe [implementation] |
(BOOL) | - isMediaInformation [implementation] |
(void) | - cancel [implementation] |
(LogCallback) | - getLogCallback |
(long) | - getSessionId |
(NSDate *) | - getCreateTime |
(NSDate *) | - getStartTime |
(NSDate *) | - getEndTime |
(long) | - getDuration |
(NSArray *) | - getArguments |
(NSString *) | - getCommand |
(NSArray *) | - getAllLogsWithTimeout: |
(NSArray *) | - getAllLogs |
(NSArray *) | - getLogs |
(NSString *) | - getAllLogsAsStringWithTimeout: |
(NSString *) | - getAllLogsAsString |
(NSString *) | - getLogsAsString |
(NSString *) | - getOutput |
(SessionState) | - getState |
(ReturnCode *) | - getReturnCode |
(NSString *) | - getFailStackTrace |
(LogRedirectionStrategy) | - getLogRedirectionStrategy |
(BOOL) | - thereAreAsynchronousMessagesInTransmit |
(void) | - addLog: |
(void) | - startRunning |
(void) | - complete: |
(void) | - fail: |
(BOOL) | - isFFmpeg |
(BOOL) | - isFFprobe |
(BOOL) | - isMediaInformation |
(void) | - cancel |
Class Methods | |
(instancetype) | + create: |
(instancetype) | + create:withCompleteCallback: |
(instancetype) | + create:withCompleteCallback:withLogCallback:withStatisticsCallback: |
(instancetype) | + create:withCompleteCallback:withLogCallback:withStatisticsCallback:withLogRedirectionStrategy: |
(void) | + initialize [implementation] |
(void) | + initialize [implementation] |
An FFmpeg session.
Definition at line 31 of file FFmpegSession.h.
- (void) addStatistics: | (Statistics*) | statistics |
Adds a new statistics entry for this session. It is invoked internally by FFmpegKit
library methods. Must not be used by user applications.
statistics | statistics entry |
Definition at line 29 of file FFmpegSession.m.
+ (instancetype) create: | (NSArray*) | arguments |
Builds a new FFmpeg session.
arguments | command arguments |
Definition at line 29 of file FFmpegSession.m.
+ (instancetype) create: | (NSArray*) | arguments | |
withCompleteCallback: | (FFmpegSessionCompleteCallback) | completeCallback | |
Builds a new FFmpeg session.
arguments | command arguments |
completeCallback | session specific complete callback |
Definition at line 29 of file FFmpegSession.m.
+ (instancetype) create: | (NSArray*) | arguments | |
withCompleteCallback: | (FFmpegSessionCompleteCallback) | completeCallback | |
withLogCallback: | (LogCallback) | logCallback | |
withStatisticsCallback: | (StatisticsCallback) | statisticsCallback | |
Builds a new FFmpeg session.
arguments | command arguments |
completeCallback | session specific complete callback |
logCallback | session specific log callback |
statisticsCallback | session specific statistics callback |
Definition at line 29 of file FFmpegSession.m.
+ (instancetype) create: | (NSArray*) | arguments | |
withCompleteCallback: | (FFmpegSessionCompleteCallback) | completeCallback | |
withLogCallback: | (LogCallback) | logCallback | |
withStatisticsCallback: | (StatisticsCallback) | statisticsCallback | |
withLogRedirectionStrategy: | (LogRedirectionStrategy) | logRedirectionStrategy | |
Builds a new FFmpeg session.
arguments | command arguments |
completeCallback | session specific complete callback |
logCallback | session specific log callback |
statisticsCallback | session specific statistics callback |
logRedirectionStrategy | session specific log redirection strategy |
Definition at line 29 of file FFmpegSession.m.
- (NSArray *) getAllStatistics |
Returns all statistics entries generated for this session. If there are asynchronous messages that are not delivered yet, this method waits for them until AbstractSessionDefaultTimeoutForAsynchronousMessagesInTransmit expires.
Definition at line 29 of file FFmpegSession.m.
- (NSArray *) getAllStatisticsWithTimeout: | (int) | waitTimeout |
Returns all statistics entries generated for this session. If there are asynchronous messages that are not delivered yet, this method waits for them until the given timeout.
waitTimeout | wait timeout for asynchronous messages in milliseconds |
Definition at line 29 of file FFmpegSession.m.
- (FFmpegSessionCompleteCallback) getCompleteCallback |
Returns the session specific complete callback.
Definition at line 29 of file FFmpegSession.m.
- (Statistics *) getLastReceivedStatistics |
Returns the last received statistics entry.
Definition at line 29 of file FFmpegSession.m.
- (NSArray *) getStatistics |
Returns all statistics entries delivered for this session. Note that if there are asynchronous messages that are not delivered yet, this method will not wait for them and will return immediately.
Definition at line 29 of file FFmpegSession.m.
- (StatisticsCallback) getStatisticsCallback |
Returns the session specific statistics callback.
Definition at line 29 of file FFmpegSession.m.
|
implementation |
Definition at line 29 of file FFmpegSession.m.
|
implementation |
Reimplemented from AbstractSession.
Definition at line 29 of file FFmpegSession.m.
|
implementation |
Returns whether it is an FFmpeg
session or not.
FFmpeg
session, false otherwise Reimplemented from AbstractSession.
Definition at line 29 of file FFmpegSession.m.
|
implementation |
Returns whether it is an FFprobe
session or not.
FFprobe
session, false otherwise Reimplemented from AbstractSession.
Definition at line 29 of file FFmpegSession.m.
|
implementation |
Returns whether it is a MediaInformation
session or not.
MediaInformation
session, false otherwise Reimplemented from AbstractSession.
Definition at line 29 of file FFmpegSession.m.