Create an MP4 video of a web page scrolling at a steady speed
github.com
github.com
People are too lazy to do actual work now in the age of AI.
If the author of this repository was proud of their craft (which they can’t be), they would want to show us “how cool it looks” in an example.
[0] https://github.com/microsoft/playwright/releases/tag/v1.59.0
ffmpeg -i screenshot.png -vf \ "crop=iw:1080:0:n*(20000-1080)/600,format=yuv420p" \ -t 10 -r 60 output.mp4
You can either leave the videos as is (and get more confused customers) or you can spend a lot of hours recording 200 videos again. Or you can run this and get the 200 videos done in the background. Let’s say that your app is changing every month because you are early in your iteration. That is a lot of time saved every month.
`node src/scroll-video.mjs --script examples/wharton-faculty-demo.cue`
If the cue file does not specify out:, the MP4 is written next to the cue file with the same basename.