To address the issue of real time conversion, i want to have this task take advantage of multiprocessing
Idea:
get the length of the video and then get the number of cores/ number of available cpu units that the program can use
Then divide up the video into length based on the number of cpu units (ie: 4 units then split the video into 4 chunks)
Find the timestamps in the video based on the number of chunks (ie: 4 chunks, find timestamps 1/4 in, 1/2 in and 3/4 way in, we can then just use the start and end times as well).
Then we can execute the inversion process in subprocesses and feed in the different timestamps to each process, it will go much faster and no need to chop up the video with moviepy
To address the issue of real time conversion, i want to have this task take advantage of multiprocessing
Idea: