V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zhoubigbo412
V2EX  ›  Android

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

  •  
  •   zhoubigbo412 · 2023-05-08 12:24:20 +08:00 · 8373 次点击
    这是一个创建于 592 天前的主题,其中的信息可能已经有所发展或是发生改变。

    播放地址: 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)

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1691 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 16:37 · PVG 00:37 · LAX 08:37 · JFK 11:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.