TheNyJan: thank you for this program!
I needed exactly this, but in seconds instead of minutes. Somehow, I had to put 61 seconds instead of 1 minute to make it work. I decompiled your app and modified it to work in seconds. I wanted to know if you would let me post the modified source code to my Github so others can modify it/improve it. I would link to this thread and specify you're the author, of course.