Open fenglintianxia6 opened 5 years ago
m3u7格式url播放返回-10000,然后不太明白如何抓取更详细的log,在华为mate10上报E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0) http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8 . End of file
VLC可正常播放
添加一部分日志
2019-01-14 11:12:03.659 1503-1974/com.izhikang.student D/IJKMEDIA: request: GET /LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8?token=3b23e6e26da44565a8143e3b74a2a0cf HTTP/1.1 User-Agent: Lavf/57.40.101 Accept: */* Range: bytes=0- Connection: close Host: 115.29.7.187:8090 Icy-MetaData: 1 2019-01-14 11:12:33.732 1503-1974/com.izhikang.student E/IJKMEDIA: http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8: End of file 2019-01-14 11:12:33.732 1503-1974/com.izhikang.student I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [1974] 2019-01-14 11:12:33.733 1503-1970/com.izhikang.student D/IJKMEDIA: FFP_MSG_ERROR: 0 2019-01-14 11:12:33.734 1503-1503/com.izhikang.student E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0) 2019-01-14 11:12:36.728 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_setVideoSurface 2019-01-14 11:12:36.728 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_android_surface(surface=0x0) 2019-01-14 11:12:36.728 1503-1503/com.izhikang.student D/IJKMEDIA: ffpipeline_set_surface() 2019-01-14 11:12:36.728 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_android_surface(surface=0x0)=void 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_native_setup 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ffpipeline_create_from_android() 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_inject_opaque(0x2676) 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_inject_opaque()=void 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback() 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ffpipeline_set_mediacodec_select_callback 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback()=void 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_native_setLogLevel(3) 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: moncleanup 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2019-01-14 11:12:37.926 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/tv.danmaku.ijk.media.player.IjkMediaPlayer: Couldn't open file on client side, trying server side 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_setDataSourceAndHeaders 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student V/IJKMEDIA: setDataSource: path http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_data_source(url="http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8") 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_data_source(url="http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8")=0 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_setVideoSurface 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_android_surface(surface=0x7fc15300d8) 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ffpipeline_set_surface() 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_set_android_surface(surface=0x7fc15300d8)=void 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: IjkMediaPlayer_prepareAsync 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_prepare_async() 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: ===== versions ===== 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: FFmpeg : ff3.1--ijk0.6.0--20160715--001 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: libavutil : 55.27.100 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: libavcodec : 57.48.101 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: libavformat : 57.40.101 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: libswscale : 4.1.100 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: libswresample: 2.1.100 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: ===== options ===== 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: player-opts : mediacodec = 0 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: player-opts : opensles = 0 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: player-opts : overlay-format = 842225234 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: player-opts : framedrop = 1 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: player-opts : start-on-prepared = 0 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: format-opts : ijkinject-opaque = 9846 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: format-opts : ijkapplication = 544564960576 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: format-opts : http-detect-range-support = 0 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: codec-opts : skip_loop_filter = 48 2019-01-14 11:12:37.927 1503-1503/com.izhikang.student I/IJKMEDIA: =================== 2019-01-14 11:12:37.928 1503-2033/com.izhikang.student I/IJKMEDIA: SDL_RunThread: [2033] ff_msg_loop 2019-01-14 11:12:37.928 1503-2033/com.izhikang.student D/IJKMEDIA: message_loop 2019-01-14 11:12:37.928 1503-2034/com.izhikang.student I/IJKMEDIA: SDL_RunThread: [2034] ff_vout 2019-01-14 11:12:37.928 1503-2033/com.izhikang.student D/IJKMEDIA: FFP_MSG_FLUSH: 2019-01-14 11:12:37.928 1503-1503/com.izhikang.student D/IJKMEDIA: ijkmp_prepare_async()=0 2019-01-14 11:12:37.928 1503-2035/com.izhikang.student I/IJKMEDIA: SDL_RunThread: [2035] ff_read 2019-01-14 11:12:37.929 1503-2035/com.izhikang.student D/IJKMEDIA: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy' 2019-01-14 11:12:37.967 1503-2035/com.izhikang.student D/IJKMEDIA: request: GET /LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8 HTTP/1.1 User-Agent: Lavf/57.40.101 Accept: */* Range: bytes=0- Connection: close Host: alhlscdn.lechange.cn Icy-MetaData: 1 2019-01-14 11:12:38.045 1503-2035/com.izhikang.student D/IJKMEDIA: request: GET /LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8?token=e3cbdfd6db68450788abf8ee21963145 HTTP/1.1 User-Agent: Lavf/57.40.101 Accept: */* Range: bytes=0- Connection: close Host: 42.120.19.244:8090 Icy-MetaData: 1 2019-01-14 11:13:08.138 1503-2035/com.izhikang.student E/IJKMEDIA: http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8: End of file 2019-01-14 11:13:08.138 1503-2035/com.izhikang.student I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [2035] 2019-01-14 11:13:08.139 1503-2033/com.izhikang.student D/IJKMEDIA: FFP_MSG_ERROR: 0 2019-01-14 11:13:08.140 1503-1503/com.izhikang.student E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)
反复操作很不好意思,中间因为服务器端反馈设备存在问题,关闭了issue,但是问题确实存在,还请帮忙确定一下问题。如果日志不够,烦请告知如何抓取详细的日志,感谢
请问下这个问题你解决了吗,是怎么解决的
m3u7格式url播放返回-10000,然后不太明白如何抓取更详细的log,在华为mate10上报E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0) http://alhlscdn.lechange.cn/LCO/2F01E13PAMJ04D7/25/1/20170111115025/dev_20170111115025_56c3ifttx68lerle.m3u8 . End of file
VLC可正常播放
添加一部分日志