1. A

    Question / Help Create callback in python script to use in "obs_source_enum_filters"

    Hi I'm trying to list filters on a source in a python script I'm working on, but i can't figure out how to get the callback working in: obs_source_enum_filters(obs_source_t *source, obs_source_enum_proc_t callback, void *param) I get this error: TypeError: in method 'obs_source_enum_filters'...
  2. Steve Seguin

    Non-OBS Script Online Color Correcting LUT maker 2019.10.25

    Using the provided free web tool, and freely obtainable Color Samples (via a local paint shop), you can create Colour Correcting LUTs for OBS. Works with any camera. I also provided a video walk-thru on how to use the software and created LUTs. The software is free and open-source, so I welcome...
  3. LeonidMurashov

    Python plugin: getting recording file path?

    I can't find any information about how to get final ".mp4" file path. I know that it should look like that "D:/videos/%CCYY-%MM-%DD %hh-%mm-%ss.mp4" for me. But is there any opportunity to get this info from code? I found something similar for replay buffers. It calls "get_last_replay" from...
  4. S

    Free Now playing via (NPviaLFM) 2020-07-09

    Hey. This is my first little console Python application that simply receives the track information that is currently playing on your profile, and writes the title, album and artist of the track to the text file. I haven't found alternative for it, so did it for you ♥♥♥ There is little...
  5. G

    There is a way to create a python script that positions sources on the screen?

    Hi, I'm Germano Carella, from Italy. I'm a visually empaired person that uses OBS studio to create videos. So, I have a problem by positioning sources on the screen with screen reader and keyboard. I set 2 video sources on the scene. Second video source covers the first on screen, and to...
  6. F

    script:python script “signal_handler_disconnect” does not work correctly

    Hey buddy, I am currently writing a python script for obs studio. One of the functions is to get the name of the currently scene when OBS Studio switches the scene. By referring to the documentation and some examples of python scripts, I can usel the following code to implement my...
  7. Korwin

    Python script and vec2 struct

    Hello, I'm tring to write python script that would move one of the sources somehow. For this I'm tring to utilize obs.obs_sceneitem_set_pos The problem is that it require "const struct vec2 *pos " as a second parameter. I tried to pass tuples, arrays, classes and always get: --------------...
  8. D

    Question / Help How to immediately delete last recording and where is the pause feature and shortcuts?

    Hi, I need help for basic features that I miss in OBS I am doing a lot of takes (recordings of the same scene) for some review videos and often I do mistakes and want to immediately delete the last take and re-record a new one. It is very time consuming to always open up the recording folder...
  9. SpyderHunter03

    Question / Help OBS 23 Python Crash

    I am not able to get python run appropriately for scripting. Every time I set the python directory I get OBS to crash. I have OBS installed on a drive different than C: (It is installed on G: drive), but I installed Python on both the C: drive AND...
  10. Z

    Question / Help Stream video from OpenCV into OBS

    Hi, Can anyone help me with streaming video from OpenCV (using Python or C) into OBS? I've had a look at the docs but I they're rather bewildering to a new OBS user, and I can't find any similar examples. I think I need to use obs_source_draw() using the frame data I have but I'm not sure how...
  11. M

    Bug Report "Fatal Python error" crash on startup

    This happens every time I run OBS, regardless of whether I clean install it (deleting both obs-studio folders first) or run it from Safe Mode. I'm 95% sure the crash has to do with the following error message, which prints in a terminal window when you run the "obs" executable from Contents >...
  12. A

    Bug Report Python scripting don't work on OBS 22.0.3

    Is python scripts currently supported in the latest version of OBS (22.0.3) on macOS? I'm trying to load a script, but unable to get any output in console. I've tried setting python path to /usr/local/Cellar/python/3.6.5 but nothing have changed, still no output.
  13. M

    Bug Report OBS crashing on every startup (Fatal Python error)

    This is with a fresh install, too - after it happened, I deleted both the OBS app and the obs-studio folders from the Application Support folders (in username/Library/ and Macintosh HD/Library/) and reinstalled using the Mac installer currently on the website, but to no avail. Help would be much...
  14. N

    How to grab a frame and save it with OpenCV in a Python Script?

    What API calls should I use? also how can I save it with OpenCV. Thanks in advance.
  15. P

    Non-OBS Script Kill-Counter 1

    A little AutoHotkey + Python (3) script for displaying a kill counter (odometer style) in OBS, or possibly other applications. What it does: When you activate the hotkeys (Indicated in the .AHK file), it will either incriment, decriment, or reset (only the match kills) for the included data...
  16. E

    Question / Help Simulated Keypresses Do Not Activate Hotkey Actions

    Hey, I'm trying to use the Pynput library to simulate keypresses to activate a scene transition. When I use the key manually, it works correctly, but when I trigger the script, I will see the result of the simulated keypress, but the transition remains untriggered. A better understanding of the...
  17. D

    [Python] How do I use the various obs_enum_*() functions?

    I'm trying to write a scene switcher/controller script in Python that would integrate with my overlay control panel. Unfortunately, I'm stuck right out of the gate because I can't figure out the syntax for calling obs_enum_transition_types() or any of its function family, specifically passing...
  18. A

    OBS Python Automatic ffmpeg re-encoding (Good for learning Python API) 0.1

    Automatically convert your videos using ffmpeg when they're finished recording. Specify custom flags and renaming with regular expressions. Uses the ffmpeg version found in the system path. NOTE: does not allow updates to Python scripts (understandably so) but the version...