ijkplayer icon indicating copy to clipboard operation
ijkplayer copied to clipboard

利用ijkio ffio cache 协议来管理本地缓存,目前在arm64平台的ffmepg会出现问题,有哪位大神有遇到过?过

Open jabinwang opened this issue 7 years ago • 20 comments

Routine av_opt_next at /mediaplaye/ijkplayer/android/contrib/ffmpeg-arm64/libavutil/opt.c:51 (discriminator 1) Routine av_opt_find2 at/mediaplaye/ijkplayer/android/contrib/ffmpeg-arm64/libavutil/opt.c:1628 获取的崩溃信息是定位在av_opt_next崩溃,但是查看了代码,ffmepg该判空都有判空,应该不会出错,32位平台没问题

jabinwang avatar Apr 25 '18 07:04 jabinwang

请问下,我这边遇到能过这个缓存下来的文件和源文件大小不一致,导致MD5不一样,你那边有遇到这个问题吗?

另外,你说arm64平台,我没有测试设备,你用的哪个手机测试的,我去找一个来试试

ijustkeepmoving avatar Apr 27 '18 08:04 ijustkeepmoving

兄弟后来解决了吗

lrannn avatar Jun 12 '19 09:06 lrannn

+1; 遇到同样的Crash; 32位上正常,只在arm64位上复现Crash

A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7000000010 in tid 29218 (ff_read), pid 28126 #00 pc 000000000023fda4 /data/app/com.xxx.xxx-Ij6wchaziifUBf1fUOdWEg==/lib/arm64/libijkffmpeg.so (av_opt_next+20)

有人解决吗?

sailor1861 avatar Jul 17 '19 07:07 sailor1861

@https://github.com/bilibili/ijkplayer/issues/4759 已经解决了这个问题; 实测OK

sailor1861 avatar Jul 17 '19 08:07 sailor1861

此问题已解,options数组里面,少了一个null

jabinwang avatar Jul 22 '19 09:07 jabinwang

@#4759 已经解决了这个问题; 实测OK

怎么解决的,给大家分享一下行吗

liuboabc avatar Jan 03 '20 08:01 liuboabc

ijkio.c里面的options加上{ NULL },即可解决

sanerjion avatar May 13 '25 02:05 sanerjion

ijkio.c里面的options加上{ NULL },即可解决

能分享一下编译好的so文件嘛?大佬

ijustkeepmoving avatar May 13 '25 02:05 ijustkeepmoving

我们改了ffmpeg代码哈,你拿去不一定有用

sanerjion avatar May 13 '25 03:05 sanerjion

看了下,没法传文件

Image

sanerjion avatar May 13 '25 03:05 sanerjion

看了下,没法传文件

Image

能劳烦发我一下邮箱嘛?[email protected].谢谢大佬 !!!

ijustkeepmoving avatar May 13 '25 03:05 ijustkeepmoving

我们改了ffmpeg代码哈,你拿去不一定有用

有编译好的SO文件嘛?

ijustkeepmoving avatar May 13 '25 03:05 ijustkeepmoving

你拿去没用的,改了编译的是libijkplayer.so,我们改了Native接口,你直接按照图里面修改就行,加一行代码

sanerjion avatar May 13 '25 03:05 sanerjion

libijkplayer.so 这个文件不能直接拿过来用嘛?只替换这个文件就行了吧?我不太会编译C语言,

ijustkeepmoving avatar May 13 '25 03:05 ijustkeepmoving

发了,你拿去没法用,你还真不信

sanerjion avatar May 13 '25 03:05 sanerjion

发了,你拿去没法用,你还真不信

3Q,确实不能直接使用。在这里等待一个有缘大哥分享一个编译好了的SO文件吧

ijustkeepmoving avatar May 13 '25 03:05 ijustkeepmoving

自己去改源码,然后编译吧,很快的

sanerjion avatar May 13 '25 03:05 sanerjion

我之前有编译,发你邮箱了

sanerjion avatar May 13 '25 09:05 sanerjion

我之前有编译,发你邮箱了

太感谢了!!!,只能脆谢!!!

ijustkeepmoving avatar May 13 '25 09:05 ijustkeepmoving

感谢 @sanerjion . 有需要的兄弟自取: 链接: https://pan.baidu.com/s/1bsjxsZL2FA56_matblTTkw?pwd=fqqt

ijustkeepmoving avatar May 13 '25 10:05 ijustkeepmoving