MCPcopy Create free account
hub / github.com/Zarosmm/obs-bilibili-stream

github.com/Zarosmm/obs-bilibili-stream @2.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.1 ↗ · + Follow
193 symbols 287 edges 22 files 22 documented · 11% updated 8d ago2.1.1 · 2026-07-06★ 450

Browse by type

Functions 159 Types & classes 34
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OBS Bilibili Streaming Plugin

A plugin for OBS Studio that simplifies the streaming process on Bilibili platform. Supports QR code login, updating livestream room info, and obtaining RTMP streaming address and key.

Installation

Windows

  1. Download plugin: Download the latest bilibili-stream-for-obs-*-windows-x64.zip from the Releases page.
  2. Extract files: Unzip the downloaded archive.
  3. Move to plugins folder: Copy the extracted folder to: C:\ProgramData\obs-studio\plugins
  4. Verify structure: Ensure the directory structure follows this format: text C:\ProgramData\obs-studio\plugins\ └── bilibili-stream-for-obs\ ├── bin\ │ └── 64bit\ │ └── bilibili-stream-for-obs.dll └── data\ └── locale\ └── (language .ini files)
  5. Launch OBS: Restart OBS Studio, the plugin will load automatically.

macOS

  1. Download plugin: Download the latest bilibili-stream-for-obs-*-macos-universal.pkg from the Releases page.
  2. Install plugin: Double-click the .pkg file and follow the installation wizard.
  3. Launch OBS: Restart OBS Studio, the plugin will load automatically.

The plugin will be installed to /Library/Application Support/obs-studio/plugins/.

Ubuntu/Debian

  1. Download plugin: Download the latest .deb package (e.g., bilibili-stream-for-obs-*-x86_64-ubuntu-22.04.deb) from the Releases page.
  2. Install plugin: Run the following command: bash sudo dpkg -i bilibili-stream-for-obs-*.deb
  3. Fix dependencies (if needed): bash sudo apt-get install -f
  4. Launch OBS: Restart OBS Studio, the plugin will load automatically.

The plugin will be installed to /usr/lib/obs-plugins/ directory.

Usage

  1. Login to Bilibili:

    • Open OBS Studio, go to menu Bilibili直播登录 (Login).
    • Select 扫码登录 (QR Code Login) and scan with your Bilibili mobile app.
    • After successful login, the "登录状态" (Login Status) will show "已登录" (Logged in).
  2. Update Livestream Room Info:

    • Go to Bilibili直播更新直播间信息 (Update Room Info).
    • Enter room title, select category and subcategory (e.g., "网游" → "英雄联盟").
    • Click "确认" (Confirm) to save settings.
  3. Start Streaming:

    • Go to Bilibili直播开始直播 (Start Streaming).
    • Copy the RTMP Address and Stream Key from the popup dialog.
    • In OBS, go to SettingsOutputStream, set:
      • Service: Custom
      • Server: Paste RTMP address (e.g., rtmp://live-push.bilivideo.com/live-bvc/)
      • Stream Key: Paste stream key (e.g., ?streamname=...)
    • Click 开始直播 (Start Streaming) in OBS.
  4. End Streaming:

    • Click 停止直播 (Stop Streaming) in OBS.
    • Go to Bilibili直播停止直播 to close the Bilibili livestream room.

Troubleshooting

  • Logs: If you encounter issues, check OBS log files:
  • Windows: C:\Users\<YourUser>\AppData\Roaming\obs-studio\logs
  • macOS: ~/Library/Logs/obs-studio/
  • Linux: ~/.config/obs-studio/logs/

Requirements

  • OBS Studio 30.0 or higher
  • Windows / macOS / Ubuntu 22.04 or higher

Contributing

Feel free to submit issues or pull requests to the GitHub repository.

Star History

Star History Chart

Core symbols most depended-on inside this repo

Shape

Method 145
Class 31
Function 14
Enum 3

Languages

C++100%

Modules by API surface

src/json11/json11.cpp59 symbols
src/qrcodegen/qrcodegen.cpp47 symbols
src/json11/json11.hpp19 symbols
src/bilibili_api.cpp12 symbols
src/plugin-main.cpp11 symbols
src/http_client.cpp11 symbols
src/ui/dialog_factory.cpp7 symbols
src/qrcodegen/qrcodegen.hpp6 symbols
src/md5.cpp4 symbols
src/core/config_manager.cpp4 symbols
src/ui/menu_manager.cpp2 symbols
src/http_client.hpp2 symbols

For agents

$ claude mcp add obs-bilibili-stream \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page