Ffmpeg video rotation and center
Use

ffmpeg -i video.mp4 \
       -filter_complex "[0:v]split=4[a][b][c][d]; \
                        [a]pad=iw+2*ih:iw+2*ih:ih:0:white[base]; \
                        [b]transpose=cclock[br]; \
                        [c]transpose=clock[cr]; \
                        [base][br]overlay=0:w[two]; \
                        [two][cr]overlay=W-w:w[three]; \
                        [three][d]overlay=h:H-h[v]" \
-map "[v]" out.mp4


As per your confirmation, I haven't rotated the video at the bottom. In case it had to be rotated 180, use

ffmpeg -i video.mp4 \
       -filter_complex "[0:v]split=4[a][b][c][d]; \
                        [a]pad=iw+2*ih:iw+2*ih:ih:0:white[base]; \
                        [b]transpose=cclock[br]; \
                        [c]transpose=clock[cr]; \
                        [d]hflip,vflip[dr]; \ 
                        [base][br]overlay=0:w[two]; \
                        [two][cr]overlay=W-w:w[three]; \
                        [three][dr]overlay=h:H-h[v]" \
-map "[v]" out.mp4


There will be no audio exported with these commands. To preserve audio, insert -map 0:a -c:a copy