bilibili / ijkplayer

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

android 4.1系统播放mp3异常,IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) #1778

Open gqb opened 8 years ago

gqb commented 8 years ago

这是开始的正常信息:

08-03 12:03:19.870 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_native_init 08-03 12:03:19.870 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_native_setup 08-03 12:03:19.870 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 08-03 12:03:19.870 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ffpipeline_create_from_android() 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_set_inject_opaque(0x1d20027a) 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_set_inject_opaque()=void 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback() 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ffpipeline_set_mediacodec_select_callback 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback()=void 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_native_setLogLevel(3) 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: moncleanup 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.880 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setOptionLong 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_setDataSourceAndHeaders 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication V/IJKMEDIA: setDataSource: path http://static.missevan.com/sound/201512/15/fe033ba27474875f4a5b174e349882b1225106.mp3 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_set_data_source(url="http://static.missevan.com/sound/201512/15/fe033ba27474875f4a5b174e349882b1225106.mp3") 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_set_data_source(url="http://static.missevan.com/sound/201512/15/fe033ba27474875f4a5b174e349882b1225106.mp3")=0 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication W/tv.danmaku.ijk.media.player.IjkMediaPlayer: setScreenOnWhilePlaying(true) is ineffective without a SurfaceHolder 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_prepareAsync 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_prepare_async() 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: ===== versions ===== 08-03 12:03:19.890 20855-21320/com.missevan.android.myapplication I/IJKMEDIA: SDL_RunThread: [21320] ff_msg_loop 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: FFmpeg : ff3.1--ijk0.6.0--20160715--001 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: libavutil : 55.27.100 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: libavcodec : 57.48.101 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: libavformat : 57.40.101 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: libswscale : 4.1.100 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: libswresample: 2.1.100 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: ===== options ===== 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: player-opts : mediacodec = 0 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: player-opts : opensles = 0 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: player-opts : overlay-format = 842225234 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: player-opts : framedrop = 1 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: player-opts : start-on-prepared = 0 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: format-opts : ijkinject-opaque = 488637050 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: format-opts : ijkapplication = 1512537776 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: format-opts : http-detect-range-support = 0 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: codec-opts : skip_loop_filter = 48 08-03 12:03:19.890 20855-20855/com.missevan.android.myapplication I/IJKMEDIA: =================== 08-03 12:03:19.890 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: message_loop 08-03 12:03:19.890 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: FFP_MSG_FLUSH: 08-03 12:03:19.900 20855-21321/com.missevan.android.myapplication I/IJKMEDIA: SDL_RunThread: [21321] ff_vout 08-03 12:03:19.900 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_prepare_async()=0 08-03 12:03:19.910 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: SDL_RunThread: [21322] ff_read 08-03 12:03:19.910 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy' 08-03 12:03:20.180 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: Format mp3 probed with size=2048 and score=50 08-03 12:03:20.180 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: id3v2 ver:3 flags:00 len:2126576 08-03 12:03:30.080 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: Skipping 0 bytes of junk at 2126586. 08-03 12:03:30.080 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: Option http-detect-range-support not found. 08-03 12:03:30.080 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: Before avformat_find_stream_info() pos: 2126586 bytes read:2127246 seeks:0 nb_streams:1 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: All info found 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication W/IJKMEDIA: Estimating duration from bitrate, this may be inaccurate 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: After avformat_find_stream_info() pos: 2158330 bytes read:2159446 seeks:0 frames:50 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: max_frame_duration: 10.000 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: Input #0, mp3, from 'http://static.missevan.com/sound/201512/15/fe033ba27474875f4a5b174e349882b1225106.mp3': 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: Metadata: 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: date : 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: 2015-11-20 19:27 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: Duration: 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: 01:10:48.67 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: , start: 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: 0.000000 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: , bitrate: 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: 196 kb/s 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: Stream #0:0 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: , 50, 1/14112000 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: : Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: SDL_Android_AudioTrack: CHANNEL_OUT_STEREO 08-03 12:03:30.270 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: SDL_Android_AudioTrack: ENCODING_PCM_16BIT 08-03 12:03:30.280 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: SDL_Android_AudioTrack_new_from_spec: init volume as 1.000000/(0.000000,1.000000) 08-03 12:03:30.280 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: audio_session_id = 145 08-03 12:03:30.280 20855-21322/com.missevan.android.myapplication I/IJKMEDIA: AudioCodec: avcodec, mp3 08-03 12:03:30.280 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_get_msg: FFP_MSG_PREPARED 08-03 12:03:30.280 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: FFP_MSG_PREPARED: 08-03 12:03:30.280 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: IjkMediaPlayer_start 08-03 12:03:30.280 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_start() 08-03 12:03:30.280 20855-20855/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_start()=0 08-03 12:03:30.280 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_get_msg: FFP_REQ_START 08-03 12:03:30.280 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_get_msg: FFP_REQ_START: start on fly 08-03 12:03:30.280 20855-21479/com.missevan.android.myapplication I/IJKMEDIA: SDL_RunThread: [21479] ff_audio_dec 08-03 12:03:30.280 20855-21479/com.missevan.android.myapplication D/IJKMEDIA: ffp_toggle_buffering_l: start 08-03 12:03:30.280 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: FFP_MSG_BUFFERING_START: 08-03 12:03:30.290 20855-20855/com.missevan.android.myapplication I/info: 701 -- 0 08-03 12:03:30.290 20855-21478/com.missevan.android.myapplication I/IJKMEDIA: SDL_RunThread: [21478] ff_aout_android 08-03 12:03:30.380 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_get_msg: FFP_REQ_START 08-03 12:03:30.380 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: ijkmp_get_msg: FFP_REQ_START: start on fly 08-03 12:03:30.900 20855-20855/com.missevan.android.myapplication I/buffer percent :: 0 08-03 12:03:30.900 20855-21322/com.missevan.android.myapplication D/IJKMEDIA: ffp_toggle_buffering_l: end 08-03 12:03:30.900 20855-21478/com.missevan.android.myapplication D/IJKMEDIA: Using s16p internally between filters 08-03 12:03:30.900 20855-21478/com.missevan.android.myapplication D/IJKMEDIA: avcodec/Audio: first frame decoded 08-03 12:03:30.900 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: FFP_MSG_BUFFERING_END: 08-03 12:03:30.900 20855-21320/com.missevan.android.myapplication D/IJKMEDIA: FFP_MSG_AUDIO_RENDERING_START:

这里是异常时的信息:

08-03 12:13:16.940 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:17.950 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:18.960 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:19.970 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:20.980 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:21.990 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:23.000 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:24.010 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:25.020 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:26.030 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:27.040 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:28.060 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:29.070 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:30.080 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:31.090 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:32.100 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:33.110 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:34.120 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:35.130 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:36.140 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:37.150 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT) 08-03 12:13:38.160 20855-21322/com.missevan.android.myapplication E/IJKMEDIA: av_read_frame error: ffffff92(�,�,�,�): AVERROR(ETIMEDOUT)

gqb commented 8 years ago

急急急!!!在线等啊

gqb commented 8 years ago

could I have your QQ number @bbcallen

gqb commented 8 years ago

@ctiao

gqb commented 8 years ago

@bbcallen @tewilove @chundong @ened @devloe Could you help me ?

mmyydy commented 1 year ago

解决了吗?