⚡ GPU vs CPU runtimes by video processing function

June 19, 2026 · View on GitHub

TASKCPUGPU
Downsample video from 30 to 15 fps208s60s
Convert video to powerpoint accepted format427s178s
Re-encode to mp4288s77s
Re-encode to greyscale252s303s
Print frame count580s80s
Remove first 10s of video294s76s
Cut between 00:00:30 and 00:10:30 of video58s54s
Downsample to 600x400 resolution127s83s
Create 15s GIF20s1s
Multi-split into two 50s clips10s4s
Crop single video134s59s
Horizontally concatenate two videos587s161s
Create 2x2 mosaic concatenation 640x480 tiles1536s503s
  • Using single NVIDEA RTX2080, 54min video recorded at 30fps and 1002x640 resolution.