bytelang / kplayer-go

A live streaming tool more suitable for non-graphical servers
https://kplayer.net
Apache License 2.0
756 stars 72 forks source link

bilibili无法打开输出流 #60

Closed ailachan closed 1 year ago

ailachan commented 1 year ago

[pid:13128/tid:13137] [2023-01-24 23:37:19.910] [KPEncode] [error] 无法打开输出流; path: rtmp://live-push.bilivideo.com/live-bvc/?streamname=live_49837660_3234682&key=031384bb82837f2176376574dcb1c8bd&schedule=rtmp&pflag=1; error: Input/output error [-5] [pid:13128/tid:13137] [2023-01-24 23:37:19.910] [KPSingleOutput] [error] 初始化输出器失败; code: -5 [pid:13128/tid:13137] [2023-01-24 23:37:19.912] [KPSingleOutput] [warning] 无法连接到流媒体服务器或打开目标文件,5秒后将再次重试连接

ailachan commented 1 year ago

老版本新版本都试过了,都是这样

a1667834841 commented 1 year ago

是不是配置错了 我试了可以

ailachan commented 1 year ago

是不是配置错了 我试了可以

你的配置发过来看看可以吗,我在想是不是因为我服务器在国外的原因

a1667834841 commented 1 year ago

是不是配置错了 我试了可以

你的配置发过来看看可以吗,我在想是不是因为我服务器在国外的原因

{
    "version": "2.0.0",
    "resource": {
        "lists": [
                {
                    "path": "/opt/shell/video/b站/"
                }

        ],
        "extensions": [ "mp4", "flv" ]
    },
    "output": {
           "reconnect_internal": 5,
        "lists": [
            {
                "path": "rtmp://live-push.bilivideo.com/live-bvc/?xxxx"
            }
        ]
    },

    "play": {
        "cache_on": true,
         "encode": {
              "video_width": 854,
              "video_height": 480,
              "video_fps": 25,
              "audio_channel_layout": 3,
              "audio_sample_rate": 44100,
              "bit_rate": 0,
              "avg_quality": 0
            }
      },

    "plugin": {
        "lists": [
          {
            "path": "show-text",
            "params": {
              "text": "放下手机\n\r倾听五分钟音乐",
              "fontsize": "20",
              "fontcolor": "white",
              "x": 10,
             "y": 410
           }
           }
    ]
  }
}
it985 commented 1 year ago

issues59

ailachan commented 1 year ago

issues59

啊这还真是,完犊子了

it985 commented 1 year ago

issues59

啊这还真是,完犊子了

其他平台应该没有限制

ailachan commented 1 year ago

issues59

啊这还真是,完犊子了

其他平台应该没有限制

行吧,不过还是谢谢啦