I have a path such as 'D:\Cycling - My Mountain Route.mp4'
how can I assign this path to OBS Media Source with websockets using PYTHON code ?
I tried this :
sourceName = 'Media Source'
Local_file = 'D:\Cycling - My Mountain Route.mp4'...
I've been working on this for the better part of a week but simply cannot find an elegant solution.
Ideally, AutoHotKey would solve my problems, or there's a "fancy" Python script available on the internets that would also suit my needs. But I'm a Mac guy, and AutoHotKey is not...
A program to allow OBS to be controlled by a MIDI device via obs-Websockets.
This has been written to provide basic functionality; scene switching, volume control and allow operation of the main controls such as recording, streaming and the virtual camera.
Written in Python 3.9, use OBS v28 or...
I've been working on a python script which is a countdown timer pretty much like the Advanced Scene Switcher, but with customised funcionality for myself.
The timer callback seems to work just fine, however when I try to set the scene from within the timer_callback function, the log...
Hi, I'm still quite new to scripting for OBS and I'm trying to make a timer for switching scenes for my own purposes in python, since it's the language I'm the most used to.
Inside my callback function for the timer, I added the obs.obs_frontend_set_current_scene(scene) which is causing OBS to...
I don't usually write programs or scripts which require memory management, so I have been looking at some scripts which has code like obs_data_get_array and later on they release the array using obs_data_array_release. When do I have to release references? When I am doing properties references...
I'm trying to use this script to implement multiple replay buffer timers, so you can get the last 1, 5 or 10 minutes of your current gameplay depending on how you configure it. The script run good at the beginning when obs is being just launched, however after some 10 minutes or so, the script...
So, this is a python script that will allow the user to have multiple timers that will trigger the scene item's (or "source's" as it's called in OBS) show / hide transitions. This is a pretty alpha version, so bugs may be present. The repeat timer was extensively tested by me to...
I want to write a python script, to get the text string from an existed GDI+ text source，and print this text string。
But i can't find a way or funtion to get the text string.Could somebody help me?
This is my first post here so sorry if I am not perfectly clear.
I try to create sources with a script, one for a webcam and a second for a rtsp video flux.
It can be in Lua or in Python if possible but it seem if I don't make a mistake that it was not possible in Python.
I have looked...
I have a problem with running a script in the OBS Studio
There is a "check_and_switch" function, and I want to call it every 3 seconds
When I call it in this way "check_and_switch()" - everything works properly (but the function is called once)
But when I write...
I have written a short script to post a live notification to my discord webhook when I start streaming. What bothers me is that this even happens when I activate the "bandwidth test mode" under Settings -> Stream -> Platform Twitch and hit "Start Streaming".
Is there a way to...
Hi, I would like to remap some keys from a second keyboard using python to use them as macro keys for other apps (mainly obs). I have the script mostly done, but I have a problem simulating a key press that is not used already, and that obs will actually like. As you can see below, I can either...
How it works:
When the 'Start recording' button is pressed a popup window appears on top of the screen showing you that OBS is recording, you can left-click and drag the window to position it.
This script was made using Python and tkinter library.
I’m new here so bare with me. I’m currently working on a project, but I’m no programmer. Is it possible for someone to make an OBS plugin that uses a speech-to-text generator to censor profanity within OBS (using about a 10 second delay).
I’m thinking this project might...