logoalt Hacker News

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

30 pointsby shawnzamtoday at 2:26 AM12 commentsview on HN

Comments

dvhtoday at 7:52 AM

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?

show 1 reply
Klaster_1today at 8:05 AM

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

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

andrewstuarttoday at 3:09 AM

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

show 1 reply
shawnzamtoday at 2:26 AM

[flagged]