Question / Help How does OBS assign display numbers?

rgabry_eze

New Member
Hi all,

I'm using OBS within a different software product, and trying to get OBS to dynamically record the monitor that the software is running on.

The issue we're coming across is that we can't tell how OBS determines which monitor is which number, because it doesn't seem to match the windows identification.

For example, I have 3 monitors, set as follows in windows display:
Display 1
Display 2 (Primary Monitor)
Display 3

However, in OBS the displays are numbered as follows:
Windows Display 1 = OBS Display 2
Windows Display 2 = OBS Display 1 (Primary Monitor)
Windows Display 3 = OBS Display 3

I'ts clear that the Primary Monitor is always OBS "Display 1", but does anyone know how the other monitors are mapped from the windows # to the OBS #?

Thank you!
Raya
 
I'm fairly certain it's controlled by the OS/GPU.

I run a 3 screen set-up too & use Display 2 for my OBS Display Captures. To make sure I don't have to switch my source Display, I always power up my PC with just Display 1 & 2 on, after I sign in I power up Display 3 & they are always mapped the way I want them.
 
Thanks for the info! Unfortunately for our situation we won't be able to control how users set up their monitors when they start our application. Hoping there's some programmatic way of figuring out which display # I need to put in the OBS config file.
 
Finding a way to assign a monitor number would save me half an hour several days a week! I basicallyhave to shut down all my apps and start them up again in the hopes OBS sees the correct screen as the one that is my source.

Anyone got any good ideas?
 
Back
Top