Hi....
I was wondering if someone could tell me how OBS Studio on MS Windows constructs the values for video_device_id and last_video_device_id in the scene .JSON file?
I'm not an expert programmer, but I have tried trawling through the code, but I can't seem to find how/where OBS Studio gets all of the pieces of information it uses to generate these values.
What I am trying to do is use OBS Studio to stream lectures and presentations from different locations and different PCs in the college where I work.
Ideally I would like to be able to show up before one of these lectures/presentations, plug in a webcam and a mic and use a script (.bat or powershell) to update a preexisting scene.json file with the video_device_id of whatever camera is connected, and then run OBS Studio in portable mode using that scene.
I can get much of the data via a query for PNPDeviceID in PowerShell Get-WmiObject, but I'm having trouble figuring out where the rest of the data in video_device_id comes from.
Hope what I'm doing makes sense....
Thanks in advance.
Chris.
I was wondering if someone could tell me how OBS Studio on MS Windows constructs the values for video_device_id and last_video_device_id in the scene .JSON file?
I'm not an expert programmer, but I have tried trawling through the code, but I can't seem to find how/where OBS Studio gets all of the pieces of information it uses to generate these values.
What I am trying to do is use OBS Studio to stream lectures and presentations from different locations and different PCs in the college where I work.
Ideally I would like to be able to show up before one of these lectures/presentations, plug in a webcam and a mic and use a script (.bat or powershell) to update a preexisting scene.json file with the video_device_id of whatever camera is connected, and then run OBS Studio in portable mode using that scene.
I can get much of the data via a query for PNPDeviceID in PowerShell Get-WmiObject, but I'm having trouble figuring out where the rest of the data in video_device_id comes from.
Hope what I'm doing makes sense....
Thanks in advance.
Chris.