opengl es - Error 1 libavcodec.so File format not recognized Android GL Live Wallpaper -


i trying make live wallpaper android plays .mp4 video located on device in android-asset (with example using, copies file sdcard @ runtime/doesn't matter)

i found example , using post able eclipse set ndk , building project. when building in eclipse using ndk plugin error in problems window:

    description resource    path    location    type make: *** [libs/armeabi/libavcodec.so] error 1  glwallpapervideodemo-master         c/c++ problem make: *** deleting file `libs/armeabi/libavcodec.so'    glwallpapervideodemo-master         c/c++ problem 

i same error if try run ndk-build command prompt.

i downloaded project link above , imported eclipse. added lib glwallpaperservice build path, , made sure ndk setup. knowing lib folder changed libs tried moving glwallpaperservice libs folder, didn't help.

the project builds without ndk fine in eclipse errors when trying run wallpaper because native libraries not built.

how can resolve error?

the package git clone https://github.com/frankandrobot/glwallpapervideodemo.git linux oriented. file jni\ffmpeg-android\build\ffmpeg\armeabi\lib\libavcodec.so , many others symbolic links actual files.

to make work on windows, suggest go jni\ffmpeg-android\build\ffmpeg\armeabi\lib folder, , run

del *.so copy libavcodec.so.52.99.1 libavcodec.so copy libavcore.so.0.16.0 libavcore.so copy libavdevice.so.52.2.2 libavdevice.so copy libavfilter.so.1.69.0 libavfilter.so copy libavformat.so.52.88.0 libavformat.so copy libavutil.so.50.34.0 libavutil.so copy libswscale.so.0.12.0 libswscale.so 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -