Open jisuz opened 7 years ago
已经下载了支持全部格式的SO文件,但是在播放RTSP格式的时候,还是播放不出来,一直处于缓冲状态,出现了一下的Log,特地来此请教一下,想问一下,这个问题的原因是在哪里?有没有比较好的解决方案。
Log:
11-05 13:59:38.702 9277-9729/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9729] 11-05 13:59:38.702 9277-9462/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9462] 11-05 13:59:38.702 9277-9464/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9464] 11-05 13:59:38.707 9277-9463/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9463] 11-05 13:59:38.707 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/AudioManager: requestAudioFocus() status : 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/AudioManager: requestAudioFocus() apk : tcking.github.com.giraffeplayer 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer W/IJKMEDIA: remove 'timeout' option for rtmp. 11-05 13:59:38.717 9277-13051/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13051] ff_msg_loop 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: ===== versions ===== 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: FFmpeg : ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavutil : 55.27.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavcodec : 57.48.101 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavformat : 57.40.101 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libswscale : 4.1.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libswresample: 2.1.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: ===== options ===== 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : mediacodec = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : opensles = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : overlay-format = 842225234 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : framedrop = 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : start-on-prepared = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : ijkinject-opaque = 490734742 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : ijkapplication = 2041502432 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : http-detect-range-support = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : reconnect = 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: codec-opts : skip_loop_filter = 48 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: =================== 11-05 13:59:38.722 9277-13052/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13052] ff_vout 11-05 13:59:38.722 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13053] ff_read 11-05 13:59:38.722 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: remove 'timeout' option for rtmp. 11-05 13:59:39.947 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: SDP: 11-05 13:59:39.947 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required) 11-05 13:59:39.952 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required) 11-05 13:59:39.997 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: setting jitter buffer size to 500 11-05 13:59:40.047 9277-13053/tcking.github.com.giraffeplayer E/IJKMEDIA: Option ijkinject-opaque not found. 11-05 13:59:50.082 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: UDP timeout, retrying with TCP 11-05 13:59:50.172 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: setting jitter buffer size to 0 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: max_frame_duration: 10.000 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Input #0, rtsp, from 'rtsp://61.191.35.42:10054/live.sdp?token=75c80f0da31c11e6b4250894ef09fdc330e8d1505a1eefad36874612d2e17433': 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Metadata: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: title : 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: QXC Live Stream 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: comment : 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: VTDU 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Duration: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: N/A 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , start: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 1.800000 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , bitrate: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: N/A 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Stream #0:0 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: : Video: h264, 1 reference frame, yuv420p(left), 1920x1080 (1920x1088), 0/1 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 25 fps, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 25 tbr, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 90k tbn, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 50 tbc 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: VideoCodec: avcodec, h264 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: fps: 25.000000 (normal) 11-05 13:59:53.087 9277-13316/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13316] ff_video_dec 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: fps: 25.000000 (normal)
[ 11-05 13:59:53.107 9277: 9277 E/ ] SurfaceView doesn't support rotation (0)!
已经下载了支持全部格式的SO文件,但是在播放RTSP格式的时候,还是播放不出来,一直处于缓冲状态,出现了一下的Log,特地来此请教一下,想问一下,这个问题的原因是在哪里?有没有比较好的解决方案。
Log:
11-05 13:59:38.702 9277-9729/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9729] 11-05 13:59:38.702 9277-9462/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9462] 11-05 13:59:38.702 9277-9464/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9464] 11-05 13:59:38.707 9277-9463/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [9463] 11-05 13:59:38.707 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/AudioManager: requestAudioFocus() status : 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/AudioManager: requestAudioFocus() apk : tcking.github.com.giraffeplayer 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: av_version_info: ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer W/IJKMEDIA: remove 'timeout' option for rtmp. 11-05 13:59:38.717 9277-13051/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13051] ff_msg_loop 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: ===== versions ===== 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: FFmpeg : ff3.1--ijk0.6.0--20160715--001 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavutil : 55.27.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavcodec : 57.48.101 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libavformat : 57.40.101 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libswscale : 4.1.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: libswresample: 2.1.100 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: ===== options ===== 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : mediacodec = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : opensles = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : overlay-format = 842225234 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : framedrop = 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: player-opts : start-on-prepared = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : ijkinject-opaque = 490734742 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : ijkapplication = 2041502432 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : http-detect-range-support = 0 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: format-opts : reconnect = 1 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: codec-opts : skip_loop_filter = 48 11-05 13:59:38.717 9277-9277/tcking.github.com.giraffeplayer I/IJKMEDIA: =================== 11-05 13:59:38.722 9277-13052/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13052] ff_vout 11-05 13:59:38.722 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13053] ff_read 11-05 13:59:38.722 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: remove 'timeout' option for rtmp. 11-05 13:59:39.947 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: SDP: 11-05 13:59:39.947 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required) 11-05 13:59:39.952 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required) 11-05 13:59:39.997 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: setting jitter buffer size to 500 11-05 13:59:40.047 9277-13053/tcking.github.com.giraffeplayer E/IJKMEDIA: Option ijkinject-opaque not found. 11-05 13:59:50.082 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: UDP timeout, retrying with TCP 11-05 13:59:50.172 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: setting jitter buffer size to 0 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: max_frame_duration: 10.000 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Input #0, rtsp, from 'rtsp://61.191.35.42:10054/live.sdp?token=75c80f0da31c11e6b4250894ef09fdc330e8d1505a1eefad36874612d2e17433': 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Metadata: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: title : 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: QXC Live Stream 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: comment : 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: VTDU 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Duration: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: N/A 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , start: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 1.800000 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , bitrate: 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: N/A 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: Stream #0:0 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: : Video: h264, 1 reference frame, yuv420p(left), 1920x1080 (1920x1088), 0/1 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: , 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 25 fps, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 25 tbr, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 90k tbn, 11-05 13:59:53.082 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: 50 tbc 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer I/IJKMEDIA: VideoCodec: avcodec, h264 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: fps: 25.000000 (normal) 11-05 13:59:53.087 9277-13316/tcking.github.com.giraffeplayer I/IJKMEDIA: SDL_RunThread: [13316] ff_video_dec 11-05 13:59:53.087 9277-13053/tcking.github.com.giraffeplayer W/IJKMEDIA: fps: 25.000000 (normal)