ijkplayer 播放不了电视直播怎么办

2023-05-08 12:24:20 +08:00
 zhoubigbo412

播放地址: http://cntv.sbs/live?id=cctv1

地址来源 https://github.com/fanmingming/live

自己编译加入 openssl 的 so ,使用那些大佬编译的 so 都播放不放不了,哪位大佬能指点一下

错误日志如下 2023-05-08 12:22:14.260 1569-2171/? E/ScreenModeService: getAppToken AppWindowToken{740d127 token=Token{37f7e6 ActivityRecord{c529641 u0 big.wan.top/.main.live.LivePlayerActivity t1799}}} 2023-05-08 12:22:14.260 1569-2171/? E/ScreenModeService: setRefreshRate token AppWindowToken{740d127 token=Token{37f7e6 ActivityRecord{c529641 u0 big.wan.top/.main.live.LivePlayerActivity t1799}}} rate 0 2023-05-08 12:22:14.260 1569-2171/? D/OpQuickReply: setQuickReplyResumed focusedApp AppWindowToken{740d127 token=Token{37f7e6 ActivityRecord{c529641 u0 big.wan.top/.main.live.LivePlayerActivity t1799}}} pkgName big.wan.top 2023-05-08 12:22:14.260 1569-1646/? D/OpRestartProcessManager: updateSelf : big.wan.top, size : 30 2023-05-08 12:22:14.261 27291-27291/big.wan.top W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5b57f89 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.os.Build$VERSION' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.os.Build' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'java.nio.Buffer' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'java.nio.ByteBuffer' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'java.util.ArrayList' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top I/J4A: API-Level: 29 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.media.AudioTrack' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.media.MediaCodec$BufferInfo' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.media.MediaCodec' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.media.MediaFormat' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.media.PlaybackParams' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'android.os.Bundle' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'tv.danmaku.ijk.media.player.misc.IMediaDataSource' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'tv.danmaku.ijk.media.player.misc.IAndroidIO' loaded 2023-05-08 12:22:14.341 27291-27291/big.wan.top D/J4A: J4ALoader: OK: 'tv.danmaku.ijk.media.player.IjkMediaPlayer' loaded 2023-05-08 12:22:14.342 27291-27291/big.wan.top D/IJKMEDIA: ijkmediaplayer version : k0.8.8-43-g30eb9441 2023-05-08 12:22:14.343 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_native_init 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_native_setup 2023-05-08 12:22:14.344 27291-27291/big.wan.top I/IJKMEDIA: av_version_info: ff4.0--ijk0.8.8--20210426--001 2023-05-08 12:22:14.344 27291-27291/big.wan.top I/IJKMEDIA: ijk_version_info: k0.8.8-43-g30eb9441 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ffpipeline_create_from_android() 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_inject_opaque(0x3e0a) 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_inject_opaque()=void 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_ijkio_inject_opaque(0x3e0a) 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_ijkio_inject_opaque()=void 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback() 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ffpipeline_set_mediacodec_select_callback 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_android_set_mediacodec_select_callback()=void 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_native_setLogLevel(8) 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: moncleanup 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setLoopCount 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setVolume 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_android_set_volume(1.000000, 1.000000) 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ffpipeline_set_volume 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_android_set_volume(1.000000, 1.000000)=void 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2023-05-08 12:22:14.344 27291-27291/big.wan.top I/chatty: uid=10648(big.wan.top) identical 17 lines 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOption 2023-05-08 12:22:14.344 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOptionLong 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setOption 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/tv.danmaku.ijk.media.player.IjkMediaPlayer: Couldn't open file on client side, trying server side 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setDataSourceAndHeaders 2023-05-08 12:22:14.345 27291-27291/big.wan.top V/IJKMEDIA: setDataSource: path http://cntv.sbs/live?id=cctv1 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_data_source(url="http://cntv.sbs/live?id=cctv1") 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_data_source(url="http://cntv.sbs/live?id=cctv1")=0 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_prepareAsync 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_prepare_async() 2023-05-08 12:22:14.345 27291-27445/big.wan.top I/IJKMEDIA: SDL_RunThread: [27445] ff_msg_loop 2023-05-08 12:22:14.345 27291-27445/big.wan.top D/IJKMEDIA: message_loop 2023-05-08 12:22:14.345 27291-27445/big.wan.top D/IJKMEDIA: FFP_MSG_FLUSH: 2023-05-08 12:22:14.345 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_prepare_async()=0 2023-05-08 12:22:14.345 27291-27446/big.wan.top I/IJKMEDIA: SDL_RunThread: [27446] ff_vout 2023-05-08 12:22:14.345 27291-27447/big.wan.top I/IJKMEDIA: SDL_RunThread: [27447] ff_read 2023-05-08 12:22:14.346 27291-27447/big.wan.top I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 1 2023-05-08 12:22:14.350 27291-27291/big.wan.top V/ViewRootImpl: The specified message queue synchronization barrier token has not been posted or has already been removed 2023-05-08 12:22:14.353 27291-27291/big.wan.top D/OPDFontHInj: ViewRoot performTraversals. in big.wan.top/big.wan.top.main.live.LivePlayerActivity 2023-05-08 12:22:14.373 27291-27333/big.wan.top D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@80fb8e3[LivePlayerActivity] 2023-05-08 12:22:14.379 27291-27291/big.wan.top D/IJKMEDIA: IjkMediaPlayer_setVideoSurface 2023-05-08 12:22:14.379 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_android_surface(surface=0x7fef4d9db8) 2023-05-08 12:22:14.379 27291-27291/big.wan.top D/IJKMEDIA: ffpipeline_set_surface() 2023-05-08 12:22:14.379 27291-27291/big.wan.top D/IJKMEDIA: ijkmp_set_android_surface(surface=0x7fef4d9db8)=void 2023-05-08 12:22:14.398 1569-1768/? I/===> HoustonPackage: addLaunchTimeInfo: for big.wan.top/.main.live.LivePlayerActivity isCold:false launchTime:147 2023-05-08 12:22:14.399 1569-1662/? I/ActivityTaskManager: Displayed big.wan.top/.main.live.LivePlayerActivity: +147ms 2023-05-08 12:22:14.643 27291-27447/big.wan.top I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 131073 2023-05-08 12:22:14.699 27291-27447/big.wan.top I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 131074 2023-05-08 12:22:14.757 27291-27447/big.wan.top I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onNativeInvoke 2 2023-05-08 12:22:14.757 27291-27447/big.wan.top I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [27447] 2023-05-08 12:22:14.757 27291-27445/big.wan.top D/IJKMEDIA: FFP_MSG_ERROR: 0 2023-05-08 12:22:14.758 27291-27291/big.wan.top E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

4238 次点击
所在节点    Android
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/938225

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX