2

I am working with ffmpeg commands for various operation on videos & images & its working fine on devices having API 22 & below version but when i set targetSdkVersion 23 or 24 at that time my app is going to crash and i am getting :

error like videokit.so load fail:/data/user/0/packagename/lib/libvideokit.so.
Draken
  • 3,134
  • 13
  • 34
  • 54

1 Answers1

0

The FFMPEG source code contains something called text-reloacations.

Starting Marshmallow, the Android OS does not allow linking to native code libraries that contain text-relocations. This means that Marshmallow can't be targeted (i.e. targetSdk=23 or up) if you link to videokit.so.

The FFMPEG ticket on this issue is concluded with someone suggestion that they won't fix the problem.

Google, on their side, won't fix it either.

Stalemate.

Guy
  • 12,250
  • 6
  • 53
  • 70