-3
日增长
4,923
stars
412
forks
35
watchers
175
prs
630
issues
78
releases
README
mikufans录播姬
安装
在 rec.danmuji.org 提供了有自动更新功能的安装包。
或者也可以在 releases 页面下载 “绿色版” 压缩包,没有版本检查和更新功能。你可以 watch 本仓库的新版本发布(点击 “Watch” 、点击 “Custom”、勾选 “Releases”)。
命令行版可执行文件可以在 releases 页面下载,支持 Linux、 macOS 和 Windows 系统。
可以在 Docker Hub bililive/recorder 或 ghcr.io/bililiverecorder/bililiverecorder 拉取 Docker 镜像。
安装使用教程在 rec.danmuji.org/install/versions。
功能
- 使用简单
- 主播开播后自动开始录制
- 同时录制多个直播间
- 自动修复mikufans直播服务器导致的各种问题
- 工具箱模式,用于修复旧版录播姬或其他软件录的视频文件1
- 纯 C 实现,无 ffmpeg 等 native 依赖2
- 开源!
1:仅限未经处理的直接从直播服务器下载的原始FLV文件。 如果录播是用 FFmpeg 录制的或处理过的就无法修复了,FFmpeg 会进一步损坏有问题的文件。
2:录播姬桌面版内含了一个 mini 版 FFmpeg 用于工具箱内的转封装功能。
版本号
本项目从 2.0.0 开始使用 Semantic Versioning。
请注意各个项目(比如 BililiveRecorder.Flv)的 .NET API 就算是 public 的也属于内部实现,所以不保证任何版本之间源代码接口的兼容性。
编译
注意:需要有完整的 git 历史才能生成版本号。
WPF 版:
powershell
cd BililiveRecorder.WPF
msbuild -t:restore
msbuild
命令行版:
sh
Build WebUI, optional
git submodule update --init --recursive
./webui/build.sh
For building on Windows:
./webui/build.ps1
dotnet build BililiveRecorder.Cli
项目结构
Project | Target |
:--- |:--- |
BililiveRecorder.Flv | .NET Standard 2.0 |
BililiveRecorder.Core | .NET Standard 2.0 |
BililiveRecorder.Toolbox | .NET Standard 2.0 |
BililiveRecorder.WPF | .NET Framework 4.7.2 |
BililiveRecorder.Web | .NET 6 |
BililiveRecorder.Cli | .NET 6 |
mermaid
graph BT
toolbox(BililiveRecorder.Toolbox) -- flv(BililiveRecorder.Flv)
core(BililiveRecorder.Core) -- flv
wpf(BililiveRecorder.WPF) -- core
wpf -- toolbox
cli(BililiveRecorder.Cli) -- toolbox
cli --- core
web(BililiveRecorder.Web) -- core
cli -- web
参考资料 & 鸣谢
- Adobe Flash Video File Format Specification 10.1.2.01.pdf
- coreyauger/flv-streamer-2-file 曾在本项目开发早期作为参考
- zyzsdy/biliroku: (大概是)第一个mikufans直播录播工具Top issues
#452弹幕xml文件末尾缺失<i>标签22 comments · 2023-01-19#153优化多直播间同时录制时的磁盘碎片问题22 comments · 2021-01-10#682Docker版本 弹幕服务器一直无法连接的问题16 comments · 2025-05-20#470Since streaming in HEVC codec has been officially supported by Bilibili, maybe it's time to add support to HEVC codec.15 comments · 2023-03-11#654高级设置中无法通过粘贴添加cookies,只能手打14 comments · 2025-03-10#285添加定时录制功能13 comments · 2022-03-03#700Can't Connect to Popup Server When Using Custom Cookies | 使用自定义cookie时,不能连接弹幕服务器11 comments · 2025-07-17#793最近一直显示弹幕连接断开,时好时坏的,可能是什么原因?8 comments · 2026-07-03
Latest release
v2.20.0 v2.20.0 2026-09-19通用: - 支持记录 SEND_GIFT_V2 礼物消息 by @Skimige