ti conviene usare ffmpeg e non python per questo.