Improved the batch file, making the blackdetect more strict.
^ | | A video edited using this program
Introduction So uh this is a tool I coded to automatically edit my modded map playthrough videos. At first, I decided to release this on gamebanana, but in the end, after reviewing my crappy program, I decided to keep it private. However, someone asked me to upload it so I did and so it's here on gamebanana.
Why this program is crap Code is sloppy. Security is questionable (as it rely on batch). Only works on windows. Has a lot of restrictions on file name and file type. Has no GUI (doesn't even have a tkinter window). I've only tested the python scripts on my windows 10, and I haven't used the ctrl+t function, not even once.
Why the restrictions This wasn't intended to be released, and after I decided to release it I'm too lazy to change anything.
License I have no experience in dealing with license stuff. I decided to use a license named MIT because many illegal/hacking programs I've used have this license so I think it will do the job.
Lastly And I hope you can understand what I'm saying. Also if you want to improve this crappy program just go do it.
Instructions Download the zip file. ffmpeg and python are needed. 1. Preparation When you're going to record your gameplay, start the flag maker first
(so that it can receive the ctrl+s input), then open whatever recording
software you're using. Bind ctrl+s as the start recording hotkey (this
step is optional). Input video needs to be in mp4 format. Press ctrl+s to start
both programs (or press ctrl+s and the start recording hotkey in quick
succession to maximize synchronization rate). Start recording before entering the map you're going to record.
2. Recording Press ctrl+f to flag the current second. Press ctrl+t to flag the current second - 5 (5 second before the current second) Press ctrl+e to end the program. End the program after exiting the map. After ending the program, a input.txt file that store all your flags in second should appear.
3. After recording Move your recorded video to the same folder containing the two programs and the batch file. Rename it as input.mp4. Then run the batch file. It should produce a file named output.txt that store all the black screen starts and the black screen ends in second. Finally, run the automated editor file. And output.mkv should be generated which contains all desired segments concatted together that contain your input flags. You can delete other auxiliary files if you want.