问题标签 [obs-studio]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
95 浏览

video-streaming - 如何在两台计算机上没有 OBS Studio 的情况下流式传输视频,一台只是 Firefox?

这在过去对我有用,我只是丢失了教程的链接。

我想做的事:

  1. 在笔记本电脑上运行 OBS Studio
  2. 从视频开始流式传输
  3. 在网络中的第二台计算机上打开 Firefox
  4. 输入 IP 地址
  5. 看视频

有没有关于如何做到这一点的教程?

0 投票
0 回答
112 浏览

c++ - 无法使用自定义 libobs 构建 32 位 obs-studio-node

我可以64bit obs-studio-node用自定义构建OSN_LIBOBS_URL

但我无法32bit obs-studio-node使用自定义构建32bit OSN_LIBOBS_URL 我遵循以下步骤

首先,我32bit libobs使用步骤构建

  1. git clone --recursive https://github.com/stream-labs/obs-studio
  2. cd obs-studio
  3. mkdir build32
  4. cmake -G "Visual Studio 16 2019" -A Win32 -S . -B build32 -DDepsPath=C:\Users\alokm\Downloads\dependencies2019\win32 -DCMAKE_CONFIGURATION_TYPES=Release -DENABLE_UI=false -DENABLE_SCRIPTING=false
  5. cmake --build build32 --config Release
  6. cd .\build32\
  7. cpack -G TGZ 我已经obs-studio/build32/obs-studio-x86-26.4.9-modified.tar.gz生成了

我用这个生成libobs的建筑obs-studio-node

  1. git clone https://github.com/stream-labs/obs-studio-node
  2. cd obs-studio-node
  3. mkdir build32
  4. cmake -G"Visual Studio 16 2019" -A Win32 -DOSN_LIBOBS_URL="C:/Users/alokm/tmp/streamlabs/obs-studio/build32/obs-studio-x86-26.4.9-modified.tar.gz" -B build32
  5. cmake --build build32 --config Release此步骤给出链接器错误

在 32 位构建的情况下我缺少什么?

0 投票
0 回答
161 浏览

linux - 错误 Linux Mint“检查工作 C 编译器:/usr/bin/cc”

我想在带有 obs studio 的 linux 上使用虚拟相机。我看到这个包https://github.com/CatxFish/obs-v4l2sink 我跑了 sudo apt install qtbase5-dev sudo apt install libobs-dev git clone --recursive https://github.com/obsproject/obs-studio.git git clone https://github.com/CatxFish/obs-v4l2sink.git cd obs-v4l2sink mkdir build && cd build cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..

当我运行时cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr .. 出现错误 `-- C 编译器标识是 GNU 9.3.0 -- CXX 编译器标识未知 -- 检查工作 C 编译器:/usr/bin/cc -- 检查工作 C 编译器:/usr /bin/cc -- /usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message): C 编译器处的 CMake 错误

无法编译简单的测试程序。

它失败并显示以下输出:

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)

CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred! See also "/home/arp/obs-v4l2sink/build/CMakeFiles/CMakeOutput.log". See also "/home/arp/obs-v4l2sink/build/CMakeFiles/CMakeError.log".

我看过一些文章。但没有任何改变。

任何人都可以帮助我吗?

0 投票
1 回答
300 浏览

raspbian-buster - obs-studio 在 Raspbain Buster 上构建失败

5.10.52-v7l+在 Raspberry pi 4B 8GB 上使用 Raspbian buster。

构建 obs-studio 失败: CMake错误plugins/linux-capture/CMakeLists.txt:53 (message): PipeWire library not found! Please install PipeWire or set ENABLE_PIPEWIRE=OFF

Raspbian Buster 安装了 pipewire 版本为 0.2.5-1 bbs-studio 构建失败需要 pipewire0.3。

从源头构建管道线失败

/spa/plugins/libcamera/libcamera_wrapper.cpp:52:10: fatal error: libcamera/framebuffer.h: No such file or directory #include <libcamera/framebuffer.h>

有没有解决办法。升级操作系统版本。换操作系统?谢谢。

0 投票
0 回答
15 浏览

ubuntu - OBS工作室黑屏

Ubuntu 20.04.3 LTS 上的 OBS 27.1.3。

在录制时,有时我会在录制过程中遇到“黑屏”——黑屏窗口圈用那种黑度代替了我录制的视频和声音。

我确实尝试/etc/gdm3/custom.conf (WaylandEnable=false)过 - 它没有帮助。

知道它可能是什么以及如何解决它吗?

0 投票
0 回答
39 浏览

ubuntu - 无法在 ubuntu 20.04 上使用 Webcamoid 和 OBS Studio 将虚拟相机输入 Android 模拟器

我正在尝试使用 Webcamoid 的虚拟相机将录制的视频输入 Android 模拟器。我正在使用网络摄像头 8.6.1。我也尝试过使用 OBS Studio [1]。我可以在 Zoom 等软件中看到虚拟摄像头画面,但安卓模拟器似乎找不到虚拟摄像头。

这是我从以下命令获得的输出。

vc1是在 Webcamoid 中创建的。我期待它或 OBS Studio 创建的那个显示为webcam1webcam2

0 投票
0 回答
10 浏览

macros - 如果程序标题有一些“单词”,我如何在这种情况下切换 OBS 中的场景

如果程序标题有一些“单词”,我如何在这种情况下切换 OBS 中的场景

如果我打开的程序标题有一些“WORD”,我想在 OBS 中切换场景。

就像我们有时在 JS 中使用这个条件一样。

总而言之,我想根据标签标题文本/单词为不同的 chrome 标签使用不同的场景。

我看到了最可靠的具有高级功能的场景切换插件,即 Advanced Scene Switcher 1.17.4 " 在此处输入图像描述"

这在 OBS Studio 中切换场景的不同条件下有太多功能,但是我的查询有些不同,如果我打开的程序(Chrome TAB 标题)标题有一些“WORD”,我想在 OBS 中切换场景。

在此处输入图像描述

是否有任何宏或脚本可以完成我的工作。请建议