I have OBS working for recording by push HotKeys to stop and start on a WINDOWS 10 system.
Wanted to automate for timed recording.
Found this thread: https://obsproject.com/forum/threads/timed-recordings-on-obs.99727/#post-517690.
I have done the following from that thread:
1. firstly install the "obs-websocket plugin": https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/
2. then install this pluggin "Command line tool for obs-websocket plugin" : https://obsproject.com/forum/resources/command-line-tool-for-obs-websocket-plugin.615/
3. Then open up the command line using shift + right click at the OBSCommand directory, then type "OBSCommand.exe /startrecording" (to start record), and "OBSCommand.exe /stoprecording (for stop record) "
This last step has me completely stumped.
Running this batch file from in the CMD window starts the recording but it never gets to the TIMEOUT. Clicking on "StopRecording" in OBS allows TIMEOUT to run.
obs64.exe --startrecording
TIMEOUT 10
obs64.exe --stoprecording
Running this batch file from in the CMD window never starts OBS. Tried changing --startrecording to /startrecording, no difference
C:\OBSCommand\OBSCommand.exe --startrecording
TIMEOUT 10
C:\OBSCommand\OBSCommand.exe --stoprecording
I have no experience with websockets.
I will be very grateful for any help anyone may be able to provide.
Thanks in advance.
Herb
Wanted to automate for timed recording.
Found this thread: https://obsproject.com/forum/threads/timed-recordings-on-obs.99727/#post-517690.
I have done the following from that thread:
1. firstly install the "obs-websocket plugin": https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/
2. then install this pluggin "Command line tool for obs-websocket plugin" : https://obsproject.com/forum/resources/command-line-tool-for-obs-websocket-plugin.615/
3. Then open up the command line using shift + right click at the OBSCommand directory, then type "OBSCommand.exe /startrecording" (to start record), and "OBSCommand.exe /stoprecording (for stop record) "
This last step has me completely stumped.
Running this batch file from in the CMD window starts the recording but it never gets to the TIMEOUT. Clicking on "StopRecording" in OBS allows TIMEOUT to run.
obs64.exe --startrecording
TIMEOUT 10
obs64.exe --stoprecording
Running this batch file from in the CMD window never starts OBS. Tried changing --startrecording to /startrecording, no difference
C:\OBSCommand\OBSCommand.exe --startrecording
TIMEOUT 10
C:\OBSCommand\OBSCommand.exe --stoprecording
I have no experience with websockets.
I will be very grateful for any help anyone may be able to provide.
Thanks in advance.
Herb