Obs for screen recording9/13/2023 ![]() Install the obs-websocket-py which is the Python tool for the plugin (you can do this using pip)įrom obswebsocket import obsws, events, requestsĬlient = obswebsocket.obsws("localhost", 4444, "") #Change this if you have a different name, port or passwordĬlient.call(()).I want to clarify some things in case anyone wants to do exacly what OP wanted. I made some tweaks to your Python example and it worked great! I saw your code on the OBS Forum as well and wanted to help here too. ![]() Python example: client = obswebsocket.obsws("localhost", 4444, "") Then use obs-cli ( ) or obswebsocket ( ).Ĭli example (under Windows os, beware of double quotes): obs-cli-win SetFilenameFormatting="" & ^ The obs-websocket plugin can get/set the pattern used by OBS to save recording files. I've managed to achieve this using obs-websocket and simple/dirty python script.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |