Skip to content
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

rtsp 格式播放不了,报错如下! #232

Closed
121104115wyb opened this issue May 17, 2017 · 24 comments
Closed

rtsp 格式播放不了,报错如下! #232

121104115wyb opened this issue May 17, 2017 · 24 comments

Comments

@121104115wyb
Copy link

rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov 播放链接(在其他非开源播放器上可以播放)

05-17 10:13:36.345 28386-28833/com.example.gsyvideoplayer E/IJKMEDIA: rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov: Protocol not found
05-17 10:13:36.345 28386-28639/com.example.gsyvideoplayer E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)
05-17 10:13:36.358 28386-28386/com.example.gsyvideoplayer E/GSYVideoPlayer: cancelTimeOutBuffer
05-17 10:13:36.359 28386-28386/com.example.gsyvideoplayer E/GSYVideoPlayer: Link Or mCache Error, Please Try Againrtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov
05-17 10:13:36.370 28386-28639/com.example.gsyvideoplayer E/GSYVideoPlayer: cancelTimeOutBuffer

@kinghom
Copy link

kinghom commented May 20, 2017

同问,希望楼主可以解答一下,能否播放rtsp流视频以及如何播放rtsp

@CarGuo
Copy link
Owner

CarGuo commented May 20, 2017

需要自行编译so,替换了项目so即可。编译方式首页有,在module.sh上使能对应协议支持

@zhangle1
Copy link

http://download.csdn.net/detail/hebeixmg/9604675 这里有编译好的 cv一下就好了 亲测可用

@CarGuo
Copy link
Owner

CarGuo commented May 31, 2017

0.6.0的注意修改下ijk的远程以来版本的版本号

This was referenced May 31, 2017
@qq328848298
Copy link

qq328848298 commented Jun 2, 2017 via email

@CarGuo
Copy link
Owner

CarGuo commented Jul 3, 2017

#207 link

@CarGuo
Copy link
Owner

CarGuo commented Aug 5, 2017

试试ex so的2.0.3版本,详见github首页

@CarGuo CarGuo closed this as completed Aug 5, 2017
@puyanlin668
Copy link

请问楼主,怎么样才能支持rtsp播放啊,难道要自己编译so文件吗,支持在Android7.0播放吗,是64位的CPU

@CarGuo
Copy link
Owner

CarGuo commented Aug 30, 2017

支持,rtsp使用第三种依赖

@ghost
Copy link

ghost commented Oct 10, 2017

@CarGuo 我将 build.gradle 修改为
compile fileTree(dir: 'libs', include: ['*.jar'])

//compile project(':gsyVideoPlayer-java')
//compile project(':gsyVideoPlayer-armv5')
//compile project(':gsyVideoPlayer-armv7a')
//compile project(':gsyVideoPlayer-armv64')
//compile project(':gsyVideoPlayer-x86')
//compile project(':gsyVideoPlayer-x86_64')

//更多配置版so,增加了concat,rtsp,mpeg,crypto
//compile project(':gsyVideoPlayer-ex_so')

compile 'com.shuyu:gsyVideoPlayer-java:2.0.9'

// compile 'com.shuyu:gsyVideoPlayer-armv5:2.0.9'
// compile 'com.shuyu:gsyVideoPlayer-armv7a:2.0.9'
// compile 'com.shuyu:gsyVideoPlayer-arm64:2.0.9'
// compile 'com.shuyu:gsyVideoPlayer-x64:2.0.9'
// compile 'com.shuyu:gsyVideoPlayer-x86:2.0.9'

//更多配置版so,增加了concat,rtsp,mpeg,crypto
compile 'com.shuyu:gsyVideoPlayer-ex_so:2.0.9'

并在 RecyclerItemNormalHolder中将一个 url 替换为 局域网rtsp,setCacheWithPlay 设置为 false,但是仍然不能播放,是什么原因呢

@rebertBen
Copy link

RTSP流协议不支持,报错:rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov 播放链接(在其他非开源播放器上可以播放)

05-17 10:13:36.345 28386-28833/com.example.gsyvideoplayer E/IJKMEDIA: rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov: Protocol not found
05-17 10:13:36.345 28386-28639/com.example.gsyvideoplayer E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

@CarGuo
Copy link
Owner

CarGuo commented Jul 4, 2019

@rebertBen 看readme,用ex_so,然后看问题集锦

@rebertBen
Copy link

不行,还是报错。
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo E/IJKMEDIA: rtsp://10.1.2.47/10.1.2.4_hk.sdp: Protocol not found
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [25529]
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_FLUSH:
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_ERROR: 0
2019-07-04 16:45:53.410 25359-25528/com.bo.testdemo I/IJKMEDIA: SDL_RunThread: [25528] ff_vout
2019-07-04 16:45:53.411 25359-25359/com.bo.testdemo E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

@ghost
Copy link

ghost commented Jul 24, 2019

不行,还是报错。
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo E/IJKMEDIA: rtsp://10.1.2.47/10.1.2.4_hk.sdp: Protocol not found
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [25529]
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_FLUSH:
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_ERROR: 0
2019-07-04 16:45:53.410 25359-25528/com.bo.testdemo I/IJKMEDIA: SDL_RunThread: [25528] ff_vout
2019-07-04 16:45:53.411 25359-25359/com.bo.testdemo E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

最后解决了吗?大哥?我也出现了这个原因,看楼上说是更新SO编译库,正准备去尝试看下

@rebertBen
Copy link

不行,还是报错。
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo E/IJKMEDIA: rtsp://10.1.2.47/10.1.2.4_hk.sdp: Protocol not found
2019-07-04 16:45:53.409 25359-25529/com.bo.testdemo I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [25529]
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_FLUSH:
2019-07-04 16:45:53.409 25359-25527/com.bo.testdemo D/IJKMEDIA: FFP_MSG_ERROR: 0
2019-07-04 16:45:53.410 25359-25528/com.bo.testdemo I/IJKMEDIA: SDL_RunThread: [25528] ff_vout
2019-07-04 16:45:53.411 25359-25359/com.bo.testdemo E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

最后解决了吗?大哥?我也出现了这个原因,看楼上说是更新SO编译库,正准备去尝试看下

没有尝试,我换了一个播放器框架,你试试,回头告诉我一下。

@ghost
Copy link

ghost commented Jul 25, 2019 via email

@rebertBen
Copy link

rebertBen commented Jul 25, 2019 via email

@ygknight
Copy link

rtsp请求格式为OPTIONS 如何更换为SETUP类型?

@EarlJiRH
Copy link

那个换播放器框架的大佬能给一下您的播放器地址吗?那个改配置的大佬,资源能共享一下吗?

@linrb685
Copy link

支持,rtsp使用第三种依赖

大佬,有得播放源使用exo不能播换ijk就能播,有得使用硬解能播,有得不能播,这种如果说默认设置一种内核和解码方式就会导致一些视频播放不了,这种有没有好的处理方法?还有就是自己编译so文件替换的话,同时开启硬解,机子还是同一台,那他到底他有没有用到这个新编译的so文件呢?

@zhaoxiaolang
Copy link

**ghost ** commented Jul 25, 2019 via email 大佬,有哪个rtsp包没

@kinghom
Copy link

kinghom commented Oct 18, 2024 via email

@ygknight
Copy link

ygknight commented Oct 23, 2024 via email

@ygknight
Copy link

ygknight commented Oct 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests