OBS Studio(通常简称为OBS )是目前最流行的直播应用程序(live streaming applications)之一。但是,将其用于流式传输或桌面录制的人们遇到的一个常见问题是黑屏捕获错误。
这是当您尝试捕获您的桌面、窗口或游戏应用程序时,唯一出现的是黑屏。
OBS黑屏捕获错误有几个原因,本文将向您展示如何解决每个问题。
确保选择了正确的 GPU
OBS Studio最常见的问题是当人们试图捕捉一个显示(capture a display)并且整个预览窗口是灰色或黑色时。然后,您的输出记录只是黑色视频。
无论您尝试进行Window Capture还是Display Capture都可能发生这种情况。这很可能发生在笔记本电脑上。
原因是笔记本电脑(尤其是游戏笔记本电脑)可以有两张游戏卡。一种主要用于渲染您的桌面和窗口,并且是唯一一种处于省电模式的。第二个是用于性能用途(如游戏)。
这允许笔记本电脑在省电模式下禁用更强大的显卡。这样做的问题是,如果您试图告诉OBS捕获您的显示器,它可能会捕获非活动显卡的输出。结果?OBS黑屏捕获错误。
要解决这个问题:
1. 选择开始(Start)菜单,输入设置(Settings),然后选择设置(Settings)应用程序。在设置菜单中,选择系统(System)。
2. 在左侧菜单中选择显示(Display),然后将右侧窗格滚动到多显示器(Multiple displays)部分并选择图形设置(Graphics settings)。
3. 在下一个窗口中,确保选择要设置首选项的应用程序(Choose an app to set preference)设置为桌面应用程序(Desktop app),然后选择浏览(Browse)。
4.浏览(Browse)至OBS应用程序,该应用程序应位于以下路径:C:\program files\obs-studio\bin\64bit\obs64.exe。将 C(Replace C) : 替换为您自己的主硬盘驱动器号。选择添加(Add)。
5. 一旦 OBS Studio添加到列表中,您将看到它出现在图形(Graphics)设置窗口中。选择选项(Options)按钮。
6. 您将看到图形首选项(Graphics preference)窗口出现。将设置更改为高性能(High performance),然后选择保存(Save)。
现在您已准备好再次尝试捕获Window或Display。请确保在重试之前关闭并重新启动OBS Studio 。
对于大多数人来说,这一技巧可以解决OBS黑屏捕获错误的大多数问题。
您正在尝试捕获 DRM Web 内容(Capture DRM Web Content)
人们犯的另一个常见错误是使用OBS Studio在(OBS Studio)Netflix桌面应用程序等应用程序上捕获受版权保护的电影。Netflix和其他流媒体网站上的大多数内容都受到数字版权管理(Digital Rights Management)( DRM ) 技术 的保护。
这些保护措施将阻止OBS等屏幕捕获应用程序录制该视频流。
如果您选择 Window Capture并选择Netflix桌面应用程序,OBS Studio将首先看起来可以正确捕获窗口内容。但是,一旦您按下播放键,电影开始播放,您会注意到OBS Studio预览窗口中的视频仅显示黑色视频。
这是嵌入到Netflix应用程序(或您正在使用的任何流媒体应用程序)中的功能。OBS Studio没有问题,您无法(或应该)采取任何措施来解决它。
您可以从其他应用程序启动视频流(例如在Chrome浏览器中播放)。OBS 可以从浏览器窗口(OBS can record videos from the browser window)或该显示器录制视频。但是,您仍然不应该这样做,因为使用OBS(OBS)录制受 DRM 保护的内容是非法的。
在Chrome中禁用硬件加速(Hardware Acceleration)
人们在遇到OBS黑屏捕获错误时遇到的另一个非常常见的问题是在尝试捕获任何使用硬件加速的窗口时。如果您在Firefox、Chrome或任何其他使用它的浏览器(或应用程序)上启用了硬件加速,OBS将显示黑屏。
这是一个让许多OBS用户感到沮丧的问题,但您至少有一个解决方法。您可以在尝试捕获该浏览器窗口时禁用硬件加速。
在 Chrome 中禁用硬件加速(Disable Hardware Acceleration in Chrome)
要在Chrome(Chrome)中禁用硬件加速:
1. 选择浏览器右上角的三个点打开菜单(Menu),选择设置(Settings)。
2. 向下滚动到系统(System)部分(如果需要,请选择高级),然后禁用使用硬件加速( (Advanced)Use hardware acceleration when available )右侧的切换。
3. 选择重新启动(Relaunch)以在没有硬件加速的情况下重新启动浏览器。
在 Firefox 中禁用硬件加速(Disable Hardware Acceleration in Firefox)
要在Firefox(Firefox)中禁用硬件加速:
1. 选择浏览器窗口右上角的菜单,然后选择选项(Options)。
2. 确保在左侧菜单中选择了常规。(General)向下滚动(Scroll)到性能部分,然后取消选中(Performance)使用推荐的性能设置(Use recommended performance settings)左侧的框。
3. 取消选中此框后,新设置将出现在其下方。取消选中“可用时使用硬件加速(Use hardware acceleration when available)”左侧的复选框。
最后,重新启动Firefox以在没有硬件加速的情况下打开它。
禁用 Windows 10 游戏模式
另一个可能破坏OBS屏幕视频捕获的Windows 10设置是(Windows 10)Windows 10游戏模式(Game Mode)。
此模式可能会导致OBS黑屏捕获错误,因为它会将所有显卡资源分配给您正在玩的当前游戏。这会从OBS中提取资源,并可能破坏视频捕获过程。
如果您的整个直播目标是向所有人展示您当前正在玩的游戏,(show everyone the game that you’re currently playing)这尤其会成为一个问题。
要禁用 Windows 10 游戏模式:
1. 启动设置(Settings)应用程序,然后选择游戏(Gaming)。
2.从左侧导航菜单中选择游戏模式(Game Mode),并禁用右侧游戏模式下的切换。(Game Mode)
在尝试重新启动游戏并开始实时流式传输或捕捉自己玩游戏的视频之前,重新启动Windows可能是个好主意。
使用游戏捕获(Use Game Capture)而不是窗口捕获(Window Capture)
另一个可以帮助优化游戏窗口的视频捕获以避免OBS黑屏捕获错误的快速提示是使用游戏捕获(Game Capture)功能而不是Windows或显示捕获(Display Capture)。
(OBS)当您选择游戏捕获(Game Capture)选项时, OBS会专门针对游戏优化窗口捕获。
去做这个:
1. 选择OBS中(OBS)Sources框底部的加号图标,然后选择Game Capture。
2. 在Create/Select Source窗口中,根据需要重命名游戏捕获的场景,然后选择确定(OK)。
3. 在下一个窗口中,使用Mode下拉菜单并选择Capture specific window。
4. 在窗口(Window)下拉列表中,选择具有您已启动并正在玩的游戏标题的窗口。
您应该在上面的小预览面板中看到游戏窗口的预览。如果一切看起来都不错,只需选择“确定(OK)”即可完成。
尝试以管理员身份运行(Administrator)OBS Studio
希望上述修复之一可以帮助您解决OBS黑屏捕获错误。如果没有,最后一种对某些用户有效的方法是简单地启动具有管理权限的 OBS 应用程序(launching the OBS application with administrative rights)。
为此,请选择开始(Start)菜单并键入OBS。右键单击OBS Studio (64bit)应用程序并选择Run as administrator。
尝试再次截屏,您将不再看到黑屏问题!
How to Fix an OBS Black Screen Capture Error
One of the most popular live streaming applications out there is OBS Studio (commonly just referred to as OBS). However, a common problem that people have who use it for either streaming or desktop recording is a black screen capture error.
This is when you attempt to capture either your desktop, window, or a gaming application, and the only thing that appears is a black screen.
There are a few causes for the OBS black screen capture error, and this article will show you how to fix each one.
Make Sure the Right GPU Is Selected
The most common problem with OBS Studio is when people try to capture a display and the entire preview window is either grey or black. Your output recording is then nothing but a black video.
This can happen whether you’re trying to take a Window Capture or a Display Capture. This is most likely to happen on a laptop.
The reason for this is because laptops (especially gaming laptops) can have two gaming cards. One is primarily to render your desktop and windows, and is the only one in power saving mode. The second is for performance use (like gaming).
This allows the laptop to disable the more powerful graphics card in power saving mode. The problem with this is that if you attempt to tell OBS to capture your display it could capture output from the inactive graphics card. The result? The OBS black screen capture error.
To fix this:
1. Select the Start menu, type Settings, and select the Settings app. In the settings menu, select System.
2. Select Display in the left menu, and then scroll the right pane to the Multiple displays section and select Graphics settings.
3. In the next window, ensure Choose an app to set preference is set to Desktop app, and then select Browse.
4. Browse to the OBS application, which should be in the path: C:\program files\obs-studio\bin\64bit\obs64.exe. Replace C: with your own primary hard drive letter. Select Add.
5. Once OBS Studio is added to the list, you’ll see it appear on the Graphics settings window. Select the Options button.
6. You’ll see a Graphics preference window appear. Change the setting to High performance, and select Save.
Now you’re ready to try capturing the Window or Display again. Make sure to close and restart OBS Studio before you try again.
For most people, this one tip fixes most issues with the OBS black screen capture error.
You’re Trying to Capture DRM Web Content
Another common mistake people make is using OBS Studio to capture copyright-protected movies on apps like the Netflix desktop app. Most content on Netflix and other streaming sites is protected by Digital Rights Management (DRM) technology.
These protective measures will block screen capture apps like OBS from recording that video stream.
If you select Window Capture and select the Netflix desktop app, OBS Studio will at first appear to correctly capture the window content just fine. However, once you press play and the movie starts, you’ll notice that the video in the OBS Studio preview window only shows a black video.
This is a feature embedded into the Netflix app (or whatever streaming app you’re using). It isn’t a problem with OBS Studio, and there’s nothing you can (or should) do to fix it.
You could launch the video stream from a different app (like playing it in a Chrome browser). OBS can record videos from the browser window or that display. However, you still shouldn’t do this because recording DRM-protected content with OBS is illegal.
Disable Hardware Acceleration in Chrome
Another very common issue people have when they come across the OBS black screen capture error is when attempting to capture any windows that use hardware acceleration. If you have hardware acceleration enabled on Firefox, Chrome, or any other browser (or app) that uses it, OBS will show a black screen.
This is an issue that frustrates many OBS users, but you do at least have a workaround. You can disable hardware acceleration while trying to capture that browser window.
Disable Hardware Acceleration in Chrome
To disable hardware acceleration in Chrome:
1. Select the three dots at the upper right corner of the browser to open the Menu, and select Settings.
2. Scroll down to the System section (select Advanced if you need to), and disable the toggle to the right of Use hardware acceleration when available.
3. Select Relaunch to restart the browser without hardware acceleration.
Disable Hardware Acceleration in Firefox
To disable hardware acceleration in Firefox:
1. Select the menu at the top right corner of the browser window and select Options.
2. Make sure General is selected on the left menu. Scroll down to the Performance section, and uncheck the box to the left of Use recommended performance settings.
3. Once you unselect this box, new settings will appear below it. Deselect the checkbox to the left of Use hardware acceleration when available.
Finally, restart Firefox to open it without hardware acceleration.
Disable Windows 10 Game Mode
Another Windows 10 setting that can disrupt OBS screen video capture is Windows 10 Game Mode.
This mode can cause the OBS black screen capture error as it allocates all the graphics card’s resources to the current game that you’re playing. This pulls resources away from OBS and can disrupt the video capture process.
This is especially a problem if your entire goal of live streaming is to show everyone the game that you’re currently playing.
To disable Windows 10 Game Mode:
1. Launch the Settings app, and select Gaming.
2. Select Game Mode from the left navigation menu, and disable the toggle under Game Mode on the right.
It may be a good idea to restart Windows before attempting to relaunch your game and start live streaming or capturing a video of yourself playing it.
Use Game Capture Instead of Window Capture
Another quick tip that can help with optimizing video capture of gaming windows to avoid the OBS black screen capture error is using the Game Capture feature instead of Windows or Display Capture.
OBS optimizes window capture specifically for gaming when you choose the Game Capture option.
To do this:
1. Select the plus icon at the bottom of the Sources box in OBS and choose Game Capture.
2. In the Create/Select Source window, rename the scene for the game capture if you wish, and then select OK.
3. In the next window, use the Mode dropdown and select Capture specific window.
4. In the Window dropdown, select the window that has the title of the game you’ve launched and are playing.
You should see a preview of the game window in the small preview panel above. If everything looks good, just select OK to finish.
Try Running OBS Studio as Administrator
Hopefully, one of the fixes above helped you resolve the OBS black screen capture error. If it didn’t, one last method that has worked for some users is simply launching the OBS application with administrative rights.
To do this, select the Start menu and type OBS. Right-click the OBS Studio (64bit) application and select Run as administrator.
Attempt to take your screen capture again and you won’t see the black screen issue anymore!