User Tools

Site Tools


other:ffmpeg-timelapse

FFmpeg Timelapse from Video

# Use every 15th frame
ffmpeg -i in.mp4 -vf select='not(mod(n,15))',setpts=N/FRAME_RATE/TB out.mp4

Sources:
https://www.rickmakes.com/ffmpeg-timelapse-from-video-speed-up-vs-every-n-th-frame/
https://stackoverflow.com/a/41902455/6325767

/var/www/dokuwiki/data/pages/other/ffmpeg-timelapse.txt · Last modified: 2021-06-06 14:40 by wiki@tomr.me