gpt4 book ai didi

java - 视频压缩不适用于 ffmpeg4android_lib 库

转载 作者:行者123 更新时间:2023-12-01 19:18:37 24 4
gpt4 key购买 nike

当我尝试使用 ffmpeg4android_lib 库进行视频压缩时,它正在 Debug模式下工作(不是谷歌 Play 商店应用程序),之后当我在 Play 商店上实时检查时,视频压缩不起作用并发现应用程序崩溃了。崩溃后,它给出错误:-videokitLibPath不退出:/data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so我的应用程序日志如下:

1576657500.663 20809-20809/com.practice.presto D/MyPracticeAudioVideo: outside wifi file type 2
1576657500.807 20809-22043/com.practice.presto D/MyPracticeAudioVideo: Worker started
1576657500.807 20809-22043/com.practice.presto D/MyPracticeAudioVideo: new file video path /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4
1576657500.808 20809-22043/com.practice.presto D/MyPracticeAudioVideo: Acquire wake lock
1576657500.812 20809-22043/com.practice.presto I/ffmpeg4android: checkForPermissions() called
1576657500.814 20809-22043/com.practice.presto I/ffmpeg4android: permission already granted
1576657500.830 20809-22043/com.practice.presto D/MyPracticeAudioVideo: ffmpeg -y -i /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4 -strict experimental -s 320x240 -r 25 -aspect 4:3 -vcodec mpeg4 -b 150k -ab 48000 -ac 2 -ar 22050 /storage/emulated/0/pp/1576657432247.mp4
1576657500.831 20809-22043/com.practice.presto I/ffmpeg4android: running ffmpeg4android_lib: 41.07.00_LM41_00
1576657500.831 20809-22043/com.practice.presto D/ffmpeg4android: {"ffmpeg","-y","-i","/storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4","-strict","experimental","-s","320x240","-r","25","-aspect","4:3","-vcodec","mpeg4","-b","150k","-ab","48000","-ac","2","-ar","22050","/storage/emulated/0/pp/1576657432247.mp4"}
1576657500.833 20809-22043/com.practice.presto D/ffmpeg4android: /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4 length in bytes: 15793157
1576657500.834 20809-22043/com.practice.presto E/ffmpeg4android: **videokitLibPath not exits: /data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so**
1576657500.835 20809-22043/com.practice.presto I/Videokit: libvideokit.so load Fail: /data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so
1576657500.835 20809-22043/com.practice.presto I/Videokit: args is not NULL
1576657500.835 20809-22043/com.practice.presto I/Videokit: more then one arg
1576657500.835 20809-22043/com.practice.presto I/Videokit: function symbol not found
1576657500.835 20809-22043/com.practice.presto D/Videokit: Calling videokit run via loader
1576657500.860 20809-22043/com.practice.presto A/libc: **Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 22043 (Thread-19), pid 20809 (practice.presto)**

最佳答案

不确定,但您需要检查 native 库支持,此建议基于您共享的日志。

请参阅此 - https://issuetracker.google.com/issues/37067983

谢谢

关于java - 视频压缩不适用于 ffmpeg4android_lib 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59388463/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com