什麼是OBS?
OBS(Open Broadcaster Software)是一個免費的開源視頻錄製和廣播軟件程序,由獨立於OBS項目的開發者社區開發,用C、C++和Qt編寫。主要用於視頻流和錄製。它支持廣泛的插件來擴展程序的功能。
OBS 視頻主要使用 RTMP(或實時消息傳遞協議)發送,因此您可以將其發送到任何支持 RTMP 的目的地,包括 YouTube、Twitch、Instagram 和 Facebook 等許多流媒體網站。
OBS Studio 可以使用 x264 免費軟件庫、Intel Quick Sync Video、Nvidia NVENC 和 AMD Video Coding Engine 將視頻流編碼為 H.264 / MPEG-4 和 H.265 / HEVC 格式。您可以使用任何編解碼器對多個音軌進行編碼並在 libavcodec / libavformat 中使用它們,或者您可以將輸出流式傳輸到自定義 ffmpeg URL。
系統要求
- DirectX 10 兼容顯卡與 AMD FX 系列或 Intel i52000 系列處理器(最好是雙核或 4 核)
- 至少 4GB 的 RAM(推薦但不是必需的)
- 建議:通常建議使用硬件編碼器進行本地錄製,但不一定是流式傳輸。
視窗:
- DirectX 10.1 兼容 GPU
- Windows7 SP1 或更高版本
蘋果系統:
- 英特爾 CPU(不支持 PPC)
- OpenGL 3.2 兼容 GPU
- macOS 10.12 或更高版本
Linux / Unix
- OpenGL 3.2 兼容 GPU(在終端中運行 glxinfo | grep “OpenGL”)
- X窗口系統
在 Ubuntu 18.04 上安裝 OBS
讓我們從在 Ubuntu 18.04 上安裝 OBS 開始。
更新服務器
首先,您需要使用以下命令更新服務器包:
[email protected] [~]# apt update && apt -y upgrade
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected] [~]# /home/ellen#
安裝 FFMpeg
OBS 要求您安裝 FFmpeg 的實現(FFmpeg 是一組軟件庫,可以錄製、轉換和流式傳輸各種格式的音頻和視頻記錄)。首先,使用 -ffmpeg 命令的版本標誌來驗證您的系統上是否安裝了 FFmpeg。
[email protected] [~]# /home/ellen# ffmpeg -version
Command' ffmpeg' not found, but can be installed with:
apt install ffmpeg
[email protected] [~]# /home/ellen#
繼續並使用以下命令安裝 ffmpeg:
[email protected] [~]# /home/ellen# apt install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
i965-va-driver libaacs0 libass9 libavcodec57 libavdevice57 libavfilter6
libavformat57 libavresample3 libavutil55 libbdplus0 libbluray2 libbs2b0
libchromaprint1 libcrystalhd3 libdc1394-22 libflite1 libgme0 libgsm1
libmysofa0 libnorm1 libopenal-data libopenal1 libopenjp2-7 libopenmpt0
libpgm-5.2-0 libpostproc54 librubberband2 libsdl2-2.0-0 libshine3
libsnappy1v5 libsndio6.1 libsoxr0 libssh-gcrypt-4 libswresample2
libswscale4 libva-drm2 libva-x11-2 libva2 libvdpau1 libx264-152 libx265-146
libxvidcore4 libzmq5 libzvbi-common libzvbi0 mesa-va-drivers
mesa-vdpau-drivers va-driver-all vdpau-driver-all
Suggested packages:
ffmpeg-doc i965-va-driver-shaders libbluray-bdj firmware-crystalhd
libportaudio2 sndiod libvdpau-va-gl1 nvidia-vdpau-driver
nvidia-legacy-340xx-vdpau-driver
The following NEW packages will be installed:
ffmpeg i965-va-driver libaacs0 libass9 libavcodec57 libavdevice57
libavfilter6 libavformat57 libavresample3 libavutil55 libbdplus0 libbluray2
libbs2b0 libchromaprint1 libcrystalhd3 libdc1394-22 libflite1 libgme0
libgsm1 libmysofa0 libnorm1 libopenal-data libopenal1 libopenjp2-7
libopenmpt0 libpgm-5.2-0 libpostproc54 librubberband2 libsdl2-2.0-0
libshine3 libsnappy1v5 libsndio6.1 libsoxr0 libssh-gcrypt-4 libswresample2
libswscale4 libva-drm2 libva-x11-2 libva2 libvdpau1 libx264-152 libx265-146
libxvidcore4 libzmq5 libzvbi-common libzvbi0 mesa-va-drivers
mesa-vdpau-drivers va-driver-all vdpau-driver-all
0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
Need to get 32,3 MB of archives.
After this operation, 148 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Fetched 32,3 MB in 3s (9.663 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libva2:amd64.
(Reading database ... 157009 files and directories currently installed.)
Preparing to unpack .../00-libva2_2.1.0-3_amd64.deb ...
Setting up libpgm-5.2-0:amd64 (5.2.122~dfsg-2) ...
Setting up libx264-152:amd64 (2:0.152.2854+gite9a5903-2) ...
Setting up ffmpeg (7:3.4.6-0ubuntu0.18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
[email protected] [~]# /home/ellen#
現在讓我們使用帶有 -version 標誌的 ffmpeg 命令來驗證 ffmpeg 是否已安裝且可用。
[email protected] [~]# /home/ellen# ffmpeg -version
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[email protected] [~]# /home/ellen#
然後進行OBS安裝。首先,您需要添加相應的存儲庫並從中下載並安裝軟件。
[email protected] [~]# /home/ellen# add-apt-repository ppa:obsproject/obs-studio Latest stable release of OBS Studio
More info: https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 https://by.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 https://by.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 https://by.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic InRelease [15,9 kB]
Get:5 https://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:6 https://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic/main i386 Packages [904 B]
Get:7 https://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic/main amd64 Packages [904 B]
Get:8 https://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic/main Translation-en [160 B]
Fetched 107 kB in 1s (84,8 kB/s)
Reading package lists... Done
[email protected] [~]# /home/ellen#
將存儲庫添加到 Ubuntu 後,您需要更新包管理器以確保最新的包可用。
[email protected] [~]# /home/ellen# apt-get update
Hit:1 https://by.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 https://by.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 https://by.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic InRelease
Get:5 https://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Fetched 88,7 kB in 1s (76,6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
[email protected] [~]# /home/ellen#
安裝 OBS
您現在可以繼續進行 OBS 安裝。
[email protected] [~]# /home/ellen# apt install obs-studio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl4 libdouble-conversion1 libfdk-aac1 libluajit-5.1-2
libluajit-5.1-common libmbedcrypto1 libmbedtls10 libmbedx509-0 libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5
libqt5x11extras5 libqt5xml5 libxcb-xinerama0 qt5-gtk-platformtheme
qttranslations5-l10n
Suggested packages:
qt5-image-formats-plugins qtwayland5
The following NEW packages will be installed:
libcurl4 libdouble-conversion1 libfdk-aac1 libluajit-5.1-2
libluajit-5.1-common libmbedcrypto1 libmbedtls10 libmbedx509-0 libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5
libqt5x11extras5 libqt5xml5 libxcb-xinerama0 obs-studio
qt5-gtk-platformtheme qttranslations5-l10n
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 6.626 kB/14,4 MB of archives.
After this operation, 59,1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up obs-studio (25.0.8-0obsproject1~bionic) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
[email protected] [~]# /home/ellen#
在 Windows 10 上安裝 OBS
首先,前往OBS 網站 下載對應的 Windows x64 版本.. 您必須選擇完整版本來安裝 OBS 以及所有相關的庫和編解碼器。

下載後,運行 Windows 可執行文件開始安裝。按照安裝說明點擊 下一個 按鈕。

接受許可協議並單擊 下一個..

選擇安裝位置並單擊 安裝 按鈕。

安裝將繼續顯示進度。

出現最終安裝屏幕時,啟動軟件或[完了]您可以選擇通過單擊按鈕來完成設置。

在 MacOS Catalina 上安裝 OBS
macOS 上的安裝幾乎與 Windows 相同。我們先去OBS 網站選擇並下載 MacOS 版本。

下載完成後[インストールの開始]點擊按鈕

完成後,它將自動解壓縮並打開一個新框架。單擊工具欄底部的圖標開始安裝。

安裝程序將請求使用麥克風的權限,並為您提供必要的設置。

而已。現在已安裝 OBS。
結論是
在本教程中,您了解了 OBS 是什麼、它的工作原理以及如何在多個操作系統版本上安裝它。如您所見,OBS 是一款多功能流媒體軟件,也是最有用的視頻流媒體平台之一。
有問題嗎? 請致電 800.580.4985 或 聊天 或者,諮詢知識淵博的解決方案團隊或經驗豐富的託管顧問。