It is necessary to create a program that will generate one-hour and three-hour videos from my source materials. The essence of the video is one-hour or three-hour videos of songs, meaning one song is repeated for 1 or 3 hours. A specific 8-second video clip is set as the background, which also repeats along with the song. Additionally, I need to insert one of my songs, which is constant and should always be the penultimate in the one-hour videos and the third from the end in the three-hour videos.
The program should create such videos in batches. That is, in the program I specify:
1. The path to the folder with the source songs
2. The path to the folder with the source 8-second clips for the background
3. The path to the song that needs to be placed as the penultimate (one for all)
4. The path to the saving folder
For this, a simple interface with buttons needs to be created, and some kind of progress bar should be made to know that the program is working and has not frozen. A solution needs to be devised for switching the program from one-hour videos to three-hour videos, I think something like a toggle switch.
Additional info:
The names of the backgrounds for specific songs will be the same as the song itself. I plan to install the created program on a server so that it works 24/7.
Rendering such a video in CapCut takes from 5 to 10 minutes, I would like to have similar time intervals in the end. Quality 1080, 30 fps
I hope I explained it clearly, if not, I can call on Telegram and demonstrate how I do this manually.