Skip to content
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

一加7pro,视频压缩crash,必现 #87

Open
chenshige opened this issue Oct 16, 2019 · 3 comments
Open

一加7pro,视频压缩crash,必现 #87

chenshige opened this issue Oct 16, 2019 · 3 comments

Comments

@chenshige
Copy link

#00 pc 00749ae4 /data/app/com.queen.oa.xt-RSeGMGnju_mOV_WpiwexCA==/lib/arm/librxffmpeg-core.so (av_buffersink_get_frame_flags+4) [armeabi-v7a]

#1 pc 0001aab5 /data/app/com.queen.oa.xt-RSeGMGnju_mOV_WpiwexCA==/lib/arm/librxffmpeg-invoke.so [armeabi-v7a]
#2 pc 00015365 /data/app/com.queen.oa.xt-RSeGMGnju_mOV_WpiwexCA==/lib/arm/librxffmpeg-invoke.so [armeabi-v7a]
#3 pc 00011ef5 /data/app/com.queen.oa.xt-RSeGMGnju_mOV_WpiwexCA==/lib/arm/librxffmpeg-invoke.so (run_ffmpeg_command+356) [armeabi-v7a]
#4 pc 0001164f /data/app/com.queen.oa.xt-RSeGMGnju_mOV_WpiwexCA==/lib/arm/librxffmpeg-invoke.so (Java_io_microshow_rxffmpeg_RxFFmpegInvoke_runFFmpegCmd+134) [armeabi-v7a]
#5 pc 00406a79 /system/lib/libart.so (ExecuteMterpImpl+36857) [armeabi-v8]
#6 pc 00402575 /system/lib/libart.so (ExecuteMterpImpl+19189) [armeabi-v8]
#7 pc 003db2dd /system/lib/libart.so (art_quick_invoke_stub+224) [armeabi-v8]
#8 pc 00095015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) [armeabi-v8]

// 压缩命令
String text = "ffmpeg -y -i " + videoPath + " -b 1800k -r 30 -vcodec libx264 -preset superfast " + outPath;

@microshow
Copy link
Owner

是4k分辨率视频吗?如果是4k,压缩的时候需要缩放一下分辨率

@chenshige
Copy link
Author

是4k分辨率视频吗?如果是4k,压缩的时候需要缩放一下分辨率

不是,所有视频都一样,在一加7pro,视频压缩就crash,其他手机没问题

@microshow
Copy link
Owner

试下其它命令执行也会出现吗? demo apk也会crash?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants