https://github.com/wiibleyde/randomobscam
RandomOBSCam is a python program that automates camera changes.
https://github.com/wiibleyde/randomobscam
camera flask obs python
Last synced: 3 months ago
JSON representation
RandomOBSCam is a python program that automates camera changes.
- Host: GitHub
- URL: https://github.com/wiibleyde/randomobscam
- Owner: Wiibleyde
- Created: 2022-08-20T11:53:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T17:38:18.000Z (over 2 years ago)
- Last Synced: 2025-08-16T17:44:44.327Z (11 months ago)
- Topics: camera, flask, obs, python
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RandomOBSCam
    
This is a simple script to automatically switch between scenes in OBS Studio.
## How to use
1. Start OBS Studio
2. Start the script
3. Fill the config file with the ip, port and password of your OBS Studio
4. Start the script again
And that's it. The script will now automatically switch between the scenes with specific names.
You can control the script with the following link:
- [http://localhost:5000](http://localhost:5000), if you want to control the script on the same computer.
## Cam names
The script will only switch between scenes with the following names:
- Scene scenes : name contains "SCE"
- Public scenes : name contains "PUB"
- Piano scenes : name contains "PIA"
## Config file
The config file is a simple json file with the following structure:
```json
{
"minTime": 5,
"maxTime": 10,
"ip": "127.0.0.1",
"port": 4455,
"password": "password"
}
```
- minTime : minimum time in seconds between two scene switches
- maxTime : maximum time in seconds between two scene switches
- ip : ip of the computer running OBS Studio websocket
- port : port of the OBS Studio websocket
- password : password of the OBS Studio websocket
## How to install