script

  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. F

    Hotkeys with Lua script

    Hello! I want to write a script that will write an increasing value to a file. The script code is in the attachments. It works, but the hotkey works twice. When a hot key is pressed once, the value 2 will be written to the file, not 1. Where did I make a mistake?
  3. D

    Auto Scene Script (For Live DJ Streams)

    Hi Is there a way or a script, which would allow transitions between scenes automatically. Main reason is for doing DJing videos and looking for a way where I would have a setup of a few cameras. 1 camera for each scene. But I want to transition between the cameras automatically based on a...
  4. S

    Question / Help Need urgent help with command line

    I see there are documentation about how to use command line and I am super confused. My requirement is open OBS and start streaming. I have tried this plugin, and when I hit OBSCommand.exe /startstream I am getting just Error:Timeout in output...
  5. G

    Question / Help Switching scenes by following the current (active) windows

    Hello everyone, I teach code courses and I need to change scenes frequently in OBS: every time I switch to one of the two windows I want to show to my students. I started by defining keyboard shortcuts, but it's very quickly painful (I change windows every 1-2 minutes) and I sometimes forget to...
  6. N

    Python Script freeze video while execute

    Hi, I'm creating a script to add a "Now Playing" from VLC video source. It basicaly get the pid of the obs proccess, get all files used by it, and filter the file type. Once I get the file I read the metadata(title) and set this result into a text source. This procedure works just fine, but, it...
  7. 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...
  8. 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...
  9. A

    Question / Help I need a script for OBS

    Hi, is there a way to schedule OBS to start recording my browser, for example after x hours and x minutes.. Please advise! Thanks
  10. CaptainSteamFox

    Non-OBS Script grab-song

    CaptainSteamFox submitted a new resource: grab-song - BASH script for grabbing the song info and album art from any MPRIS enabled media players! Read more about this resource...
Top