I have a huge task to deal with about 2000 long videos. My code is something like:
ctx = mp.get_context("spawn") # It is neccessary to GPU in multi