Main class for FFmpeg operations.
Definition at line 31 of file MobileFFmpeg.h.
◆ addExecution
| - (void) addExecution |
|
(long) |
executionId |
|
|
implementation |
◆ argumentsToString:
| + (NSString *) argumentsToString: |
|
(NSArray*) |
arguments |
|
Combines arguments into a string.
- Parameters
-
- Returns
- string containing all arguments
Definition at line 48 of file MobileFFmpeg.m.
◆ cancel
Cancels an ongoing operation.
This function does not wait for termination to complete and returns immediately.
Definition at line 48 of file MobileFFmpeg.m.
◆ cancel:
| + (void) cancel: |
|
(long) |
executionId |
|
Cancels an ongoing operation.
This function does not wait for termination to complete and returns immediately.
- Parameters
-
Definition at line 48 of file MobileFFmpeg.m.
◆ cancelRequested
| - (int) cancelRequested |
|
(long) |
executionId |
|
|
implementation |
◆ execute:
| + (int) execute: |
|
(NSString*) |
command |
|
Synchronously executes FFmpeg command provided. Space character is used to split command into arguments.
- Parameters
-
- Returns
- zero on successful execution, 255 on user cancel and non-zero on error
Definition at line 48 of file MobileFFmpeg.m.
◆ execute:delimiter: [1/2]
| + (int) execute: |
|
(NSString*) |
command |
| delimiter: |
|
(NSString*) |
delimiter |
|
|
| |
|
implementation |
Synchronously executes FFmpeg command provided. Delimiter parameter is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delimiter | arguments delimiter |
- Returns
- zero on successful execution, 255 on user cancel and non-zero on error
Definition at line 48 of file MobileFFmpeg.m.
◆ execute:delimiter: [2/2]
| + (int) execute: |
|
(NSString *) |
command |
| delimiter: |
|
((deprecated)) |
__attribute__ |
|
|
| |
Synchronously executes FFmpeg command provided. Delimiter parameter is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delimiter | arguments delimiter |
- Returns
- zero on successful execution, 255 on user cancel and non-zero on error
◆ executeAsync:withCallback:
Asynchronously executes FFmpeg command provided. Space character is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delegate | delegate that will be notified when execution is completed |
- Returns
- returns a unique id that represents this execution
Asynchronously executes FFmpeg command provided. Space character is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delegate | delegate that will be notified when execution is completed |
- Returns
- a unique id that represents this execution
Definition at line 48 of file MobileFFmpeg.m.
◆ executeAsync:withCallback:andDispatchQueue:
| + (int) executeAsync: |
|
(NSString*) |
command |
| withCallback: |
|
(id<ExecuteDelegate>) |
delegate |
| andDispatchQueue: |
|
(dispatch_queue_t) |
queue |
|
|
| |
Asynchronously executes FFmpeg command provided. Space character is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delegate | delegate that will be notified when execution is completed |
| queue | dispatch queue that will be used to run this asynchronous operation |
- Returns
- returns a unique id that represents this execution
Asynchronously executes FFmpeg command provided. Space character is used to split command into arguments.
- Parameters
-
| command | FFmpeg command |
| delegate | delegate that will be notified when execution is completed |
| queue | dispatch queue that will be used to run this asynchronous operation |
- Returns
- a unique id that represents this execution
Definition at line 48 of file MobileFFmpeg.m.
◆ executeWithArguments:
| + (int) executeWithArguments: |
|
(NSArray*) |
arguments |
|
Synchronously executes FFmpeg with arguments provided.
- Parameters
-
| arguments | FFmpeg command options/arguments as string array |
- Returns
- zero on successful execution, 255 on user cancel and non-zero on error
Definition at line 48 of file MobileFFmpeg.m.
◆ executeWithArgumentsAsync:withCallback:
| + (int) executeWithArgumentsAsync: |
|
(NSArray*) |
arguments |
| withCallback: |
|
(id<ExecuteDelegate>) |
delegate |
|
|
| |
Asynchronously executes FFmpeg with arguments provided. Space character is used to split command into arguments.
- Parameters
-
| arguments | FFmpeg command options/arguments as string array |
| delegate | delegate that will be notified when execution is completed |
- Returns
- returns a unique id that represents this execution
Asynchronously executes FFmpeg with arguments provided. Space character is used to split command into arguments.
- Parameters
-
| arguments | FFmpeg command options/arguments as string array |
| delegate | delegate that will be notified when execution is completed |
- Returns
- a unique id that represents this execution
Definition at line 48 of file MobileFFmpeg.m.
◆ executeWithArgumentsAsync:withCallback:andDispatchQueue:
| + (int) executeWithArgumentsAsync: |
|
(NSArray*) |
arguments |
| withCallback: |
|
(id<ExecuteDelegate>) |
delegate |
| andDispatchQueue: |
|
(dispatch_queue_t) |
queue |
|
|
| |
Asynchronously executes FFmpeg with arguments provided. Space character is used to split command into arguments.
- Parameters
-
| arguments | FFmpeg command options/arguments as string array |
| delegate | delegate that will be notified when execution is completed |
| queue | dispatch queue that will be used to run this asynchronous operation |
- Returns
- returns a unique id that represents this execution
Asynchronously executes FFmpeg with arguments provided. Space character is used to split command into arguments.
- Parameters
-
| arguments | FFmpeg command options/arguments as string array |
| delegate | delegate that will be notified when execution is completed |
| queue | dispatch queue that will be used to run this asynchronous operation |
- Returns
- a unique id that represents this execution
Definition at line 48 of file MobileFFmpeg.m.
◆ executeWithId:andArguments:
| + (int) executeWithId: |
|
(long) |
newExecutionId |
| andArguments: |
|
(NSArray*) |
arguments |
|
|
| |
|
implementation |
◆ initialize
◆ listExecutions
| + (NSArray *) listExecutions |
|
|
|
Lists ongoing executions.
- Returns
- list of ongoing executions
Definition at line 48 of file MobileFFmpeg.m.
◆ parseArguments:
| + (NSArray *) parseArguments: |
|
(NSString*) |
command |
|
Parses the given command into arguments.
- Parameters
-
- Returns
- array of arguments
Definition at line 48 of file MobileFFmpeg.m.
◆ removeExecution
| - (void) removeExecution |
|
(long) |
executionId |
|
|
implementation |
The documentation for this class was generated from the following files: