tanoysinha
New Member
Brand new to OBS, not brand new to development.
I'd like to develop something that will help speedrunners (www.speedrunslive.com) log splits for their world record runs.
Currently, when people are speed running (trying to beat a video game as quickly as possible), they use programs like wsplit or Llanfair to record their progress against a world record time. Whenever the speed runner gets to a milestone in their game, say beating a boss or acquiring an item, they hit a button that causes the timer program to record a "split". The "split" is allows the runner, and anyone watching, to track the runner's progress compared to the world record time (or a personal best time).
I think it might be possible to automate the process of logging a split. Most split timings occur right around when a video game fades to black. It's fairly straightforward to register a still image to a fully black image and throw an event if the similarity between the two images is high enough. Using that approach, it might be possible to create a plugin that periodically registers the image on an OBS scene and throws an event if it sees that the image is fully black.
I'm just now starting the browse the source and determine if this is possible. Does anyone have any thoughts on a particular approach to achieving automated splits? Does the API support requesting the raw pixels of a given scene? Is there any documentation on starting a plugin using the API, or on the codebase at large that might help me out?
Thanks in advance!!
Tanoy
I'd like to develop something that will help speedrunners (www.speedrunslive.com) log splits for their world record runs.
Currently, when people are speed running (trying to beat a video game as quickly as possible), they use programs like wsplit or Llanfair to record their progress against a world record time. Whenever the speed runner gets to a milestone in their game, say beating a boss or acquiring an item, they hit a button that causes the timer program to record a "split". The "split" is allows the runner, and anyone watching, to track the runner's progress compared to the world record time (or a personal best time).
I think it might be possible to automate the process of logging a split. Most split timings occur right around when a video game fades to black. It's fairly straightforward to register a still image to a fully black image and throw an event if the similarity between the two images is high enough. Using that approach, it might be possible to create a plugin that periodically registers the image on an OBS scene and throws an event if it sees that the image is fully black.
I'm just now starting the browse the source and determine if this is possible. Does anyone have any thoughts on a particular approach to achieving automated splits? Does the API support requesting the raw pixels of a given scene? Is there any documentation on starting a plugin using the API, or on the codebase at large that might help me out?
Thanks in advance!!
Tanoy