I have been looking at my daily (2-5hr) processing of BlackVue videos from the standpoint of power consumption. (I run everything in a motor vehicle)
I see that most of the python video_process code runs (100%) on only one (i7) core, but ffmpeg sub process uses all 8. The actual elapsed time to (ffmpeg) convert 1 minute of video to 123 frames (2FPS) is approximately 1/2 of one video. This means my system runs 100%CPU and disk I/O only for that 1/2 of the time.
I am looking for a method to better utilise the available CPU when not running the ffmpeg part. I have considered two instances (ie divide the mp4 input folder) but I note ffmpeg consumes 1GB or more per video. It may start swapping instead! Is there any tools command sequence that might serve me better or a way for the python code to be spread over all CPU’s?
I would be interested to know if Windows has the same problem.
Any ideas appreciated