https://github.com/x-dr/bilive24h
b站7 * 24小时的直播
https://github.com/x-dr/bilive24h
Last synced: about 1 month 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T08:24:32.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T11:52:15.180Z (6 months ago)
- Language: Shell
- Homepage: http://live.bilibili.com/2504721
- Size: 10.7 KB
- Stars: 48
- Watchers: 2
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bilibili-extra - Bilive24h - b 站 7 * 24 小时的直播. (直播相关工具 / 直播脚本)
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站我的直播,服务器地址和串流密钥连在一起中间无需空格和逗号
