Create an MP4 video of a web page scrolling at a steady speed

github.com

30 points by shawnzam 9 hours ago


dvh - 3 hours ago

This has to be intentional. I refuse to believe that someone would do this unintentionally. You are literally making video of a website, the app doesn't have any other feature, yet you don't show us the example!? What causes this? It has to be intentional, but why?

Klaster_1 - 3 hours ago

How does this compare to Playwwright? It got a similar feature recently [0]

[0] https://github.com/microsoft/playwright/releases/tag/v1.59.0

andrewstuart - 8 hours ago

You could do this with ffmpeg on a screenshot PNG.

ffmpeg -i screenshot.png -vf \ "crop=iw:1080:0:n*(20000-1080)/600,format=yuv420p" \ -t 10 -r 60 output.mp4

shawnzam - 9 hours ago

[flagged]