Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android ffmpeg .so download [closed]

Anybody knows from where to get compiled .so FFMPEG library for Android?

I tried thousand of times to compile the FFMPEG manually on windows-7 using Android NDK but never succeeded.

So I think it's better to use precompiled lib as I'm already using the same same technolgy that used in: https://github.com/guardianproject/SSCVideoProto

But the ffmpeg lib in this project is very old.

Any help is much appreciated.......

like image 366
Jas Avatar asked Jul 18 '13 19:07

Jas


2 Answers

It was built to ffmpeg 2.0 since integrate with android-ndk-r9b Download the prebuilt *.so.

set up *.so file :

1 - Add folder jni/libs/*.so

2 - Use "Right-click mouse" -> Android Tools -> Add native support -> Set name of file *.cpp

3 - Two files : *.cpp and Android.mk appeared.

4 - Use Cygwin to build & compile *.so into the project.

How to load another .so file in your android project?.

@Sanket Excute command need know this first before transfer parameters to the C++ method :

Calling C++ method in C++ file from Java file

like image 55
Huy Tower Avatar answered Nov 03 '22 19:11

Huy Tower


You can extract the libffmepg.so from the Dolphin Player builds

https://code.google.com/p/dolphin-player/downloads/list

Rename the package extension to .zip and extract the .so libraries from lib folder.

like image 3
Mohsen Afshin Avatar answered Nov 03 '22 18:11

Mohsen Afshin