mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Bambuddy Demo Video Recorder
Automated demo video recording using Playwright.
Setup
cd demo-video
npm install
npm run install-browsers
Recording
Record with visible browser (recommended for debugging)
npm run record
Record headless (faster, no window)
npm run record:headless
Custom URL
DEMO_URL=https://your-bambuddy.example.com npm run record
Output
Videos are saved to output/ as .webm files.
Convert to MP4
ffmpeg -i output/video.webm -c:v libx264 -crf 23 demo.mp4
Convert with better quality
ffmpeg -i output/video.webm -c:v libx264 -crf 18 -preset slow demo.mp4
Customization
Edit record-demo.ts to:
- Adjust timing (TIMING constants)
- Add/remove page demonstrations
- Customize interactions per page
- Change viewport resolution (CONFIG)