送给入门主播的一份 OBS Studio 直播指南

引言

记录博主个人使用 OBS Studio 直播的心得体会。

软件简介

截取一段维基百科的概述:

OBS 是一个用于录制和进行网络直播的自由开源软件包。OBS 使用 C 和 C++ 语言编写,提供实时源和设备捕获、场景组成、编码、录制和广播。数据传输主要通过实时消息协议 RTMP 完成,可以发送到任何支持RTMP的软件,包括 YouTube、Twitch、Instagram 和 Facebook 等流媒体网站。

OBS 相比各大平台自己的直播软件功能更强大,也能在几乎所有平台上直播,很多全职主播的直播画面都是通过 OBS 精心调配的

对于我们使用者来讲,需要着重关注它的 开源 特性:

  • 开源意味着我们可以免费获取该软件,无需额外投入付出(那些让你付费获取的都是骗子和坏蛋!)
  • 这种体量的开源软件通常会有比较稳定的生态,遇到问题可以上论坛提问,也可以根据自己的需求搭配各种第三方插件

基本使用

OBS 下载

万事开头难,OBS 有四种不同的下载途径。

官网下载

从官方网站下载软件虽然很简单,但是我认为这是现代人类上网冲浪的基本修养,请不要在从莫名其妙还带着色情赌博诈骗广告的网站上下载东西了!

进入 OBS官网,选择自己的平台下载即可,这里我也是直接给出下载链接:

Windows MacOS (Intel) macOS (Apple Silicon) Linux
steam 下载

前段时间 OBS 登陆了 steam,没听错,你甚至可以在 steam 上下载 OBS Studio:

在 steam 上直接搜索 OBS Studio ,进入页面点击获取即可:

github 下载

作为开源软件怎么能没有大名鼎鼎的 github 呢?github 搜索 OBS Studio 进入 Release 界面,选择自己需要的平台和版本下载最原汁原味的软件安装包:

需要注意的是如果没有魔法,下载速度应该比较慢,如果只是普通使用者不推荐这种下载方式。

清华镜像源下载(推荐)

既然 OBS 是开源软件,但没有魔法下载又很慢,那为什么不问问神奇的 清华大学开源软件镜像站 呢?

搜索 OBS 选择并下载:

画面推流

直播间优化

第三方插件推荐

模糊/Blur

  • 插件地址:
  • 官方文档:

输入叠加/Input Overlay

简易时钟挂件/Mc-Clock

ダウンロードせずに使える「OBS用デジタル時計」をオンライン上に設置しました。

htmlの書き換えが不要な場合は以下のURLをOBSで読み込んでご利用ください。

ダウンロード版はこちら

  • clock01 [https://stock.mooncape.net/mc-clock/clock01](https://stock.mooncape.net/mc-clock/clock01)
  • clock02 [https://stock.mooncape.net/mc-clock/clock02](https://stock.mooncape.net/mc-clock/clock02)
  • clock03 [https://stock.mooncape.net/mc-clock/clock03](https://stock.mooncape.net/mc-clock/clock03)
  • clock04 [https://stock.mooncape.net/mc-clock/clock04](https://stock.mooncape.net/mc-clock/clock04)
  • clock05 [https://stock.mooncape.net/mc-clock/clock05](https://stock.mooncape.net/mc-clock/clock05)

英雄联盟直营服账号数据展示/LoboBot

Creating a League of Legends box

  1. Go to /lol
  2. Add your League Of Legends account. You must change your profile icon with the one provided by LoboBot.
  1. 进入游戏 /lol
  2. 把游戏头像换成这个狼人模样以完成 LoboBot 对你账户拥有权的验证

  1. If all goes well, you will see a message saying that your account has been added successfully.
  2. Click on the account and you will see a both queues (Ranked Solo and Ranked Flex). Select the queue you want to show.
  1. 如果一切顺利,你会看到一条账户添加成功的信息
  2. 点击账户你会看到 单/双排位灵活组排 的战绩,选择你想展示的战绩

  1. Click on the desired box, customize it and finally click on the Create Box button.
  2. Use the link to add the box to your stream.
  1. 选择你喜欢的 box,客制化后点击 Create Box
  2. 通过链接推流到直播间
Adding the box in OBS
  1. Once you have created the box, you will see a link to add the box to your stream.
  2. Copy the link and create a Browser Source in OBS sources.
  3. Paste the link in the URL field. Keep default settings and click on OK.

  1. 当你创建 box 之后,你会得到一个用于推流到直播间的链接
  2. 在 OBS 中创建一个浏览器源
  3. 把刚才 LoboBot 的链接拷贝过来(长度、宽度和位置自己调整)点击确定

后面两种方式我自己没有尝试过,应该都是通过插入浏览器源的方式,故不做翻译了。

Creating a Spotify box
  1. Go to lobobot.com/spotify
  2. Click on the Connect Spotify button.
  3. You will be redirected to Spotify to login and authorize LoboBot to access your account.
  4. Once you have authorized LoboBot, you will be redirected back.
  5. In options, you can customize the box and finally click on the Save Options button.
  6. Use the link to add the box to your stream.
Adding the box in Streamlabs Desktop
  1. Once you have created the box, you will see a link to add the box to your stream.
  2. Copy the link and create a Browser Source in Streamlabs Desktop sources.
  3. Paste the link in the URL field. Keep default settings and click on OK.

常见问题整理

黑屏无法捕获

部分笔记本使用了混合输出技术,需要把 OBS 设置为核显输出才能正确捕获内容。