bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.43k stars 8.11k forks source link

ijkio协议出错 #4108

Open ranchohxk opened 6 years ago

ranchohxk commented 6 years ago

cache协议走这个链接出错 https://guoxue.baike.so.com/Meida/voice/?vn=dai_4.mp3

log:

36.912 10728-10877/tv.danmaku.ijk.media.example I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 131073 03-14 14:10:36.955 10728-10877/tv.danmaku.ijk.media.example I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 131074 03-14 14:10:37.056 10728-10877/tv.danmaku.ijk.media.example D/IJKMEDIA: request: GET /Meida/voice/?vn=dai_4.mp3 HTTP/1.1 User-Agent: Lavf/57.83.100 Accept: / Range: bytes=0- Connection: close Host: guoxue.baike.so.com Icy-MetaData: 1 03-14 14:10:37.130 10728-10877/tv.danmaku.ijk.media.example I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 2 03-14 14:10:37.131 10728-10877/tv.danmaku.ijk.media.example W/IJKMEDIA: Format mp3 detected only with low score of 1, misdetection possible! 03-14 14:10:37.131 10728-10877/tv.danmaku.ijk.media.example E/IJKMEDIA: Failed to read frame size: Could not seek to 1026. 03-14 14:10:37.131 10728-10877/tv.danmaku.ijk.media.example E/IJKMEDIA: release11 AVIOContext 03-14 14:10:37.131 10728-10877/tv.danmaku.ijk.media.example D/IJKMEDIA: Statistics: 0 bytes read, 0 seeks 03-14 14:10:37.132 10728-10877/tv.danmaku.ijk.media.example E/IJKMEDIA: ijkio:cache:ffio:https://guoxue.baike.so.com/Meida/voice/?vn=dai_4.mp3: Invalid argument 03-14 14:10:37.132 10728-10877/tv.danmaku.ijk.media.example I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [10877] 03-14 14:10:37.132 10728-10875/tv.danmaku.ijk.media.example D/IJKMEDIA: FFP_MSG_ERROR: 0 03-14 14:10:37.132 10728-10728/tv.danmaku.ijk.media.example E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

TheLittleBoy commented 6 years ago

肯定是这个链接不支持。