Open deepface1990 opened 4 years ago
碰到一个视频seekto 崩溃 ,android ios ,正常播放不拖动没有问题 flutter (32706): seek to 228845.60297339945 I/flutter (32706): [inf] 2020-08-05 21:19:54.373732 [fijk] FijkPlayer{id:2} invoke seekTo msec:228845 D/IJKMEDIA(32706): IjkMediaPlayer_seekTo D/IJKMEDIA(32706): ijkmp_seek_to(228845) D/IJKMEDIA(32706): ijkmp_seek_to(228845)=0 D/IJKMEDIA(32706): ijkmp_get_msg: FFP_REQ_SEEK D/IJKMEDIA(32706): FFP_MSG_BUFFERING_START: F/libc (32706): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 784 (Thread-11)
Build fingerprint: 'alps/full_rlk6580_we_c_m/rlk6580_we_c_m:7.1.2/N2G47H/275:user/release-keys' Revision: '0' ABI: 'arm' pid: 32706, tid: 784, name: Thread-11 >>> com. <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 r0 00000000 r1 00000000 r2 00000000 r3 6f01a514 r4 00000000 r5 6c132600 r6 6c305200 r7 00574c25 r8 00000000 r9 00000000 sl 00000000 fp 00000003 ip 887fe4fc sp 6f01a548 lr 6f3519bd pc 6f348458 cpsr 600d0030 backtrace:
#01 pc 0026b047 /data/app/com.uni4m.flutter_yc_road_transport-2/lib/arm/libijkffmpeg.so (av_seek_frame+62)
#02 pc 0026b44d /data/app/com.uni4m.flutter_yc_road_transport-2/lib/arm/libijkffmpeg.so (avformat_seek_file+276)
#03 pc 0001a5b3 /data/app/com.uni4m.flutter_yc_road_transport-2/lib/arm/libijkplayer.so
#04 pc 0000e5fb /data/app/com.uni4m.flutter_yc_road_transport-2/lib/arm/libijksdl.so
#05 pc 00046fc3 /system/lib/libc.so (_ZL15__pthread_startPv+22)
#06 pc 00019ccd /system/lib/libc.so (__start_thread+6)
真机也是一样
配置如下: await _player.setOption(FijkOption.hostCategory, "enable-snapshot", 0); await _player.setOption(FijkOption.playerCategory, "mediacodec-all-videos", 1); await _player.setOption(FijkOption.hostCategory, "request-screen-on", 1); await _player.setOption(FijkOption.hostCategory, "request-audio-focus", 1); await _player.setOption(FijkOption.playerCategory, "reconnect", 5); await _player.setOption(FijkOption.playerCategory, "enable-accurate-seek", 1); await _player.setOption(FijkOption.formatCategory, "fflags", "fastseek"); await _player.setOption(FijkOption.playerCategory, "soundtouch", 1); await _player.setOption(FijkOption.codecCategory, "skip_loop_filter", 48); await _player.setOption(FijkOption.formatCategory, "analyzemaxduration", 100); await _player.setOption(FijkOption.formatCategory, "probesize", 1024 * 10); await _player.setOption(FijkOption.formatCategory, "flush_packets", 1); await _player.setOption(FijkOption.playerCategory, "packet-buffering", 0); await _player.setOption(FijkOption.playerCategory, "framedrop", 1);
Screenshots If applicable, add screenshots to help explain your problem. 如果截图有助于对此问题的理解,一定要附上截图
fijkplayer version Which version you used. 0.8.7
Smartphone (please complete the following information): 什么手机设备和系统版本?