Open zqc843718 opened 4 years ago
android9.0的版本
还是报错、我下载代码运行也还是报错,但是剪一个的apk没问题
解决了 demo的 // val text = "ffmpeg -y -i "+filePath+" -b 2097k -r 30 -vcodec libx264 -preset superfast "+outPath // val commands = text.split(" ".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray() 在三星手机上会出问题 使用构建的就好了 RxFFmpegCommandList cmdlist = new RxFFmpegCommandList(); cmdlist.append("-i"); cmdlist.append("/storage/emulated/0/1/input.mp4"); cmdlist.append("-vf"); cmdlist.append("boxblur=5:1"); cmdlist.append("-preset"); cmdlist.append("superfast"); cmdlist.append("/storage/emulated/0/1/result.mp4"); return cmdlist.build();
ok
SIGSEGV(SEGV_MAPERR) 0x2c
00 pc 000000000002b570 /data/app/com.**.app-nAGC2ZMGguMZQCDDp4pPSg==/lib/arm64/librxffmpeg-invoke.so [arm64-v8a::00d7231d22251c42c44febad19a403cf]