-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用来转码 结果崩溃?急 #6
Comments
你用的什么命令崩溃的,我Demo命令里面写的压缩文件路径是我手机里,你不能直接用 |
改过了 没用你的命令, 比如说ffmpeg -y -i sourcepath targetpath 转码 ,试过了一个 ffmpeg -version也不能用 |
另外 在 ndk-build APP_ABI="arm64-v8a"的情况下得到的arm64-v8a的包是 32位不是 64位的,在没有 application.mk的情况下 ,如何修改呢? |
我不太清楚你崩溃的原因,应该还是和命令有关,你可以用我编译好的压缩库试试,https://github.com/mabeijianxi/small-video-record,你用 ndk-build 干嘛啊...,我 Demo 不是用的 CMake么 |
问题找到了 , 你 的 命令不能执行 ffmpeg -version 也不能执行 ffmpeg -y -i sourcePath targetPath 这种 转码,会报singal 11的错误 ,无论是这个项目还是 那个 视频录制的都是这样,但是 你这demo上的 倒是可以用比如 录制视频的String.format("ffmpeg -i %s %s -vframes 1 %s ", videoPath, ss, outputPath); ,但我这个命令没错啊,在别的ffmpeg项目都能运行 |
难不成命令有什么特殊的格式不成? |
@xiejinsorry 用FFmpeg4Android 项目调试, 会比较方便 |
@gyf19 不知道你有没有碰到过这种问题,本地拍的视频上传到阿里云,用返回的地址播放,特别卡,不知道怎么解决 |
一般来说这问题有三个方面原因: 视频、网络 、 播放器。 自己排查一下 |
1.只改了cmakelist里面NDK 的路径
2.因为下载下来的各种架构的so库都有,所以并没有改ffmpeg目录下的sh里的linux
3.崩溃信息如下:jianxiffmpegcmd A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 12066 (Thread-15791)
4.是完整版的 一运行就崩溃
5.没有重新编译过shell脚本,用的是下载下来就有的
6.需求只要arm64-v8a x86 armeabi不知道精简下来打包能否在10M 以内
7.在解决问题的情况下,不重新编译脚本,只删除原先有的架构,保留在上述三个目录的so库是否可行?
The text was updated successfully, but these errors were encountered: