Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/motion2code/scripts/side_by_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
python3 side_by_side.py source.mp4 anim.mp4 -o sbs.mp4 --left "AI video" --right "Code" --panel-width 640

Landscape sources give a 1940x620 video (two 960x540 panels under an 80 px label band); portrait sources give
1140x1020 (two 540x960 panels). The output lasts as long as the coded animation, so a 15.10 s source is trimmed to
1120x1020 (two 540x960 panels). The output lasts as long as the coded animation, so a 15.10 s source is trimmed to
the animation's 15.00 s. With --html, the right label shows the page size ("Code · SVG + GSAP · 72 KB").
Labels are drawn with Playwright when it is installed (ffmpeg builds often lack drawtext); without it the band is
left empty.
Expand Down