FFmpegKit Android API 5.1
Functions | Variables
ffprobekit.c File Reference

Go to the source code of this file.

Functions

int ffprobe_execute (int argc, char **argv)
 
void addSession (long sessionId)
 
void removeSession (long sessionId)
 
void resetMessagesInTransmit (long sessionId)
 
JNIEXPORT jint JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_nativeFFprobeExecute (JNIEnv *env, jclass object, jlong id, jobjectArray stringArray)
 

Variables

int configuredLogLevel
 
__thread long globalSessionId
 

Function Documentation

◆ addSession()

void addSession ( long  id)

Adds a session id to the session map.

Parameters
idsession id

Definition at line 361 of file ffmpegkit.c.

◆ ffprobe_execute()

int ffprobe_execute ( int  argc,
char **  argv 
)

Forward declaration for function defined in fftools_ffprobe.c

Definition at line 4050 of file fftools_ffprobe.c.

◆ Java_com_arthenica_ffmpegkit_FFmpegKitConfig_nativeFFprobeExecute()

JNIEXPORT jint JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_nativeFFprobeExecute ( JNIEnv *  env,
jclass  object,
jlong  id,
jobjectArray  stringArray 
)

Synchronously executes FFprobe natively with arguments provided.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
idsession id
stringArrayreference to the object holding FFprobe command arguments
Returns
zero on successful execution, non-zero on error

Definition at line 48 of file ffprobekit.c.

◆ removeSession()

void removeSession ( long  id)

Removes a session id from the session map.

Parameters
idsession id

Definition at line 402 of file ffmpegkit.c.

◆ resetMessagesInTransmit()

void resetMessagesInTransmit ( long  id)

Resets the number of messages in transmit for this session.

Parameters
idsession id

Definition at line 434 of file ffmpegkit.c.

Variable Documentation

◆ configuredLogLevel

int configuredLogLevel
extern

Holds the default log level

Definition at line 112 of file ffmpegkit.c.

◆ globalSessionId

__thread long globalSessionId
extern

Holds the id of the current session

Definition at line 109 of file ffmpegkit.c.