MobileFFmpeg iOS / tvOS API  4.4
Class Methods
MobileFFprobe Class Reference

Class Methods

(int) + executeWithArguments:
 
(int) + execute:
 
(MediaInformation *) + getMediaInformation:
 
(MediaInformation *) + getMediaInformationFromCommand:
 
(MediaInformation *) + getMediaInformation:timeout:
 
(void) + initialize [implementation]
 
(MediaInformation *) + getMediaInformation:timeout: [implementation]
 
(MediaInformation *) + getMediaInformationFromCommandArguments: [implementation]
 

Detailed Description

Main class for FFprobe operations.

Definition at line 29 of file MobileFFprobe.h.

Method Documentation

◆ execute:

+ (int) execute: (NSString*)  command

Synchronously executes FFprobe command provided. Space character is used to split command into arguments.

Parameters
commandFFprobe command
Returns
zero on successful execution, 255 on user cancel and non-zero on error

Definition at line 33 of file MobileFFprobe.m.

◆ executeWithArguments:

+ (int) executeWithArguments: (NSArray*)  arguments

Synchronously executes FFprobe with arguments provided.

Parameters
argumentsFFprobe command options/arguments as string array
Returns
zero on successful execution, 255 on user cancel and non-zero on error

Definition at line 33 of file MobileFFprobe.m.

◆ getMediaInformation:

+ (MediaInformation *) getMediaInformation: (NSString*)  path

Returns media information for the given file.

This method does not support executing multiple concurrent operations. If you execute multiple operations (execute or getMediaInformation) at the same time, the response of this method is not predictable.

Parameters
pathor uri of media file
Returns
media information

Definition at line 33 of file MobileFFprobe.m.

◆ getMediaInformation:timeout: [1/2]

+ (MediaInformation *) getMediaInformation: (NSString*)  path
timeout: (long)  timeout 
implementation

Returns media information for given file.

This method does not support executing multiple concurrent operations. If you execute multiple operations (execute or getMediaInformation) at the same time, the response of this method is not predictable.

Parameters
pathpath or uri of media file
timeoutcomplete timeout
Returns
media information

Definition at line 33 of file MobileFFprobe.m.

◆ getMediaInformation:timeout: [2/2]

+ (MediaInformation*) getMediaInformation: (NSString *)  path
timeout: ((deprecated))  __attribute__ 

Returns media information for given file.

This method does not support executing multiple concurrent operations. If you execute multiple operations (execute or getMediaInformation) at the same time, the response of this method is not predictable.

Parameters
pathpath or uri of media file
timeoutcomplete timeout
Returns
media information

◆ getMediaInformationFromCommand:

+ (MediaInformation *) getMediaInformationFromCommand: (NSString*)  command

Returns media information for the given command.

This method does not support executing multiple concurrent operations. If you execute multiple operations (execute or getMediaInformation) at the same time, the response of this method is not predictable.

Parameters
commandffprobe command
Returns
media information

Returns media information for the given command.

This method does not support executing multiple concurrent operations. If you execute multiple operations (execute or getMediaInformation) at the same time, the response of this method is not predictable.

Parameters
command
Returns
media information

Definition at line 33 of file MobileFFprobe.m.

◆ getMediaInformationFromCommandArguments:

+ (MediaInformation *) getMediaInformationFromCommandArguments: (NSArray*)  arguments
implementation

Definition at line 33 of file MobileFFprobe.m.

◆ initialize

+ (void) initialize
implementation

Definition at line 33 of file MobileFFprobe.m.


The documentation for this class was generated from the following files: