bilibili / ijkplayer

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

cant play rtsp url #4389

Open fukemy opened 6 years ago

fukemy commented 6 years ago

Hi. To day I got error when play "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov" url

av_version_info: ff3.3--ijk0.8.0--20170829--001
ijk_version_info: k0.8.4
ijkmp_set_inject_opaque(0x11e0eaaf0)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x11e0eaaf0)
ijkmp_set_ijkio_inject_opaque()=void
2018-08-13 12:44:50.948627+0700 iCamera[9446:2472114] OK setup GL
ijkmp_ios_set_view(glView=0x11c350c50)
ijkmp_ios_set_view(glView=0x11c350c50)=void
2018-08-13 12:44:50.954173+0700 iCamera[9446:2472114] invalidateRenderBuffer
2018-08-13 12:44:50.955289+0700 iCamera[9446:2472318] IJKSDLGLView:display: unable to tryLock GL active: 0
ijkmp_set_data_source(url="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov")
ijkmp_set_data_source(url="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov")=0
ijkmp_prepare_async()
ijkmp_prepare_async()=0
2018-08-13 12:44:50.970071+0700 iCamera[9446:2472114] FFP_MSG_ERROR: 0
IJKMPMoviePlayBackStateDidChange Optional(__C.IJKMPMoviePlaybackState): paused
playbackStateDidChange: IJKMPMovieFinishReasonPlaybackError: 1

mediaPlayerStateChanged: error!
2018-08-13 12:44:50.984008+0700 iCamera[9446:2472114] invalidateRenderBuffer
2018-08-13 12:44:50.984587+0700 iCamera[9446:2472318] IJKSDLGLView: setupDisplay not ready
wnpllrzodiac commented 6 years ago

SHOULD modify ffmpeg build script