[amediaformat @ 0xde49c8c0] No Java virtual machine has been registered
[h264_mediacodec @ 0xea32a800] Failed to create media format
#include <jni.h>
#include "libavcodec/jni.h"
jint JNI_OnLoad(JavaVM* vm, void* reserved)
{
av_jni_set_java_vm(vm, reserved);
return JNI_VERSION_1_6;
}
REGISTER_HWACCEL(H264_MEDIACODEC, h264_mediacodec);
Shouldn't be too hard to upgrade, yes. Your help would be welcome.
Actually, maybe HWAccel is available on FFmpeg 3.2, in allcodecs.c is see:REGISTER_HWACCEL(H264_MEDIACODEC, h264_mediacodec);
Have you plan to migrate FFmpeg in 3.2 or is it easy to try?
--
You received this message because you are subscribed to the Google Groups "javacpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacpp-project+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well, try to update the build files to 3.2 and see what that gives. When you have questions or get stuck, posting here is fine.