Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-dr/bilive24h
b站7 * 24小时的直播
https://github.com/x-dr/bilive24h
Last synced: 12 days ago
JSON representation
b站7 * 24小时的直播
- Host: GitHub
- URL: https://github.com/x-dr/bilive24h
- Owner: x-dr
- Created: 2023-05-28T12:04:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-29T08:24:32.000Z (over 1 year ago)
- Last Synced: 2024-08-01T02:28:02.462Z (3 months ago)
- Language: Shell
- Homepage: http://live.bilibili.com/2504721
- Size: 10.7 KB
- Stars: 47
- Watchers: 2
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bilibili-extra - Bilive24h - b 站 7 * 24 小时的直播.![Shell](svg/shell.svg?raw=true) (直播相关工具 / 直播脚本)
README
# bilive24h
我搭建7 * 24小时的测试直播间:[http://live.bilibili.com/2504721](http://live.bilibili.com/2504721)### 安装ffmpeg
```shell
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar -xJf ffmpeg-release-amd64-static.tar.xz
cp -r ffmpeg-6.0-amd64-static /usr/local/ffmpeg
```> 在~/.bashrc文件添加一行
```shell
export PATH=$PATH:/usr/local/ffmpeg
```
> 然后运行使其生效```shell
source .bashrc
```### 执行脚本
```shell
wget https://raw.githubusercontent.com/x-dr/bilive24h/main/bilive.sh
```> 运行
```shell
bash bilive.sh
```
> ps:推流地址是b站我的直播,服务器地址和串流密钥连在一起中间无需空格和逗号
![1685276828190.png](https://s1.img.ink/2023/05/28/c60b9eb81f023.png)