-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IJKPLAYER已经配置好,但是有些RTSP地址播放不了 #2741
Comments
need to enable sdp demux
2017-02-25 13:18 GMT+08:00 wangwtotao <[email protected]>:
… 两个地址:第一:rtsp://192.168.1.20:554/live1.sdp 第二个地址:rtsp://184.72.239.149/
vod/mp4://BigBuckBunny_175k.mov
这两个地址用VLC播放都可以,没问题。但是用xcode + ijkplayer,就只能播放第二个视频,第一个播放不了。第一个贴下日志:
===== custom modules begin =====
register demuxer : ijklivehook
===== custom modules end =====
av_version_info: ff3.1--ijk0.6.0--20160715--001
ijkmp_set_inject_opaque(0x7f9691d07900)
ijkmp_set_inject_opaque()=void
2017-02-25 13:16:42.666 RTSP[732:20701] OK setup GL
ijkmp_ios_set_view(glView=0x7f9691d0c0d0)
ijkmp_ios_set_view(glView=0x7f9691d0c0d0)=void
2017-02-25 13:16:42.679 RTSP[732:20701] invalidateRenderBuffer
2017-02-25 13:16:42.679 RTSP[732:20784] IJKSDLGLView: setupDisplay not
ready
ijkmp_set_data_source(url="rtsp://192.168.1.20:554/live1.sdp")
ijkmp_set_data_source(url="rtsp://192.168.1.20:554/live1.sdp")=0
ijkmp_prepare_async()
ijkmp_prepare_async()=0
2017-02-25 13:16:42.683376 RTSP[732:20815] [] nw_host_stats_add_src recv
too small, received 24, expected 28
2017-02-25 13:16:42.690 RTSP[732:20701] invalidateRenderBuffer
2017-02-25 13:16:42.705 RTSP[732:20784] IJKSDLGLView: setupDisplay not
ready
2017-02-25 13:16:42.807218 RTSP[732:20815] [] nw_host_stats_add_src recv
too small, received 24, expected 28
aout_open_audio()
2017-02-25 13:16:53.497031 RTSP[732:20954] [aqme] 255: AQDefaultDevice
(1): skipping input stream 0 0 0x0
aout_pause_audio(0)
vtb fail!!! switch to ffmpeg decode!!!!
ijkmp_get_msg: FFP_MSG_PREPARED
2017-02-25 13:16:53.534 RTSP[732:20701] FFP_MSG_VIDEO_DECODER_OPEN: false
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_VIDEO_SIZE_CHANGED: 0, 0
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_SAR_CHANGED: 0, 1
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_PREPARED:
ijkmp_get_meta_l
ijkmp_get_meta_l()=void
2017-02-25 13:16:55.497760 RTSP[732:20954] [aqme] 255: AQDefaultDevice
(172): skipping input stream 0 0 0x0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2741>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEOmls-K2kU8syRGOTozOwli8YZU9rpNks5rf7m2gaJpZM4ML6MX>
.
|
@raymond1012 谢谢您的回复,现在好像视频解码可以了,但是还是没有画面,您看下,是什么问题? 2017-02-27 11:22:44.962894 RTSP[767:200291] [DYMTLInitPlatform] platform initialization successful ijkmp_ios_set_view(glView=0x101f06db0) ijkmp_set_data_source(url="rtsp://192.168.1.20:554/live1.sdp") 2017-02-27 11:22:45.731898 RTSP[767:200282] IJKSDLGLView: setupDisplay not ready 2017-02-27 11:22:45.732053 RTSP[767:200281] IJKSDLGLView: setupDisplay not ready aout_open_audio() ijkmp_get_meta_l SDL_VoutFFmpeg_CreateOverlay(w=1280, h=720, fmt=I420(0x30323449, dp=0x170279d00) 到这儿一直,卡着不动。我感觉好像是音频解码到问题,看了看api,没找到 怎么关闭音频处理 的函数啊 |
对比vlc抓包看看 |
Hi, this may be somehow not related to the question, but I just wanted to ask, have you found a way to check how many channel/program a rtsp stream has using ijk? |
need to enable sdp demux 指的是 哪个? 能给出完整配置语句嘛?谢谢 |
楼主 请问是怎么配置的 我配置了 还是不能播放这个格式的直播流 求指点 |
两个地址:第一:rtsp://192.168.1.20:554/live1.sdp 第二个地址:rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov
这两个地址用VLC播放都可以,没问题。但是用xcode + ijkplayer,就只能播放第二个视频,第一个播放不了。第一个贴下日志:
===== custom modules begin =====
register demuxer : ijklivehook
===== custom modules end =====
av_version_info: ff3.1--ijk0.6.0--20160715--001
ijkmp_set_inject_opaque(0x7f9691d07900)
ijkmp_set_inject_opaque()=void
2017-02-25 13:16:42.666 RTSP[732:20701] OK setup GL
ijkmp_ios_set_view(glView=0x7f9691d0c0d0)
ijkmp_ios_set_view(glView=0x7f9691d0c0d0)=void
2017-02-25 13:16:42.679 RTSP[732:20701] invalidateRenderBuffer
2017-02-25 13:16:42.679 RTSP[732:20784] IJKSDLGLView: setupDisplay not ready
ijkmp_set_data_source(url="rtsp://192.168.1.20:554/live1.sdp")
ijkmp_set_data_source(url="rtsp://192.168.1.20:554/live1.sdp")=0
ijkmp_prepare_async()
ijkmp_prepare_async()=0
2017-02-25 13:16:42.683376 RTSP[732:20815] [] nw_host_stats_add_src recv too small, received 24, expected 28
2017-02-25 13:16:42.690 RTSP[732:20701] invalidateRenderBuffer
2017-02-25 13:16:42.705 RTSP[732:20784] IJKSDLGLView: setupDisplay not ready
2017-02-25 13:16:42.807218 RTSP[732:20815] [] nw_host_stats_add_src recv too small, received 24, expected 28
aout_open_audio()
2017-02-25 13:16:53.497031 RTSP[732:20954] [aqme] 255: AQDefaultDevice (1): skipping input stream 0 0 0x0
aout_pause_audio(0)
vtb fail!!! switch to ffmpeg decode!!!!
ijkmp_get_msg: FFP_MSG_PREPARED
2017-02-25 13:16:53.534 RTSP[732:20701] FFP_MSG_VIDEO_DECODER_OPEN: false
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_VIDEO_SIZE_CHANGED: 0, 0
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_SAR_CHANGED: 0, 1
2017-02-25 13:16:53.535 RTSP[732:20701] FFP_MSG_PREPARED:
ijkmp_get_meta_l
ijkmp_get_meta_l()=void
2017-02-25 13:16:55.497760 RTSP[732:20954] [aqme] 255: AQDefaultDevice (172): skipping input stream 0 0 0x0
The text was updated successfully, but these errors were encountered: