Recording performance optimization videos for presentations and demos
tl;dr: Use ScreenToGif, Shotcut, and FFmpeg to record load times of different treatments and show them side by side in one video.
Tools I use:
- ScreenToGif to record the separate treatment and control videos
- Shotcut to cut both videos to be the same length and to align the start moment between them.
- FFmpeg to horizontally stack the videos so that the performance improvements are visible to the naked eye.
ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack -c:v libx264 -vsync 0 stacked.mp4