RxFFmpeg icon indicating copy to clipboard operation
RxFFmpeg copied to clipboard

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 25020

Open nihkilft123 opened this issue 5 years ago • 6 comments

implementation 'com.github.microshow:RxFFmpeg:4.5.0-lite' and implementation 'com.github.microshow:RxFFmpeg:4.5.0' both are not working for RxFFmpegInvoke..getInstance().runFFmpegCmd(command);.

Device: Samsung Galaxy M30s Android Version: 10 (API 29) Android Studio Target SDK: 28 Min SDK: 21

App is crashes while I trying to runFFmpegCmd() without android exception(Means its getting Fatal Signal).

nihkilft123 avatar Aug 01 '20 11:08 nihkilft123

I have the same problem in android Q, but when i run command in sample project (https://github.com/microshow/RxFFmpeg/tree/master/app) It works properly !!!

ALIMAXIMUM avatar Aug 11 '20 11:08 ALIMAXIMUM

sd .permission ?

microshow avatar Aug 11 '20 11:08 microshow

Yes of course

ALIMAXIMUM avatar Aug 12 '20 06:08 ALIMAXIMUM

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

DenisWW avatar Aug 31 '20 06:08 DenisWW

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) 在 Android版本 添加 -s 参数的原因 去掉 -s 参数 压缩正常 添加则 carsh (大胆猜测与手机有关系。有的手机只能设置固定的 -s 1280x720 有的手机 可以用自己算的 比例 -s 1280x555)后者报错。但是部分手机有问题,小米10至尊版则发现此问题 小米9 则没发现

DenisWW avatar Aug 31 '20 06:08 DenisWW

和手机没关系,可以试着在pc上敲命令看看:width not divisible by 2 一般都是out分辨率不能被2整除导致的,可以尝试微调一下: reqWidth = reqWidth % 2 == 0 ? reqWidth : reqWidth + 1; reqHeight = reqHeight % 2 == 0 ? reqHeight : reqHeight + 1;

jqyp324 avatar Apr 14 '21 06:04 jqyp324