python

  1. 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...
  2. 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 >...
  3. 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.
  4. 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...
  5. 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.
  6. 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...
  7. 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...
  8. 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...
  9. 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: objsproject.com does not allow updates to Python scripts (understandably so) but the version...
Top