Coder Social home page Coder Social logo

withsalt / bilibililivetools Goto Github PK

View Code? Open in Web Editor NEW
240.0 240.0 38.0 279.54 MB

Bilibili(B站)无人值守直播工具。自动登录,自动获取直播推流地址,自动推流(使用ffmpeg),可以用于电脑、树莓派等设备无人值守直播。

License: MIT License

C# 96.42% HTML 2.88% CSS 0.59% JavaScript 0.11%

bilibililivetools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bilibililivetools's Issues

硬币数量不为整数时会报错

Unhandled exception. System.Exception: Convert result model failed. Input string '1315.4' is not a valid integer. Path 'data.userCoinIfo.coins', line 1, position 907.
   at Bilibili.Api.LiveApi.GetRoomInfo(User user) in E:\CSharp\Projects\BilibiliLiveTools\src\Bilibili\Api\LiveApi.cs:line 135
   at BilibiliLiveTools.Program.Main(String[] args) in E:\CSharp\Projects\BilibiliLiveTools\src\BilibiliLiveTools\Program.cs:line 63
   at BilibiliLiveTools.Program.<Main>(String[] args)
fish: “sudo ./BilibiliLiveTools” terminated by signal SIGABRT (Abort)

一个小小的请求?

大佬,是这样的。我们机厅每天有直播一款名为《舞萌DX》的街机音游,现在用上了您的项目之后就实现了无人值守开播。
不过现在有一个问题:
因为我们机厅的直播是通过obs直播的,并不直接调用工具内的ffmpeg参与推流。
那么工具在获取到推流地址后obs会立刻进行推流,但是工具内的ffmpeg会因为无事可干而导致控制台循环输出错误信息尝试重新推流。
当尝试次数过多时,api会提示获取次数频繁,我们担心这样持续久了会影响到直播账号的风控健康度。
请问有无可以解决此问题的方法?感谢~

登录失败呢

错误信息:{
"code": -449,
"message": "服务繁忙, 请稍后再试",
"ts": 1587874569
}

依然提示输入字符串不是合法 integer

树莓派环境:
Raspberry Pi 4B
系统: Raspbian Linux raspberrypi 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux
版本: No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

参考操作连接: quarkbook.com/?p=733

错误消息:

Unhandled exception. System.Exception: Convert result model failed. Input string '160.8' is not a valid integer. Path 'data.userCoinIfo.coins', line 1, position 870.
at Bilibili.Api.LiveApi.GetRoomInfo(User user) in E:\CSharp\Projects\BilibiliLiveTools\src\Bilibili\Api\LiveApi.cs:line 135
at BilibiliLiveTools.Program.Main(String[] args) in E:\CSharp\Projects\BilibiliLiveTools\src\BilibiliLiveTools\Program.cs:line 63
at BilibiliLiveTools.Program.

(String[] args)
Aborted

关于如何读取多个视频

appsettings.json中的"FFmpegCmd"怎么使用非ffmpeg的命令,比如我需要利用Linux的命令while true do来循环读取文件夹中的多个视频,但是报错

无法正确处理用户信息

SYSTEM INFO

Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux 32bit
version 21bfdeee3a6ea823e2113b983390acd1eec8edfb
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

ERROR:

Unhandled exception. System.Exception: Convert result model failed. Could not convert string to integer: 2020-06-29. Path 'data.vip_endtime', line 1, position 1015.
   at Bilibili.Api.LiveApi.GetRoomInfo(User user) in E:\CSharp\Projects\Developing\BilibiliLiveTools\src\Bilibili\Api\LiveApi.cs:line 135
   at BilibiliLiveTools.Program.Main(String[] args) in E:\CSharp\Projects\Developing\BilibiliLiveTools\src\BilibiliLiveTools\Program.cs:line 62
   at BilibiliLiveTools.Program.<Main>(String[] args)

登陆失败

需要手机或者邮箱的验证码
命令行中给出的登录url,使用浏览器打开后显示需要验证码。不知道这个问题能不能解决

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.