auto-bilibili-recorder
auto-bilibili-recorder copied to clipboard
Automatically record, burn danmaku, and transcode Bilibili live streams
系统是Ubuntu16.04 LTS,腾讯云6Mbps带宽。 昨天下午(在其他人的房间)试录一小段能成功上传。但是在晚上录制一段长直播时,虽然能正常产生文件,也能发起上传,但是上传会失败。 失败案例的`recorder_config.yaml`跟成功案例的配置文件比只改了房间号,其他都是相同,以下是`recorder_config.yaml`: ``` accounts: bot: # 录播账号 ID 用来在房间里对应 name: 哔咔兔の真爱粉 # 录播账号的名字,可以用于模版 # sessdata 和 bili_jct 获取见:https://bili.moyu.moe/#/get-credential sessdata: "xxx" # SESSDATA cookie bili_jct: "xxx" # bili_jct cookie...
Ubuntu Server 18.04.1 LTS 64bit CPU: 2核 内存: 4GB (带宽:6Mbps) 录几分钟的小段直播能成功上传,但是录制长时直播,就会上传失败,然后重复上传+失败的过程,持续了一天都没成功。 弹幕、png、MP4等文件都能正常产生。 结尾附有log等文件。     [24153980-20220531-180114-919.all.concat.txt](https://github.com/valkjsaaa/auto-bilibili-recorder/files/8811234/24153980-20220531-180114-919.all.concat.txt) (1kb) [24153980-20220531-180114-919.all.video.log](https://github.com/valkjsaaa/auto-bilibili-recorder/files/8811235/24153980-20220531-180114-919.all.video.log) (4836kb) [20220531.log](https://github.com/valkjsaaa/auto-bilibili-recorder/files/8811236/20220531.log) (887kb)
可以做到录完1p后直接投稿,下1p录完后追加投稿吗 或者每1p录完直接上传,等所有录完后再投稿?
上传失败
`{'event': 'PRE_UPLOAD_PROBE', 'ok': True, 'data': {'OK': 1, 'lines': [{'os': 'upos', 'query': 'probe_version=20211012&upcdn=qn&zone=cs', 'probe_url': '//upos-cs-upcdnqn.bilivideo.com/OK'}, {'os': 'upos', 'query': 'probe_version=20211012&upcdn=bda2&zone=cs', 'probe_url': '//upos-cs-upcdnbda2.bilivideo.com/OK'}], 'probe': {'post': 0.1}}} {'event': 'PRE_UPLOAD', 'ok': False, 'data': JSONDecodeError('Expecting value:...
/usr/local/lib/python3.8/dist-packages/danmaku_tools/danmaku_energy_map.py:24: DeprecationWarning: Please use `convolve` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated. from scipy.ndimage.filters import convolve Building prefix dict from the default dictionary ... Loading model from cache...
Thanks for starring [sourcery-ai/sourcery](/sourcery-ai/sourcery) ✨ 🌟 ✨ Here's your pull request refactoring your most popular Python repo. If you want Sourcery to refactor all your Python repos and incoming pull...
一直回报 'message': '本次登录环境存在风险, 需使用手机号进行验证或绑定'}} 服务器是阿里云杭州
无法进行上传
运行环境:腾讯云广州区 centos7.6,Docker version 20.10.7, build f0df350,运行无显卡镜像。 能正常进行录播 ass转换 合并成mp4 合并完mp4后并没有进行上传的动作。  
``` [h264_nvenc @ 0x5601aa5b40c0] OpenEncodeSessionEx failed: out of memory (10) [h264_nvenc @ 0x5601aa5b40c0] No NVENC capable devices found ```
上传失败
docker logs日志: 线路选择 => cos: . time: None os: cos Upload failed too many times: Traceback (most recent call last): File "/webhook/record_upload_manager.py", line 68, in video_uploader bv_id = upload_task.upload(self.save.session_id_map) File...