Package: kingsquit
kingsquitA dialogue randomiser for videos. Just put in a youtube url - video and subtitles used to determine dialogue regions will be downloaded with youtube-dl.Support for local files, subtitle tracks, and audacity label tracks coming soon - see below.I was listening to thertvs podcastwhen they mentionedan old vinesauce video. I watched that, and it inspired me to make this programinstallationFirst you must have ffmpeg installed!https://ffmpeg.org/download.htmlffmpeg is the command line media editing tool that this program runs on. It's very useful to have anyway as it basically renders all dumb adware video converters obsolete, and allows you to make simple edits without opening an editor. However, you also need it to run this.On Windows you have to download the executable and put it in thekingsquitfolder or add it to your PATH. If you havechocolateyinstalled it's easier because you can just runchoco install ffmpeg.On Linux you can use your package manager e.g.apt-get install ffmpeg.I don't have PythonJust download the .exe executable from thelatest releaseon github. I bundled it with pyinstaller to make the program easy to get.I have Pythonpython -m pip install kingsquitThis project is on PyPi.Alternately, download this repository (e.g.git clone https://github.com/JMcB17/kingsquit/) and install from disk with pip, or install the requirements with pip then run from the downloaded folder.usageJust run the executable file.If you installed with pip or git, just runkingsquitorpython -m kingsquitin your console.Then all you need to do is type or paste a youtube url. After that the program will download and shuffle the video in thekingsquit-videosfolder.Finally, once the program is done downloading and processing, you can watch/upload the resulting video! Or run again on the same video, for a different random result.The program is designed so you can resume from where you were, if you stop after/while downloading. This makes it easy to generate a new randomised video, you just have to re-run the program, not re-download the video. Existing randomised will not be overwritten, it will just make a new one.known bugs, and version infoThis, 0.1.3 is the first bugfix release of the first semi-working version of the program. It doesn't have all the features I'd like it to, but it does have plenty of bugs.I'm releasing it because I want to get something out before continuing to work on it, and it's janky enough to produce some unique funny stuffKnown bugs:It will randomly fail with an ffmpeg error while shuffling clips. I think this is when it tries to make a clip that's too short. (patched temporarily in 0.1.2, it will keep trying until it succeeds)The produced shuffled audio is a bit too short for the video, like 22/25. The audio tends to repeat which is funny, but I think that's what's causing the problem partly. I need to make it accurate in general too.Fixed bugs:0.1.1: Fixed an incompatibility with type hintingcoming soon, hopefullyEdit the marked areas to randomise using an audacity label trackRun on existing local files as well as urlsTry to automatically download subtitlesIf automatically downloading subtitles failed, generate them with speech-to-textdonatebuY mE a COFfeETo donate please DM me on discord JMcB#7918, and we can arrange for you to trade me coins on old school runescape.