The Video Auto Splitter for LiveSplit allows scripts to automatically split, start, reset, and detect loading based on visual events from a video feed. Currently in beta.
Control
, and add the Video Auto Splitter
component.Unfortunately, because of how component settings are saved, the settings are tied to the layout file. This will be changed at a later date.
Creating a profile is very similar to creating a regular Auto Splitter script, but instead of monitoring memory values, it monitors regions of a video feed and compares it against an image, or in some cases, the previous frame, and returns a confidence value. The vas
file type is used to hold the game profiles contain three important parts: The structure, the script, and the images.
Before any of that can be made, the references the component will told to watch for must be found. The difficulty in finding reliable references varies greatly between games. Generally, big references that change abruptly to and/or from a compared image are the most reliable.
The same base screen reference must be used throughout making the profile. This is so users only need to align the screen with their video feed to have all the references automatically fit into place. Raw, high quality gameplay footage is recommended when extracting the reference images.
There's currently no interface to help structure a profile. At this time, if you would like help building one, ask in the #video-autosplitter channel in the Speedrun Tool Development Discord.
The instructions for creating a profile will be expanded on during beta.
Any and all help with development, be it with finding or squashing bugs or adding new features, would be greatly appreciated.
/LiveSplit/Components
folder of the above, create a clone of the VAS component: git clone https://github.com/ROMaster2/LiveSplit.VideoAutoSplit.git
Components/Control
folder, hover over Add, and select "Existing Project...". Go through the folders to /LiveSplit/Components/LiveSplit.VideoAutoSplit
and select LiveSplit.VideoAutoSplit.csproj
.You should now be able to debug and compile the component with LiveSplit.
Help and FAQs will be expanded on during beta. If you have problems with using the component, request help in the #video-autosplitter channel in the Speedrun Tool Development Discord.
Tools > Virtual Cam
.VirtualCam
filter to the Source of the game capture in OBS.AutoStart
so the virtual cam automatically starts with OBS.I've yet to find the root cause of this, but it's not the component's fault. If enough people run into this problem, I know who to contact help find the cause.
This program and its source code are under The MIT License (MIT).
The Accord binaries included in releases are under the GNU Lesser General Public License.
The Magick.NET binaries included in releases are under Apache License 2.0.
The MIT License (MIT)
Copyright (c) 2018 ROMaster2
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.