Questions tagged [obs]

OBS (Open Broadcaster Software), is a software package designed for video recording and live streaming, supporting a limited version of HLSL for implementing custom pixel shaders. GENERAL OBS SUPPORT IS OFF-TOPIC. QUESTIONS NEED TO BE PROGRAMMING RELATED. Question about the usage of OBS may be asked on https://superuser.com.

OBS, short for open broadcaster software, is free and open source software for video recording and live streaming. It supports a limited version of HLSL allowing users to write their own effects as pixel shaders.

Useful links

135 questions
0
votes
0 answers

Application build with CMake using OBS pre-compiled binaries (Windows/Ubuntu)

I am trying to create an external control application in C/C++ to drive OBS in real-time. I am finding a lot of information about developing for OBS but I have a hard time to differentiate between developing for OBS (say core) where apparently a…
Morph
  • 144
  • 4
0
votes
0 answers

How to handle the volume of a source with obs-studio-node lib

The initial volume is set to 1. After setting it to 0, I can't get it back to 1 despite all my trials. I also would like to modulate the volume with intermediate levels but it only goes to 0 when I try. // example console.log(item.source.volume) //…
0
votes
1 answer

Send OpenCV frames to OBS Studio

I would like to send processed frames in OpenCV format from my python script to OBS Studio for display. I've tried to use the Flask method outlined here and add the generated webpage to OBS as "Browser", but it was buggy and slow when used from…
bozolino
  • 11
  • 2
0
votes
1 answer

How to get current recording time in OBS Lua script?

What is the method to get the current recording duration? I have the following script, but couldn't find the way to get current record time: obs = obslua function log_to_file(message) local file = io.open("obs_script_log.txt", "a") if file…
Tar
  • 8,529
  • 9
  • 56
  • 127
0
votes
0 answers

OBS Studio StreamFX cmake build missing OBS::libobs how do I connect it to this library?

I have been working on compiling from source on my linux debian computer and I can't seem to get past this one last error. I am slightly confused by how to find out where the path is looking and if anyone knows how to help I would greatly appreciate…
0
votes
1 answer

Attempt at making a Displacement Filter

So, basically, I'm trying to make a OBS Filter that displaces the pixels based on a lightmap/luminance map. I decided to learn how to make a filter by following this tutorial. But, in this tutorial, they don't explain much in terms of pixel…
OliCo
  • 3
  • 2
0
votes
0 answers

Change OBS Filename before replay buffer is saved using obspython

I am writing an OBS python script to add your current active window to the filename formatting before saving with replay buffer. So far, I've gotten it to update the active window name in the filename, but it's updating the filename after I press…
bocodes
  • 387
  • 1
  • 4
  • 12
0
votes
0 answers

OBS Studio crashing when using a python script keylogger

I made a short python script that logs pressed keys into a csv file when recording my screen with OBS Studio. Problem is, the script works fine on Ubuntu but not on windows and I can't understand why. On Windows, I can load the script in OBS and…
caldera
  • 1
  • 1
0
votes
0 answers

How can I change the output resolution of OBS?

I create a virtual cam using the pyvirtualcam library, but I cant change the output resolution. It is always 1920x1080. If I create a virtual camera and set its resolution like this it will resize the image to fit in…
licerer
  • 13
  • 3
0
votes
1 answer

Why might there be this error in my OBS websocket?

Just doing the basic obs WebSocket examples I've found. In the OBS client it looks like it briefly connects but then they all end up with this error: Exception has occurred: KeyError 'status' File "obswebsocket_tests.py", line 3, in
0
votes
1 answer

Yolo V7 | Obs Virtual Camera Shows Only Single Frame

I'm making a project using yolo v7. Im using Obs as virtual cam for yolo v7 The input for obs is specific app / game screen This is the Terminal line I wrote it. py .\yolov7\detect.py --weights .\yolov7-tiny.pt --source 0 --conf-thres 0.2…
0
votes
1 answer

How to find OBS Studio recording where the recording was paused and resumed programmatically?

I would like to programmatically find where the video was paused and resumed during the entire recording. I have a screen recording by OBS studio which is over 7 hours and it has many pause and resume. So I want to programmatically find times /…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
0
votes
2 answers

OBS crashes when set_current_scene function called within a timer callback (Python scripting)

scenes = obs.obs_frontend_get_scenes() def script_load(settings): obs.obs_frontend_add_event_callback(onevent) def script_update(settings): global trigger, s_minutes, s_seconds, ending, e_minutes, e_seconds trigger =…
Zachary
  • 43
  • 5
0
votes
0 answers

How to capture game using OBS graphics-hook in C++?

I'm trying to take a screenshot of a game (with window) in C++, but I couldn't get any other image than the black screen, even though I tried all the methods here. This game is captured without any problems in the OBS game capture tool. (Note: black…
0
votes
0 answers

OBS Python script cannot find module error (OBS snap Linux edition)

I use OBS Studio 27.1.3-modified snap version in Manjaro Linux and it works normally for everything, except the python scripts I try to add. The first lines of the python script are: import obspython as obs import pywinctl as pwc # version…
Slander
  • 225
  • 2
  • 13
1 2 3
8 9