← Назад к ресурсам

Autocut

Automatically cut videos based on your gameplay

Modrinth utility

Описание

Cut videos based on your gameplay! ## Usage 1. Install [FFmpeg](https://ffmpeg.org/download.html) 2. Install [OBS](https://obsproject.com/download) 3. Open OBS 4. In OBS, go to Tools -> WebSocket Server Settings 5. Enable web server 6. Under Tools -> WebSocket Server Settings, go to Connection Information and copy the password 7. In game, run `/autocut connect ` 8. Start Recording in OBS 9. Do fun gameplay stuff 10. Stop Recording in OBS 11. (optional) Delete clips you don't want (see the [wiki](https://github.com/skycatminepokie/autocut/wiki/Database-structure)) 12. Run `/autocut finish` 13. 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 - Includes [OBS WebSocket Java](https://github.com/obs-websocket-community-projects/obs-websocket-java), used under [MIT](https://github.com/obs-websocket-community-projects/obs-websocket-java/blob/develop/LICENSE) - Includes [SQLite JDBC Driver](https://github.com/xerial/sqlite-jdbc), used under [Apache 2.0](https://github.com/xerial/sqlite-jdbc/blob/master/LICENSE) - SQLite JDBC Driver also includes software by David Crawshaw under [BSD 2-Clause](https://github.com/xerial/sqlite-jdbc/blob/master/LICENSE.zentus) - The NOTICE file is both available in the sources and in the mod itself - Includes [FFmpeg CLI Wrapper for Java](https://github.com/bramp/ffmpeg-cli-wrapper), used under [BSD 2-Clause "Simplified"](https://github.com/bramp/ffmpeg-cli-wrapper/blob/master/LICENCE) - Requires [FFmpeg](https://ffmpeg.org), used under [LGPL v2.1+](https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/LICENSE.md) - Requires [Fabric API](https://modrinth.com/mod/fabric-api), used under [Apache 2.0](https://github.com/FabricMC/fabric/blob/1.21.1/LICENSE) - Requires [Fabric Loader](https://github.com/FabricMC/fabric-loader) 0.15.11 or later, used under [Apache 2.0](https://github.com/FabricMC/fabric-loader/blob/master/LICENSE) - Requires [YACL](https://modrinth.com/mod/yacl) 3.5.0+1.21-fabric or later, used under [LGPL 3.0 or later](https://github.com/isXander/YetAnotherConfigLib/blob/multiversion/dev/LICENSE) - Optionally integrates with [Mod Menu](https://modrinth.com/mod/modmenu) 11.0.2 or later, used under [MIT](https://github.com/TerraformersMC/ModMenu/blob/1.21/LICENSE) ## 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 - There's no NOTICE file - Fabric Loader is used under Apache 2.0 - There's no NOTICE file - 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