Open anxiaoyi opened 10 years ago
Current version do'nt support android 4.1.You must replace jniaudio & jnivideo.
Couldn't load libjniaudio from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/cz.havlena.ffmpeg.ui-1.apk"],nativeLibraryDirectories=[/data/app-lib/cz.havlena.ffmpeg.ui-1, /vendor/lib, /system/lib]]]: findLibrary returned null
dlopen failed: could not load library "libjniaudio.so" needed by "libffmpeg_jni.so"; caused by cannot locate symbol "_ZN7android10AudioTrack12sharedBufferEv" referenced by "libjniaudio.so"...
please explain in steps what to do.
Thanks
Does it support android kitkat and above?
Problem solved?I also encountered the same problem.
I download your project and rebuild jni on my machine with NDK-9, finally it generate three .so files, then I run this app on my Android phone, when I try to open .mp4 file, Elipse logcat:log :
06-15 12:36:58.180: D/FFMpeg(16706): Couldn't load lib: jniaudio - Cannot load library: reloc_library[1306]: 171 cannot locate '_ZN7android10AudioTrack3setEijiiijPFviPvS1_ES1_iRKNS_2spINS_7IMemoryEEEb'... 06-15 12:36:58.180: D/FFMpeg(16706): Couldn't load lib: jnivideo - Cannot load library: link_image[1891]: 171 could not load needed library 'libsurfaceflinger_client.so' for 'libjnivideo.so' (load_library[1093]: Library 'libsurfaceflinger_client.so' not found) 06-15 12:36:58.190: D/FFMpeg(16706): Couldn't load lib: ffmpeg_jni - Cannot load library: link_image[1891]: 171 could not load needed library 'libjniaudio.so' for 'libffmpeg_jni.so' (find_library[1201]: 171 'libjniaudio.so' failed to load previously) 06-15 12:36:58.190: D/FFMpegPlayerActivity(16706): Error when inicializing ffmpeg: Couldn't load native libs
I want to know how to solve this problem ? My Andorid phone is Android4.1 System, and my OS is Windows 7