This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <#================================================================================================================ | |
| Create‑GridVideo.ps1 | |
| -------------------- | |
| • Takes a text file that lists image‑files + X/Y coordinates. | |
| • Swaps the .jpg extension to .mp4 (the video must already exist next to the image). | |
| • Groups the videos by X‑coordinate → one *column* video per X value. | |
| • Each column video is a black canvas (width = final‑width / columns, height = final‑height) | |
| onto which every clip of that column is over‑laid at its Y‑position. | |
| • All column videos are exactly the same length as the source clips (1 s in the example). | |
| • Afterwards the column videos are stacked side‑by‑side (hstack) to produce the final grid. |