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:

react toastify

React-Toastify (2025 update): Setup, styling & real-world use cases

Learn how to use React-Toastify in 2025, from setup to styling and advanced use cases like API notifications, async toasts, and React-Toastify 11 updates.

Chimezie Innocent
Apr 18, 2025 ⋅ 18 min read
5 Best Open Source Tools For Cross-Browser CSS Testing

5 best open source tools for cross-browser CSS testing

Discover open source tools for cross-browser CSS testing like Playwright and BrowserStack to catch rendering errors, inconsistent styling, and more.

Peter Aideloje
Apr 18, 2025 ⋅ 11 min read
react suspense data fetching

How to handle data fetching with React Suspense

With the introduction of React Suspense, handling asynchronous operations like data fetching has become more efficient and declarative.

Ovie Okeh
Apr 18, 2025 ⋅ 10 min read
Use TypeScript Instead Of Python For ETL Pipelines

Use TypeScript instead of Python for ETL pipelines

Build a TypeScript ETL pipeline that extracts, transforms, and loads data using Prisma, node-cron, and modern async/await practices.

Muhammed Ali
Apr 17, 2025 ⋅ 6 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