Cut videos based on your gameplay!
Usage
- Install FFmpeg
- Install OBS
- Open OBS
- In OBS, go to Tools -> WebSocket Server Settings
- Enable web server
- Under Tools -> WebSocket Server Settings, go to Connection Information and copy the password
- In game, run
/autocut connect <password here>
- Start Recording in OBS
- Do fun gameplay stuff
- Stop Recording in OBS
- (optional) Delete clips you don't want (see the wiki)
- Run
/autocut finish
- When it's finished a new video starting with
cut
will be in your recordings folder.
You can also optionally run /autocut finish "path/to/database"
to cut an old video. This will fail if the original video is moved or deleted.
Dependencies
Licensing
...is a mess.
TLDR
Modpacks
You can use this mod in a modpack! Don't re-host the file without permission though. I'd love a mention somewhere for bragging rights.
Videos
You can use this mod to make videos! I'd love a mention somewhere in a description or something so I can have bragging rights.
Programming
You can use and reference all the code in the GitHub repo under MIT.
What's actually going on
Autocut is licensed under MIT, but the JAR file includes several dependencies:
- OBS WebSocket Java is under MIT.
- SQLite JDBC Driver is dual licensed (GPL and Apache) - I used it under Apache.
- It includes a NOTICE
- This is why there's a NOTICE file
- This is why there's a LICENSE.zentus file (it's mentioned in the NOTICE)
- FFmpeg CLI Wrapper for Java is licensed under BSD 2-Clause "Simplified"
- This is why there's a LICENSE.bramp file
It also requires a few other things, which are NOT included in the jar
- FFmpeg is used under LGPL
- This is why there's a LICENSE.lgpl
- This is why there's a LICENSE.gpl (required by lgpl)
- Fabric API is used under Apache 2.0
- Fabric Loader is used under Apache 2.0
- YACL is used under LGPL 3.0 or greater
- Covered by the LICENSE.lgpl and LICENSE.gpl from FFmpeg
- Mod Menu is used under MIT