|
MobileFFmpeg Android API
4.4
|
Go to the source code of this file.
Macros | |
| #define | MOBILE_FFMPEG_VERSION "4.4" |
| #define | LIB_NAME "mobile-ffmpeg" |
| #define | LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LIB_NAME, __VA_ARGS__) |
| #define | LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LIB_NAME, __VA_ARGS__) |
| #define | LOGI(...) __android_log_print(ANDROID_LOG_INFO, LIB_NAME, __VA_ARGS__) |
| #define | LOGW(...) __android_log_print(ANDROID_LOG_WARN, LIB_NAME, __VA_ARGS__) |
| #define | LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LIB_NAME, __VA_ARGS__) |
| #define LIB_NAME "mobile-ffmpeg" |
Defines tag used for Android logging.
Definition at line 34 of file mobileffmpeg.h.
| #define LOGD | ( | ... | ) | __android_log_print(ANDROID_LOG_DEBUG, LIB_NAME, __VA_ARGS__) |
Debug Android logging macro.
Definition at line 40 of file mobileffmpeg.h.
| #define LOGE | ( | ... | ) | __android_log_print(ANDROID_LOG_ERROR, LIB_NAME, __VA_ARGS__) |
Error Android logging macro.
Definition at line 49 of file mobileffmpeg.h.
| #define LOGI | ( | ... | ) | __android_log_print(ANDROID_LOG_INFO, LIB_NAME, __VA_ARGS__) |
Info Android logging macro.
Definition at line 43 of file mobileffmpeg.h.
| #define LOGV | ( | ... | ) | __android_log_print(ANDROID_LOG_VERBOSE, LIB_NAME, __VA_ARGS__) |
Verbose Android logging macro.
Definition at line 37 of file mobileffmpeg.h.
| #define LOGW | ( | ... | ) | __android_log_print(ANDROID_LOG_WARN, LIB_NAME, __VA_ARGS__) |
Warn Android logging macro.
Definition at line 46 of file mobileffmpeg.h.
| #define MOBILE_FFMPEG_VERSION "4.4" |
Library version string
Definition at line 31 of file mobileffmpeg.h.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Disables log and statistics redirection.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 735 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Enables log and statistics redirection.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 708 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns MobileFFmpeg library build date natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 873 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns FFmpeg version bundled within the library natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 760 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns log output of the last executed command natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 906 of file mobileffmpeg.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns current log level.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 698 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeVersion | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns MobileFFmpeg library version natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 771 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal | ( | JNIEnv * | env, |
| jclass | object, | ||
| jint | signum | ||
| ) |
Registers a new ignored signal. Ignored signals are not handled by the library.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| signum | signal number |
Definition at line 925 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel | ( | JNIEnv * | env, |
| jclass | object, | ||
| jlong | id | ||
| ) |
Cancels an ongoing FFmpeg operation natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| id | execution id |
Definition at line 848 of file mobileffmpeg.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute | ( | JNIEnv * | env, |
| jclass | object, | ||
| jlong | id, | ||
| jobjectArray | stringArray | ||
| ) |
Synchronously executes FFmpeg natively with arguments provided.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| id | execution id |
| stringArray | reference to the object holding FFmpeg command arguments |
Definition at line 784 of file mobileffmpeg.c.
| JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe | ( | JNIEnv * | env, |
| jclass | object, | ||
| jstring | ffmpegPipePath | ||
| ) |
Creates natively a new named pipe to use in FFmpeg operations.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| ffmpegPipePath | full path of ffmpeg pipe |
Definition at line 860 of file mobileffmpeg.c.
| JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable | ( | JNIEnv * | env, |
| jclass | object, | ||
| jstring | variableName, | ||
| jstring | variableValue | ||
| ) |
Class: com_arthenica_mobileffmpeg_Config Method: setNativeEnvironmentVariable Signature: (Ljava/lang/String;Ljava/lang/String;)I
Sets an environment variable natively
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| variableName | environment variable name |
| variableValue | environment variable value |
Definition at line 888 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel | ( | JNIEnv * | env, |
| jclass | object, | ||
| jint | level | ||
| ) |
Sets log level.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| level | log level |
Definition at line 688 of file mobileffmpeg.c.
1.8.18