|
FFmpegKit Android API 4.5
|
Go to the source code of this file.
Macros | |
| #define | FFMPEG_KIT_VERSION "4.5" |
| #define | LIB_NAME "ffmpeg-kit" |
| #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 FFMPEG_KIT_VERSION "4.5" |
Library version string
Definition at line 30 of file ffmpegkit.h.
| #define LIB_NAME "ffmpeg-kit" |
Defines tag used for Android logging.
Definition at line 33 of file ffmpegkit.h.
| #define LOGD | ( | ... | ) | __android_log_print(ANDROID_LOG_DEBUG, LIB_NAME, __VA_ARGS__) |
Debug Android logging macro.
Definition at line 39 of file ffmpegkit.h.
| #define LOGE | ( | ... | ) | __android_log_print(ANDROID_LOG_ERROR, LIB_NAME, __VA_ARGS__) |
Error Android logging macro.
Definition at line 48 of file ffmpegkit.h.
| #define LOGI | ( | ... | ) | __android_log_print(ANDROID_LOG_INFO, LIB_NAME, __VA_ARGS__) |
Info Android logging macro.
Definition at line 42 of file ffmpegkit.h.
| #define LOGV | ( | ... | ) | __android_log_print(ANDROID_LOG_VERBOSE, LIB_NAME, __VA_ARGS__) |
Verbose Android logging macro.
Definition at line 36 of file ffmpegkit.h.
| #define LOGW | ( | ... | ) | __android_log_print(ANDROID_LOG_WARN, LIB_NAME, __VA_ARGS__) |
Warn Android logging macro.
Definition at line 45 of file ffmpegkit.h.
| JNIEXPORT void JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 707 of file ffmpegkit.c.
| JNIEXPORT void JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 680 of file ffmpegkit.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_getNativeBuildDate | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns FFmpegKit library build date natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 847 of file ffmpegkit.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 732 of file ffmpegkit.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 670 of file ffmpegkit.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_getNativeVersion | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns FFmpegKit library version natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 743 of file ffmpegkit.c.
| JNIEXPORT void JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 880 of file ffmpegkit.c.
| JNIEXPORT int JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_messagesInTransmit | ( | JNIEnv * | env, |
| jclass | object, | ||
| jlong | id | ||
| ) |
Returns the number of native messages which are not transmitted to the Java callbacks for the given session.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| id | session id |
Definition at line 902 of file ffmpegkit.c.
| JNIEXPORT void JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 | session id |
Definition at line 822 of file ffmpegkit.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 | session id |
| stringArray | reference to the object holding FFmpeg command arguments |
Definition at line 756 of file ffmpegkit.c.
| JNIEXPORT int JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 834 of file ffmpegkit.c.
| JNIEXPORT int JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_setNativeEnvironmentVariable | ( | JNIEnv * | env, |
| jclass | object, | ||
| jstring | variableName, | ||
| jstring | variableValue | ||
| ) |
Class: com_arthenica_ffmpegkit_FFmpegKitConfig 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 862 of file ffmpegkit.c.
| JNIEXPORT void JNICALL Java_com_arthenica_ffmpegkit_FFmpegKitConfig_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 660 of file ffmpegkit.c.