Comments (11)
求大神解答。我遇到同样的问题。;)
from android-gpuimage-plus.
@RockyLin @geek-paulwong libx264.142 这个文件是arm-v7a 架构的, 我看到你们的报错里面有 arm64-v8a 字样, 应该是加载的路径错误, 这个需要你们改正一下~~
这个编译用到armv7的neon指令, 只有 arm-v7a 版本。 对于64位的可以通用哦, 你们这只是没有加载到lib而已
from android-gpuimage-plus.
@wysaid 考虑到arm64-v8a里面没有libx264.142这个文件(解压apk后查看,确实没有),我把armeabi-v7a这个文件夹以及里面的so复制了好几份,并分别改名为:arm64-v8a, x86, x86_64, armeabi, 放在armeabi-v7a所在的lib下,运行报错如下:
java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library "/data/app/com.rocky.TestApp-1/lib/arm64/libx264.142.so" >= file size: 0 >= 0
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15)
at org.wysaid.nativePort.CGEFrameRenderer.(CGEFrameRenderer.java:11)
at org.wysaid.view.CameraGLSurfaceView.onSurfaceCreated(CameraGLSurfaceView.java:413)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1503)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
谢谢大神!
from android-gpuimage-plus.
请问大神,通用的话,应该怎么设置。谢谢。
from android-gpuimage-plus.
@RockyLin
首先, 你的方法是错误的, armv7的链接库乱甩目录本身就是盲目的。
你可以去下载一个 snow 的apk包, 然后解压看看它的 opencv, ffmpeg是不是只有 armv7a 这个目录下有。 而它也有其他架构的so, 混用的。
@geek-paulwong
这种问题请自行解决一下。
最简单的办法, 你们把所有非 armv7a 架构的目录全部删掉, 只保留 armv7a, 就像faceu那样
from android-gpuimage-plus.
长时间录制视频,会挂掉,不知道是否可以开源jni的代码,想研究下?
from android-gpuimage-plus.
@silentsugar
有这个问题哇, 我这边看到还好呀, 请问你用的是什么设备呢, 以及录制了多久
from android-gpuimage-plus.
一般12个小时以上,android国产平板定制出来的
from android-gpuimage-plus.
@silentsugar
确实有点长, 这种情况的话, 你肯定得分段啊, 正常情况也会分段的, 不会说一个文件十二个小时的, 你应该定时保存录制结果, 比如每半小时保存一次或者每十分钟保存一次
from android-gpuimage-plus.
@geek-paulwong see this: http://stackoverflow.com/questions/30782848/how-to-use-32-bit-native-libaries-on-64-bit-android-device
from android-gpuimage-plus.
@wysaid Thank you!!! 👍
from android-gpuimage-plus.
Related Issues (20)
- 请问下能在这个基础上实现瘦脸 瘦腿效果嘛 HOT 1
- signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) HOT 5
- 请问下 这个有磨皮的滤镜吗? HOT 4
- Cge tool HOT 1
- Load texture failed HOT 4
- UnsatisfiedLinkError: dlopen failed: library "libffmpeg.so" not found HOT 5
- Recording HEVC/H.265 HOT 1
- NoSuchMethodError HOT 5
- UnsatisfiedLinkError: dlopen failed: library "libffmpeg.so" not found HOT 2
- Fatal Exception: java.lang.OutOfMemoryErro HOT 1
- 彩绘效果,看视频滤镜效果能做么? HOT 1
- Crash while recording video with audio HOT 1
- 您好,请问可以支持鱼眼镜头效果么 HOT 3
- 请问能否提供CameraX的实现呢 HOT 3
- How to change color background
- How to do face effects HOT 8
- Low Bitrate and framerate issue HOT 4
- CGEImageHandler.nativeGetResultBitmap HOT 2
- NativeLibraryLoader.load (java.lang.UnsatisfiedLinkError) HOT 1
- 视频上14、15号字体有点模糊,使用原生SurfaceView播放清晰,请问是什么原因造成的呢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-gpuimage-plus.