Skip to content

fidelthomet/autoscroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoscroll

setup

you'll need node.js

run

npm install

save images

run

npm run scroll [url] [width] [height] [stepsize] [deviceScaleFactor] [directory]

all parameters but must be in that order. They default to https://github.com, 512, 512, 25, 1, ./output/. stepsize defines how far a page is scrolled between taking screenshots.

convert to video

you'll need ffmpeg.

run

cat output/*.png | ffmpeg -an -f image2pipe -i - -framerate 60 -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3 output.mp4

delete images

run

rm output/*.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published