2019-12-09
2038
#node
Maciej Cieślar
10806
Dec 9, 2019 ⋅ 7 min read

Generating video previews with Node.js and FFmpeg

Maciej Cieślar A JavaScript developer and a blogger at mcieslar.com.

Recent posts:

Implementing React Islands In Static Web Applications

Implementing React Islands in static web applications

React Islands integrates React into legacy codebases, enabling modernization without requiring a complete rewrite.

Nelson Michael
Jan 28, 2025 ⋅ 4 min read

Onlook: A React visual editor

Onlook bridges design and development, integrating design tools into IDEs for seamless collaboration and faster workflows.

Jude Miracle
Jan 27, 2025 ⋅ 8 min read
A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 ⋅ 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 ⋅ 7 min read
View all posts

2 Replies to "Generating video previews with Node.js and FFmpeg"

  1. Hello, let me thank you for this great article. I finally managed to use these two commands

    ffmpeg -i video.mp4 -y -vf fps=1/24 thumb%04d.jpg
    ffmpeg -framerate 1/0.6 -i thumb%04d.jpg slideshow.mp4

    Is it please possible to batch more than 1 video using those ?

    Thank you
    Vlad

Leave a Reply