The pi4 even overclocked isn't a great number cruncher, and I don't think the gpu acceleration has landed yet..
So I might expect it to be on par with that old of a macbook but not beat it by nearly 2x, particularly if the macbook is being accelerated. (despite having 2x the core count) Which makes me think the MBP may be suffering from some serious thermal throttling, which wouldn't be uncommon on machines of that vintage.
I also assume the call line is:
https://github.com/christian-fei/raspberry-pi-time-lapse/blo...
which is noticeably missing the -hwaccel switch, which means its probably not using the GPU on the mac..